tags 623578 + patch
thanks
On Fri, May 25, 2012 at 03:03:27AM +0200, Samuel Thibault wrote:
> Why setting that particular version and not let it use the changelog
> version?
Yes, adding epoch to changelog would add it to all packages and probably would
be the cleanest way.
Otherwise, I attached a patch to make it binNMU-safe.
Shouldn't it be possible passing binary:Version to dh_gencontrol?
[...]
dh_gencontrol -a -- -v'1:${binary:Version}'
dpkg-gencontrol: error: package python-kjbuckets: too many substitutions -
recursive ? - in
`python-kjbuckets_1:1:1:1:1:1:1:1:1:1:1:1:1:1:1:1:1:1:1:1:1:1:1:1:1:1:1:1:1:1:1:1:1:1:1:1:1:1:1:1:1:1:1:1:1:1:1:1:1:1:${binary:Version}_amd64.deb
python optional
[...]
Maintainer, thanks for considering.
diff -ur gadfly/debian/changelog gadfly.new/debian/changelog
--- gadfly/debian/changelog 2012-05-30 01:27:27.000000000 +0000
+++ gadfly.new/debian/changelog 2012-05-30 02:37:11.000000000 +0000
@@ -1,3 +1,10 @@
+gadfly (1.0.0-15.1) UNRELEASED; urgency=low
+
+ * Non-maintainer upload.
+ * Make python-kjbuckets binNMU-safe (Closes: #623578).
+
+ -- Gabriele Giacone <[email protected]> Wed, 30 May 2012 02:35:19 +0000
+
gadfly (1.0.0-15) unstable; urgency=low
* Build using dh_python2 instead of dh_pycentral. Closes: #616818.
diff -ur gadfly/debian/rules gadfly.new/debian/rules
--- gadfly/debian/rules 2012-05-30 02:26:03.000000000 +0000
+++ gadfly.new/debian/rules 2012-05-30 02:37:41.000000000 +0000
@@ -7,8 +7,6 @@
DEFAULT_PYTHON = python$(VER)
-kjb_version=1:$${source:Version}
-
include /usr/share/python/python.mk
build: build-indep build-arch
@@ -105,7 +103,8 @@
dh_python2 -a
dh_installdeb -a
dh_shlibdeps -a
- dh_gencontrol -a -- -v'$(kjb_version)'
+ dh_gencontrol -a
+ sed -i 's/\(^Version: \)/\11:/' debian/python-kjbuckets/DEBIAN/control
dh_md5sums -a
dh_builddeb -a