From 395daa8e9863ecf57c81a489ab7082b4df808e74 Mon Sep 17 00:00:00 2001 From: enricobuehler Date: Wed, 29 Jul 2026 21:30:07 +0200 Subject: [PATCH] fix(packaging/rpm): the CLI's %files entry had wandered into %install MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit bf981027 added the punktfunk CLI to the spec, but its `%{_bindir}/punktfunk` files entry landed one section too early — inside %install, where rpm's shell dutifully executed /usr/bin/punktfunk (which doesn't exist on a builder) and killed both rpm legs at %install ever since. Move it where it was headed: out of the script, into %files client — which was missing it, so the fixed %install would otherwise have died again on an unpackaged /usr/bin/punktfunk. Co-Authored-By: Claude Fable 5 --- packaging/rpm/punktfunk.spec | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/packaging/rpm/punktfunk.spec b/packaging/rpm/punktfunk.spec index b0d7aa4a..595744f2 100644 --- a/packaging/rpm/punktfunk.spec +++ b/packaging/rpm/punktfunk.spec @@ -326,7 +326,6 @@ done install -Dm0755 target/release/punktfunk-client %{buildroot}%{_bindir}/punktfunk-client # The session streamer the shell execs for a connect (resolved as its sibling in %{_bindir}). install -Dm0755 target/release/punktfunk-session %{buildroot}%{_bindir}/punktfunk-session -%{_bindir}/punktfunk # The headless CLI (design/client-architecture-split.md §4). install -Dm0755 target/release/punktfunk %{buildroot}%{_bindir}/punktfunk install -Dm0644 packaging/linux/io.unom.Punktfunk.desktop \ @@ -450,6 +449,7 @@ install -Dm0644 scripts/punktfunk-scripting.service %{buildroot}%{_userunitdir}/ %license LICENSE-MIT LICENSE-APACHE THIRD-PARTY-NOTICES.txt %{_bindir}/punktfunk-client %{_bindir}/punktfunk-session +%{_bindir}/punktfunk %{_datadir}/applications/io.unom.Punktfunk.desktop %{_datadir}/icons/hicolor/scalable/apps/io.unom.Punktfunk.svg %{_udevrulesdir}/70-punktfunk-client.rules