Source: gobi-loader Version: 0.6-1 Severity: normal Tags: patch User: helm...@debian.org Usertags: dep17m2
Dear Maintainer, your package installs files related to udev, into /lib/udev. These files need to be moved to /usr/lib as part of Debian's usr-merge effort. Attached you will find a patch to delegate the exact placement of the udev files to udev.pc (using pkg-config). This should work today in unstable and, if necessary, for bookworm. Once udev.pc in unstable points to /usr/lib your package will benefit automatically after a binNMU or any other upload. Later during the trixie cycle I expect this bug class to raise in priority. Thank you for considering, Chris
diff -u gobi-loader-0.6/debian/control gobi-loader-0.6/debian/control --- gobi-loader-0.6/debian/control +++ gobi-loader-0.6/debian/control @@ -2,7 +2,7 @@ Section: contrib/admin Priority: extra Maintainer: Mark Hymers <m...@debian.org> -Build-Depends: debhelper (>= 7.0.50~) +Build-Depends: debhelper (>= 7.0.50~), pkgconf, systemd-dev Standards-Version: 3.8.4 Homepage: http://www.codon.org.uk/~mjg59/gobi_loader/ Vcs-Git: git://git.debian.org/users/mhy/gobi-loader.git diff -u gobi-loader-0.6/debian/rules gobi-loader-0.6/debian/rules --- gobi-loader-0.6/debian/rules +++ gobi-loader-0.6/debian/rules @@ -10,14 +10,15 @@ #export DH_VERBOSE=1 PKGDIR=$(CURDIR)/debian/gobi-loader +UDEVDIR=$(shell pkg-config --variable=udevdir udev) %: dh $@ override_dh_auto_install: - mkdir -p $(PKGDIR)/lib/udev - install -m0755 gobi_loader $(PKGDIR)/lib/udev/gobi_loader - sed s@gobi_loader@/lib/udev/gobi_loader@ 60-gobi.rules > debian/gobi-loader.udev + mkdir -p $(PKGDIR)$(UDEVDIR) + install -m0755 gobi_loader $(PKGDIR)$(UDEVDIR)/gobi_loader + sed s@gobi_loader@$(UDEVDIR)/gobi_loader@ 60-gobi.rules > debian/gobi-loader.udev override_dh_auto_clean: make clean diff -u gobi-loader-0.6/debian/changelog gobi-loader-0.6/debian/changelog --- gobi-loader-0.6/debian/changelog +++ gobi-loader-0.6/debian/changelog @@ -1,3 +1,10 @@ +gobi-loader (0.6-1.1) UNRELEASED; urgency=medium + + * Non-maintainer upload. + * Delegate placement of udev files to udev.pc's udevdir. + + -- Chris Hofstaedtler <z...@debian.org> Thu, 07 Dec 2023 22:01:08 +0100 + gobi-loader (0.6-1) unstable; urgency=low * Initial release (Closes: #585567).