[Lsb-messages] /var/www/bzr/lsb/devel/vsw4-test r178: fix up version stuff again (bug 3599)

Mats Wichmann mats at linuxfoundation.org
Sat Apr 19 13:31:55 UTC 2014


------------------------------------------------------------
revno: 178
committer: Mats Wichmann <mats at linuxfoundation.org>
branch nick: vsw4-test
timestamp: Sat 2014-04-19 07:31:55 -0600
message:
  fix up version stuff again (bug 3599)
modified:
  scripts/package/Makefile
-------------- next part --------------
=== modified file 'scripts/package/Makefile'
--- a/scripts/package/Makefile	2011-03-24 22:17:16 +0000
+++ b/scripts/package/Makefile	2014-04-19 13:31:55 +0000
@@ -2,7 +2,7 @@
 # XXX a specfile from this info, but not yet: for now keep in sync
 PACKAGE=lsb-test-vsw4
 VERSION=3.95.0
-RELEASE=1
+BUILDNO=2
 #
 # Derive date string for daily snapshots
 ISO_DATE=$(shell date +"%Y%m%d")
@@ -19,12 +19,12 @@
 # Handle different version generation for snapshots than for official builds
 # OFFICIAL_RELEASE should be set to the tag to extract from CVS
 ifdef OFFICIAL_RELEASE
-VERSION_SUFFIX=
 # EXPORT_TAG should be set to the cvs tag to use
 EXPORT_TAG=--revision=otag:$(OFFICIAL_RELEASE)
+RELEASE=$(BUILDNO)
 else
-VERSION_SUFFIX=.$(ISO_DATE)
 EXPORT_TAG=
+RELEASE=0.$(ISO_DATE).$(BUILDNO)
 endif
 
 # Determine whether to use rpm or rpmbuild to build the packages



More information about the lsb-messages mailing list