[Pkg-samba-maint] [Git][samba-team/samba][master] add more dh magic: replace dh --with with Build-Depends: dh-sequence

Michael Tokarev (@mjt) gitlab at salsa.debian.org
Wed Apr 6 15:30:31 BST 2022



Michael Tokarev pushed to branch master at Debian Samba Team / samba


Commits:
f7852bc9 by Michael Tokarev at 2022-04-06T17:28:04+03:00
add more dh magic: replace dh --with with Build-Depends: dh-sequence

replace
 dh --with python
with
 Build-Depends-Arch: dh-sequence-python3
(it is only needed on arch-any builds).
This eliminates warning/error from dh_python3 -i (there's no
python3 packages to act on).

- - - - -


2 changed files:

- debian/control
- debian/rules


Changes:

=====================================
debian/control
=====================================
@@ -70,6 +70,7 @@ Build-Depends: bison,
                xfslibs-dev [linux-any],
                xsltproc,
                zlib1g-dev (>= 1:1.2.3)
+Build-Depends-Arch: dh-sequence-python3
 Build-Conflicts: libtracker-miner-2.0-dev,
                  libtracker-sparql-2.0-dev
 Rules-Requires-Root: binary-targets


=====================================
debian/rules
=====================================
@@ -115,7 +115,7 @@ build_packages := $(shell dh_listpackages)
 
 binary binary-arch binary-indep build build-arch build-indep \
 clean install install-arch install-indep: %:
-	dh $* --with python3
+	dh $*
 
 override_dh_auto_configure configure: bin/configured.stamp
 .PHONY: configure



View it on GitLab: https://salsa.debian.org/samba-team/samba/-/commit/f7852bc9528a82f6870c2c5f6fcadd332c33019b

-- 
View it on GitLab: https://salsa.debian.org/samba-team/samba/-/commit/f7852bc9528a82f6870c2c5f6fcadd332c33019b
You're receiving this email because of your account on salsa.debian.org.


-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://alioth-lists.debian.net/pipermail/pkg-samba-maint/attachments/20220406/0742d2c7/attachment.htm>


More information about the Pkg-samba-maint mailing list