Le 2019-07-25 12:17, Björn Persson a écrit :
Hit,
An RPM spec is not a place for golfing. Readable code takes priority
over saving keystrokes.
Then it should be implemented cleanly in a declarative syntax,
with %{gpg_signatureX} and %{gpg_keyringX} variables matching
%{sourceX}, and a single %gpgverify call that loops over all the
available variables.
With a declarative syntax there is less boilerplate in spec files, the
implementation can be changed later, or even moved outside the build
process, without requiring the rewrite of thousands of spec files
Regards,
--
Nicolas Mailhot