From c4d294fc4f772bb92cabbc684ac223e80629f007 Mon Sep 17 00:00:00 2001 From: Pau Aliagas Date: Sun, 18 Oct 2026 19:19:39 +0200 Subject: [PATCH 1/2] plugin-hostd-tests: drop 'of no use to anyone else' from the description (#43) --- debian/control | 2 +- packaging/plugin-hostd.spec | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/debian/control b/debian/control index fe9e0ea..753165f 100644 --- a/debian/control +++ b/debian/control @@ -37,7 +37,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 08a51a0..7a1289d 100644 --- a/packaging/plugin-hostd.spec +++ b/packaging/plugin-hostd.spec @@ -57,7 +57,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 From a232c9b88755988fca95e6421505f4849fb4c852 Mon Sep 17 00:00:00 2001 From: Pau Aliagas Date: Sun, 18 Oct 2026 19:19:39 +0200 Subject: [PATCH 2/2] ci: the tests package requires plugin-hostd(isa) = version-release of the same build (#43) --- .github/workflows/ci.yml | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) 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