[med-svn] [python-avro] 01/03: Fix building with dpkg -A

Afif Elghraoui afif-guest at moszumanska.debian.org
Sun Feb 7 23:40:27 UTC 2016


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

afif-guest pushed a commit to branch master
in repository python-avro.

commit 8781883cb09888c2798cb4ff5790180a6e926b3a
Author: Afif Elghraoui <afif at ghraoui.name>
Date:   Sun Feb 7 15:32:03 2016 -0800

    Fix building with dpkg -A
    
    When using dpkg -A as done on arch-all buildd's, the python3
    package ends up being empty. This patch fixes that so we
    can rely on source-only uploads to be built properly.
---
 debian/rules | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/debian/rules b/debian/rules
index 27c9315..b3bbee5 100755
--- a/debian/rules
+++ b/debian/rules
@@ -25,13 +25,13 @@ clean: py2dir=$(py2srcdir)
 		--with python2                  \
 		--buildsystem=pybuild           \
 		--sourcedirectory=$(py2dir)     \
-		--package=python-avro
+		--no-package=python3-avro
 	PYBUILD_DISABLE_python2=1               \
 	dh $@                                   \
 		--with python3                  \
 		--buildsystem=pybuild           \
 		--sourcedirectory=lang/py3      \
-		--package=python3-avro
+		--no-package=python-avro
 
 # This is necessary because there's no "dh configure" to allow us
 # to simply set a target-specific variable like was done for "clean"

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/debian-med/python-avro.git



More information about the debian-med-commit mailing list