Package: qemu-system Severity: minor Tags: patch X-Debbugs-Cc: neel...@gmail.com
Hi, Providing itself seems useless as it only adds complexity to the package relationship graph with no added value. This would be easily fixed with the following patch: ``` --- debian/rules~orig 2024-02-05 19:44:03.297707965 +0100 +++ debian/rules 2024-02-05 19:49:41.658434785 +0100 @@ -185,7 +185,7 @@ dh_link -p $1 usr/share/man/man1/$3.1 usr/share/man/man1/kvm.1 ) echo 'qemu:Provides=$(if $3,qemu-kvm (=${DEB_VERSION})${comma})\ - $(patsubst %,qemu-system-% (=${DEB_VERSION})${comma}, any $2 $(foreach q,$2,${system-alias-$q}))' \ + $(filter-out $1,$(patsubst %,qemu-system-% (=${DEB_VERSION})${comma}, any $2 $(foreach q,$2,${system-alias-$q})))' \ | tr _ - >> debian/$1.substvars # construct list `arch1 arch2 (alias) arch3..' for Description # and word-wrap it into two lines if too long ``` If I'm missing something, please disregard this report and close the bug. Thank you. Have a nice day, --nX -- System Information: Debian Release: trixie/sid APT prefers testing APT policy: (500, 'testing'), (1, 'experimental') Architecture: amd64 (x86_64) Kernel: Linux 6.6.8-rt-amd64 (SMP w/8 CPU threads; PREEMPT) Kernel taint flags: TAINT_FORCED_MODULE, TAINT_OOT_MODULE, TAINT_UNSIGNED_MODULE Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8), LANGUAGE not set Shell: /bin/sh linked to /usr/bin/dash Init: systemd (via /run/systemd/system) LSM: AppArmor: enabled Versions of packages qemu-system depends on: ii qemu-system-arm [qemu-system-arm] 1:8.2.1+ds-1 pn qemu-system-mips <none> pn qemu-system-misc <none> pn qemu-system-ppc <none> pn qemu-system-sparc <none> ii qemu-system-x86 1:8.2.1+ds-1 qemu-system recommends no packages. qemu-system suggests no packages.
--- debian/rules~orig 2024-02-05 19:44:03.297707965 +0100 +++ debian/rules 2024-02-05 19:49:41.658434785 +0100 @@ -185,7 +185,7 @@ dh_link -p $1 usr/share/man/man1/$3.1 usr/share/man/man1/kvm.1 ) echo 'qemu:Provides=$(if $3,qemu-kvm (=${DEB_VERSION})${comma})\ - $(patsubst %,qemu-system-% (=${DEB_VERSION})${comma}, any $2 $(foreach q,$2,${system-alias-$q}))' \ + $(filter-out $1,$(patsubst %,qemu-system-% (=${DEB_VERSION})${comma}, any $2 $(foreach q,$2,${system-alias-$q})))' \ | tr _ - >> debian/$1.substvars # construct list `arch1 arch2 (alias) arch3..' for Description # and word-wrap it into two lines if too long