Skip to content

Commit

Permalink
Fix sq signing using invalid cli switch if %_sq_path is defined
Browse files Browse the repository at this point in the history
--homedir is a gnupg thing, sq uses --home
  • Loading branch information
pmatilai committed Jan 23, 2025
1 parent add3e06 commit 7c916a2
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion macros.in
Original file line number Diff line number Diff line change
Expand Up @@ -638,7 +638,7 @@ Supplements: (%{name} = %{version}-%{release} and langpacks-%{1})\
%__sq @__SQ@
%__sq_sign_cmd() %{shescape:%{__sq}} \
sign \
%{?_sq_path:--homedir %{shescape:%{_sq_path}}} \
%{?_sq_path:--home %{shescape:%{_sq_path}}} \
%{?_openpgp_sign_id:--signer %{_openpgp_sign_id}} \
%{?_sq_sign_cmd_extra_args} \
--binary --signature-file %{shescape:%{2}} -- %{shescape:%{1}}
Expand Down

0 comments on commit 7c916a2

Please sign in to comment.