[Reproducible-commits] [diffoscope] 01/04: Add git-buildpackage configuration in hope it helps to get proper source tarball
Jérémy Bobbio
lunar at moszumanska.debian.org
Sat Nov 14 13:45:30 UTC 2015
This is an automated email from the git hooks/post-receive script.
lunar pushed a commit to branch master
in repository diffoscope.
commit 4c26e67e5eacc363aa91bc0892544b5e26c7a9ce
Author: Jérémy Bobbio <lunar at debian.org>
Date: Sat Nov 14 12:35:12 2015 +0100
Add git-buildpackage configuration in hope it helps to get proper source tarball
git-buildpackage has 'debuild -i -I' as its default builder. This is bad for diffoscope
as we don't want the default file ignore rules as they remove .o and .a files.
We need both kind for the test suite. If they don't get included, the package will
fail to build.
So let's specify just 'debuild' as the default builder in the hope that it will prevent
future mistake.
When #765494 is implemented in dpkg, we will be able to add a sanity check in
the form of a hook for dpkg-buildpackage. But this does not exist yet.
---
debian/gbp.conf | 4 ++++
1 file changed, 4 insertions(+)
diff --git a/debian/gbp.conf b/debian/gbp.conf
new file mode 100644
index 0000000..5c91747
--- /dev/null
+++ b/debian/gbp.conf
@@ -0,0 +1,4 @@
+[DEFAULT]
+# We override the default builder because we don't want '-i -I': we want to
+# get the .a and .o files that are part of the test suite included.
+builder = debuild
--
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/reproducible/diffoscope.git
More information about the Reproducible-commits
mailing list