[med-svn] r21188 - trunk/packages/neobio/trunk/debian

Andreas Tille tille at moszumanska.debian.org
Thu Jan 14 10:37:14 UTC 2016


Author: tille
Date: 2016-01-14 10:37:14 +0000 (Thu, 14 Jan 2016)
New Revision: 21188

Modified:
   trunk/packages/neobio/trunk/debian/changelog
   trunk/packages/neobio/trunk/debian/rules
Log:
Fix estimation of version number


Modified: trunk/packages/neobio/trunk/debian/changelog
===================================================================
--- trunk/packages/neobio/trunk/debian/changelog	2016-01-14 08:56:59 UTC (rev 21187)
+++ trunk/packages/neobio/trunk/debian/changelog	2016-01-14 10:37:14 UTC (rev 21188)
@@ -7,6 +7,7 @@
   * mention removed files in Files-Excluded
   * Add fake watch file to document that there are no versioned downloads
   * Remove menu file since there is a desktop file
+  * d/rules: Fix estimation of version number
 
  -- Andreas Tille <tille at debian.org>  Thu, 14 Jan 2016 09:43:15 +0100
 

Modified: trunk/packages/neobio/trunk/debian/rules
===================================================================
--- trunk/packages/neobio/trunk/debian/rules	2016-01-14 08:56:59 UTC (rev 21187)
+++ trunk/packages/neobio/trunk/debian/rules	2016-01-14 10:37:14 UTC (rev 21188)
@@ -4,7 +4,8 @@
 # Uncomment this to turn on verbose mode.
 #export DH_VERBOSE=1
 
-VERSION  := $(shell dpkg-parsechangelog | grep '^Version:' | sed 's/^Version: \(.*\)-1/\1/')
+DEBVERS        := $(shell dpkg-parsechangelog | awk '/^Version:/ {print $$2}')
+VERSION        := $(shell echo '$(DEBVERS)' | sed -e 's/^[0-9]*://' -e 's/-.*//')
 
 %:	
 	dh $@ --with javahelper




More information about the debian-med-commit mailing list