[Cdd-commits] r1332 - in blends/trunk/blends: debian devtools

CDD Subversion Commit noreply at alioth.debian.org
Fri Jan 30 18:33:59 UTC 2009


Author: tille
Date: Fri Jan 30 18:33:59 2009
New Revision: 1332

Modified:
   blends/trunk/blends/debian/changelog
   blends/trunk/blends/devtools/blend-install-helper
Log:
More elegant method to obtain changelog version


Modified: blends/trunk/blends/debian/changelog
==============================================================================
--- blends/trunk/blends/debian/changelog	(original)
+++ blends/trunk/blends/debian/changelog	Fri Jan 30 18:33:59 2009
@@ -6,8 +6,9 @@
     templates/post{inst,rm} because lintian warns about it in the
     Blend metapackages according to Debian Policy Manual section
     6.1.
+  * more elegant method to obtain package version from changelog
 
- -- Andreas Tille <tille at debian.org>  Tue, 06 Jan 2009 12:21:30 +0100
+ -- Andreas Tille <tille at debian.org>  Fri, 30 Jan 2009 19:30:53 +0100
 
 blends (0.6.0) experimental; urgency=low
 

Modified: blends/trunk/blends/devtools/blend-install-helper
==============================================================================
--- blends/trunk/blends/devtools/blend-install-helper	(original)
+++ blends/trunk/blends/devtools/blend-install-helper	Fri Jan 30 18:33:59 2009
@@ -11,7 +11,8 @@
 }
 
 # Make dependency from menu containing packages to the right #BLEND#-config version
-version="(>= `dpkg-parsechangelog | grep "^Version:" | sed -e "s/^Version:[[:space:]]\+\([\.0-9]*\)[[:space:]]*/\1/"`)"
+# version="(>= `dpkg-parsechangelog | grep "^Version:" | sed -e "s/^Version:[[:space:]]\+\([\.0-9]*\)[[:space:]]*/\1/"`)"
+version="(>= `dpkg-parsechangelog | awk '/^Version/ { print $2 }'`)"
 
 # General Task registry, menu registration and post{inst,rm} preparation
 for pkg in `ls tasks | grep -v "^[a-z]*:$*" | grep -v "^$" | sort | uniq` ; do



More information about the Cdd-commits mailing list