Control: reopen -1
Control: Version -1 1:8.0+dfsg-1

On Mon, 05 Feb 2024 20:21:18 +0100 Daniel Vacek <neel...@gmail.com> wrote:

        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})))' \

Actually.. neither your solution nor mine works, it's a bit more complicated
than that.

Your solution filters the whole thing with includes version info, so the
end result is:
  Provides: qemu-system-any (=8.2.1), (=8.2.1), qemu-system-armel (=8.2.1)

which is obviously wrong.

Mine actually does nothing, since it tries to filter out qemu-system-bar
out of foo bar baz.

That needs additional tweaking.

/mjt

Reply via email to