[Reproducible-commits] [debbindiff] 01/03: Fix Recommends substitution

Jérémy Bobbio lunar at moszumanska.debian.org
Fri Mar 20 12:56:50 UTC 2015


This is an automated email from the git hooks/post-receive script.

lunar pushed a commit to branch master
in repository debbindiff.

commit c18799912a8af8e8833f342a74c6600c4bf839b4
Author: Jérémy Bobbio <lunar at debian.org>
Date:   Fri Mar 20 13:06:26 2015 +0100

    Fix Recommends substitution
---
 debian/rules | 6 +++++-
 1 file changed, 5 insertions(+), 1 deletion(-)

diff --git a/debian/rules b/debian/rules
index ac7b730..f559dd7 100755
--- a/debian/rules
+++ b/debian/rules
@@ -7,7 +7,11 @@ VERSION = $(shell dpkg-parsechangelog --show-field Version)
 
 override_dh_auto_build:
 	dh_auto_build -O--buildsystem=python_distutils
-	echo "debbindiff:Recommends=$$(./debbindiff.py --list-tools | tail -n 1)" >> debian/substvars
+
+override_dh_gencontrol:
+	echo "debbindiff:Recommends=$$(./debbindiff.py --list-tools | tail -n 1 | \
+		sed -e 's/ \(coreutils\|e2fsprogs\|gzip\), / /g')" >> debian/debbindiff.substvars
+	dh_gencontrol -O--buildsystem=python_distutils
 
 override_dh_install:
 	mv debian/debbindiff/usr/bin/debbindiff.py debian/debbindiff/usr/bin/debbindiff

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/reproducible/debbindiff.git



More information about the Reproducible-commits mailing list