[Python-modules-commits] r10615 - in packages/pyqwt5/trunk/debian (rules)

gudjon-guest at users.alioth.debian.org gudjon-guest at users.alioth.debian.org
Sat Nov 28 11:54:01 UTC 2009


    Date: Saturday, November 28, 2009 @ 11:54:00
  Author: gudjon-guest
Revision: 10615

Minor changes. Check version of libqwt-qt3 and qt4

Modified:
  packages/pyqwt5/trunk/debian/rules

Modified: packages/pyqwt5/trunk/debian/rules
===================================================================
--- packages/pyqwt5/trunk/debian/rules	2009-11-27 21:54:53 UTC (rev 10614)
+++ packages/pyqwt5/trunk/debian/rules	2009-11-28 11:54:00 UTC (rev 10615)
@@ -10,7 +10,7 @@
 QTS=3 4
 
 py_qt_version = $(shell dpkg -s python-qt$(strip $(1)) | grep '^Version' | sed 's,Version: \(.*\)-[^-]*$$,\1,')
-libqwt5_version = $(shell dpkg -s libqwt5-qt4 | grep '^Version' | sed 's,Version: \(.*\)-[^-]*$$,\1,')
+libqwt5_version = $(shell dpkg -s libqwt5-qt$(strip $(1)) | grep '^Version' | sed 's,Version: \(.*\)-[^-]*$$,\1,')
 
 #DEB_UPSTREAM_VERSION=$(shell dpkg-parsechangelog | sed -rne 's,^Version: ([^-]+)\+dfsg.*,\1,p')
 DEB_UPSTREAM_VERSION=5.2.0
@@ -112,9 +112,9 @@
 	dh_compress -a --exclude=.py --exclude=.resX
 	dh_pysupport -a
 	echo 'pythonqt3:Depends=python-qt3 (>= $(call py_qt_version, 3))' >> debian/python-qwt5-qt3.substvars
-	echo 'libqwt5qt3:Depends=libqwt5-qt3 (>= $(call libqwt5_version))' >> debian/python-qwt5-qt3.substvars
+	echo 'libqwt5qt3:Depends=libqwt5-qt3 (>= $(call libqwt5_version, 3))' >> debian/python-qwt5-qt3.substvars
 	echo 'pythonqt4:Depends=python-qt4 (>= $(call py_qt_version, 4))' >> debian/python-qwt5-qt4.substvars
-	echo 'libqwt5qt4:Depends=libqwt5-qt4 (>= $(call libqwt5_version))' >> debian/python-qwt5-qt4.substvars
+	echo 'libqwt5qt4:Depends=libqwt5-qt4 (>= $(call libqwt5_version, 4))' >> debian/python-qwt5-qt4.substvars
 	dh_fixperms -a
 	dh_installdeb -a
 	dh_shlibdeps -a




More information about the Python-modules-commits mailing list