fix(ci): use gpg-agent loopback instead of custom sign command
All checks were successful
poll-upstream / check (push) Successful in 1s

The custom %__gpg_sign_cmd macro with %{__plaintext_filename} is not
supported on modern rpm. Instead, configure gpg-agent for loopback
pinentry and let rpm use its default sign command.

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
This commit is contained in:
2026-04-26 15:14:37 +03:00
parent 1919e14032
commit 38e36e4547
2 changed files with 2 additions and 1 deletions

View File

@@ -1,2 +1 @@
%_gpg_name @GPG_NAME@
%__gpg_sign_cmd %{__gpg} --batch --no-armor --no-tty --pinentry-mode loopback --passphrase '' %{?_gpg_digest_algo:--digest-algo %{_gpg_digest_algo}} --no-secmem-warning -u "%{_gpg_name}" -sbo %{__signature_filename} --digest-algo sha256 %{__plaintext_filename}