[Pkg-virtualbox-commits] r309 - trunk/debian
lool at alioth.debian.org
lool at alioth.debian.org
Tue Jul 1 15:32:46 UTC 2008
Author: lool
Date: 2008-07-01 15:32:45 +0000 (Tue, 01 Jul 2008)
New Revision: 309
Modified:
trunk/debian/changelog
trunk/debian/rules
Log:
Cleanup upstreamversion computation and compute it only once.
Modified: trunk/debian/changelog
===================================================================
--- trunk/debian/changelog 2008-07-01 15:31:51 UTC (rev 308)
+++ trunk/debian/changelog 2008-07-01 15:32:45 UTC (rev 309)
@@ -26,6 +26,7 @@
* Build virtualbox-ose, virtualbox-ose-dbg, and virtualbox-ose-guest-utils
for lpia.
* Wrap uploaders, bdeps, and deps on multiple lines to get cleaner diffs.
+ * Cleanup upstreamversion computation and compute it only once.
-- Michael Meskes <meskes at debian.org> Tue, 17 Jun 2008 14:52:36 +0200
Modified: trunk/debian/rules
===================================================================
--- trunk/debian/rules 2008-07-01 15:31:51 UTC (rev 308)
+++ trunk/debian/rules 2008-07-01 15:32:45 UTC (rev 309)
@@ -18,7 +18,7 @@
MAKE:=kmk
-upstreamversion=$(shell dpkg-parsechangelog | grep Version | cut -d" " -f2 | cut -d"-" -f1)
+upstreamversion := $(shell dpkg-parsechangelog | sed -n 's/^Version: *\([^-]\+\)-.\+/\1/p')
# Generate README.Debian as text/html ...
debian/README.Debian.html: debian/virtualbox-ose.README.Debian.xml
More information about the Pkg-virtualbox-commits
mailing list