[med-svn] r12145 - trunk/packages/mriconvert/trunk/debian
Andreas Tille
tille at alioth.debian.org
Tue Aug 28 12:58:19 UTC 2012
Author: tille
Date: 2012-08-28 12:58:19 +0000 (Tue, 28 Aug 2012)
New Revision: 12145
Modified:
trunk/packages/mriconvert/trunk/debian/changelog
trunk/packages/mriconvert/trunk/debian/rules
Log:
Why not detecting upstream version automatically if this could save us from editing debian/rules?
Modified: trunk/packages/mriconvert/trunk/debian/changelog
===================================================================
--- trunk/packages/mriconvert/trunk/debian/changelog 2012-08-28 12:55:51 UTC (rev 12144)
+++ trunk/packages/mriconvert/trunk/debian/changelog 2012-08-28 12:58:19 UTC (rev 12145)
@@ -9,6 +9,7 @@
- Add Files-Excluded to document what was removed from original source
* There is no point in mentioning quilt explicitly since source format
3 (quilt) is used
+ * debian/rules: Detect upstream version automatically
-- Andreas Tille <tille at debian.org> Tue, 28 Aug 2012 14:47:57 +0200
Modified: trunk/packages/mriconvert/trunk/debian/rules
===================================================================
--- trunk/packages/mriconvert/trunk/debian/rules 2012-08-28 12:55:51 UTC (rev 12144)
+++ trunk/packages/mriconvert/trunk/debian/rules 2012-08-28 12:58:19 UTC (rev 12145)
@@ -3,9 +3,9 @@
DPKG_EXPORT_BUILDFLAGS = 1
-include /usr/share/dpkg/buildflags.mk
-VERSION = 2.0.235
+#VERSION = 2.0.235
+VERSION := $(shell dpkg-parsechangelog | grep Version | cut -d\ -f2 | cut -d- -f1)
-
%:
dh $@ --parallel
More information about the debian-med-commit
mailing list