gnash-commit
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Gnash-commit] /srv/bzr/gnash/trunk r11918: change how the version gets


From: Rob Savoye
Subject: [Gnash-commit] /srv/bzr/gnash/trunk r11918: change how the version gets created to avoid problems.
Date: Sun, 07 Feb 2010 16:26:43 -0700
User-agent: Bazaar (2.0.2)

------------------------------------------------------------
revno: 11918
committer: Rob Savoye <address@hidden>
branch nick: trunk
timestamp: Sun 2010-02-07 16:26:43 -0700
message:
  change how the version gets created to avoid problems.
modified:
  packaging/rpm.am
=== modified file 'packaging/rpm.am'
--- a/packaging/rpm.am  2010-01-29 20:42:02 +0000
+++ b/packaging/rpm.am  2010-02-07 23:26:43 +0000
@@ -25,8 +25,11 @@
 RPMBUILD_FLAGS = # --clean --rmsource --rmspec
 
 gnash.spec spec: $(srcdir)/packaging/redhat/gnash.spec
-       @echo "Editing the version in the spec file ..."
-       sed -e "s/Version.*/Version:    $(BRANCH_NICK)$(BRANCH_REVNO)/" 
$(srcdir)/packaging/redhat/gnash.spec > gnash.spec;
+       @nick=$(BRANCH_NICK); \
+       revno=$(BRANCH_REVNO); \
+       version=$${nick}$${revno}; \
+       echo "Editing the version in the spec file to be $${version}..."; \
+       sed -e "s/Version.*/Version:    $${version}/" 
$(srcdir)/packaging/redhat/gnash.spec > gnash.spec;
 
 # Build an Redhat/Fedora .rpm package
 # We do this by using the source snapshot that we know is 'distclean'.


reply via email to

[Prev in Thread] Current Thread [Next in Thread]