Hi Pranav, I've `git am`-ed your patch. If you confirm that the debdiff between the current package and your build is fine I would suggest to Bastian to upload the package.
Thank you for your work Andreas. Am Thu, Mar 26, 2026 at 05:51:24PM +0000 schrieb Pranav P: > Hi Andreas, > > In that case we will face the following error because of an unhandled target: > > dh install-sysconfig-hardware-common > dh: error: Unknown sequence install-sysconfig-hardware-common (choose from: > binary binary-arch binary-indep build build-arch build-indep clean install > install-arch install-indep) > make[2]: *** [debian/rules:9: install-sysconfig-hardware-common] Error 25 > make[2]: Leaving directory '/home/pranav/salsa/PR/sysconfig' > make[1]: *** [debian/rules:12: override_dh_auto_install] Error 2 > make[1]: Leaving directory '/home/pranav/salsa/PR/sysconfig' > make: *** [debian/rules:9: binary] Error 2 > dpkg-buildpackage: error: debian/rules binary subprocess returned exit status > 2 > debuild: fatal error at line 1185: > dpkg-buildpackage -us -uc -ui -i -I failed > gbp:error: 'debuild -i -I -us -us -ui' failed: it exited with 29 > > > I have made some changes to facilitate for this and also have tested building > from this. > Can you please verify and push the same if everything is correct. > > Please feel free to make suggestions. > > Thanks, > Pranav > From 553c9bdb88ad26a6ad996d69669d0a3dc39e5da1 Mon Sep 17 00:00:00 2001 > From: Pranav P <[email protected]> > Date: Wed, 25 Mar 2026 16:47:19 +0530 > Subject: [PATCH 1/1] convert d/rules to short dh > > --- > debian/changelog | 3 +-- > debian/rules | 37 ++++--------------------------------- > 2 files changed, 5 insertions(+), 35 deletions(-) > > diff --git a/debian/changelog b/debian/changelog > index 981a2bd..7c8f4ca 100644 > --- a/debian/changelog > +++ b/debian/changelog > @@ -8,8 +8,7 @@ sysconfig (0.0.16) UNRELEASED; urgency=medium > * Standards-Version: 4.7.3 (Removed Priority field) > > [ Pranav P ] > - * d/rules: Replace deprecated dh_clean -k with dh_prep > - * d/rules: Use -a instead of deprecated -s flag for debhelper commands > + * Convert d/rules to short dh > > -- Andreas Tille <[email protected]> Tue, 24 Mar 2026 11:19:58 +0100 > > diff --git a/debian/rules b/debian/rules > index c31f2cd..13ba306 100755 > --- a/debian/rules > +++ b/debian/rules > @@ -5,20 +5,10 @@ > > DEB_HOST_ARCH ?= $(shell dpkg-architecture -qDEB_HOST_ARCH) > > -build: > -build-arch: > -build-indep: > - > -clean: > - dh_testdir > - dh_clean > - > -install: > - dh_testdir > - dh_testroot > - dh_prep > - dh_installdirs > +%: > + dh $@ > > +override_dh_auto_install: > $(MAKE) -f debian/rules install-sysconfig-hardware-arch-$(DEB_HOST_ARCH) > > install-sysconfig-hardware-%: export DH_OPTIONS = -psysconfig-hardware > @@ -39,23 +29,4 @@ install-sysconfig-hardware-common: > dh_installman man/hw*.8 > dh_install sbin/hw* usr/sbin > > -binary-indep: install > - > -binary-arch: install > - dh_testdir > - dh_testroot > - dh_installchangelogs -a > - dh_installdocs -a > - dh_installexamples -a > - dh_installman -a > - dh_link -a > - dh_strip -a > - dh_compress -a > - dh_fixperms -a > - dh_installdeb -a > - dh_gencontrol -a > - dh_md5sums -a > - dh_builddeb -a > - > -binary: binary-arch binary-indep > -.PHONY: build build-arch build-indep clean binary-indep binary-arch binary > install > +override_dh_auto_configure override_dh_auto_build override_dh_auto_test: > -- > 2.51.0 > -- https://fam-tille.de

