[pkg] fix Debian package dependencies debian/0.33.1-2
authorJulien Cristau <julien.cristau@logilab.fr>
Fri, 17 Jul 2015 16:43:09 +0200
changeset 772 d5be0ab6712c
parent 771 960aeb0d0d56
child 773 74252f795c5d
[pkg] fix Debian package dependencies Fix regression introduced by switch to dh_python2: it reads our egg-info/requires.txt to try and guess package dependencies. This generates a broken dependency on nonexistent "python-yapps" (instead of yapps2-runtime) and an unnecessary one on python-logilab-constraint (we use gecode).
debian/changelog
debian/rules
--- a/debian/changelog	Wed Jul 15 12:16:08 2015 +0200
+++ b/debian/changelog	Fri Jul 17 16:43:09 2015 +0200
@@ -1,3 +1,9 @@
+rql (0.33.1-2) unstable; urgency=medium
+
+  * Fix binary package dependencies.
+
+ -- Julien Cristau <julien.cristau@logilab.fr>  Fri, 17 Jul 2015 15:10:54 +0200
+
 rql (0.33.1-1) unstable; urgency=medium
 
   * new upstream release
--- a/debian/rules	Wed Jul 15 12:16:08 2015 +0200
+++ b/debian/rules	Fri Jul 17 16:43:09 2015 +0200
@@ -12,3 +12,8 @@
 override_dh_auto_clean:
 	dh_auto_clean
 	$(MAKE) -C doc clean
+
+# prevent dh_python2 from generating bogus deps on python-yapps (nonexistent)
+# or python-logilab-constraint (unnecessary with gecode)
+override_dh_python2:
+	dh_python2 --no-guessing-deps