[Python-modules-commits] r8247 - in packages/pyqwt3d/trunk/debian (rules)

bzed at users.alioth.debian.org bzed at users.alioth.debian.org
Mon Apr 13 11:00:35 UTC 2009


    Date: Monday, April 13, 2009 @ 11:00:33
  Author: bzed
Revision: 8247

strip qt version before using it.

Modified:
  packages/pyqwt3d/trunk/debian/rules

Modified: packages/pyqwt3d/trunk/debian/rules
===================================================================
--- packages/pyqwt3d/trunk/debian/rules	2009-04-13 10:48:04 UTC (rev 8246)
+++ packages/pyqwt3d/trunk/debian/rules	2009-04-13 11:00:33 UTC (rev 8247)
@@ -10,7 +10,7 @@
 CURDIR  := $(shell pwd)
 QTS=3 4
 
-py_qt_version = $(shell dpkg -s python-qt$(1)-gl | grep '^Version' | sed 's,Version: \(.*\)-[^-]*$$,\1,')
+py_qt_version = $(shell dpkg -s python-qt$(strip $(1))-gl | grep '^Version' | sed 's,Version: \(.*\)-[^-]*$$,\1,')
 
 DEB_UPSTREAM_VERSION=$(shell dpkg-parsechangelog | sed -rne 's,^Version: ([^-]+).*,\1,p')
 CFLAGS = -Wall -g




More information about the Python-modules-commits mailing list