diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 581f93c..930f38a 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -209,7 +209,10 @@ jobs: rpm -qp --qf '[%{FILEMODES:perms} %{FILENAMES}\n]' "$rpm" | grep -v -e '^d' -e '/\.build-id/' | cut -d' ' -f2 | sort > files.txt printf '%s\n' /usr/libexec/plugin-hostd/tests/fake-host /usr/share/licenses/plugin-hostd-tests/COPYING | sort > expected.txt diff -u expected.txt files.txt - rpm -qp --requires "$rpm" | grep -q '^plugin-hostd' + # tied to the same build: the requirement names the exact version-release and the isa of this very package + case "${{ matrix.arch }}" in x86_64) isa=x86-64 ;; aarch64) isa=aarch-64 ;; *) echo "no isa for ${{ matrix.arch }}"; exit 1 ;; esac + vr=$(rpm -qp --qf '%{VERSION}-%{RELEASE}' "$rpm") + rpm -qp --requires "$rpm" | grep -qxF "plugin-hostd($isa) = $vr" done ls rpms/plugin-hostd-tests-[0-9]*.${{ matrix.arch }}.rpm ls rpms/plugin-hostd-*.src.rpm diff --git a/debian/control b/debian/control index 3cd6bcc..2ab66c0 100644 --- a/debian/control +++ b/debian/control @@ -38,7 +38,7 @@ Description: stand-in plugin worker to test a program that drives plugin-hostd be tested against a real daemon without a plugin, a JACK server or any audio. Run it with -L to print the layout it reports. It is installed in /usr/libexec/plugin-hostd/tests, away from the directories programs run - from, and is of no use to anyone else. + from. Package: plugin-hostd-dev Section: libdevel diff --git a/packaging/plugin-hostd.spec b/packaging/plugin-hostd.spec index d76ac08..b5ac10c 100644 --- a/packaging/plugin-hostd.spec +++ b/packaging/plugin-hostd.spec @@ -59,7 +59,7 @@ can be made to die on cue, so a program that talks to plugin-hostd can be tested against a real daemon without a plugin, a JACK server or any audio. Run it with -L to print the layout it reports. It is installed in %{_libexecdir}/plugin-hostd/tests, away from the directories programs run -from, and is of no use to anyone else. +from. %prep %autosetup