You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
23 lines
755 B
23 lines
755 B
#==============================================================================
|
|
# ---- GPG signature macros.
|
|
# The signature to use and the location of configuration files for
|
|
# signing packages with GNU gpg.
|
|
#
|
|
#%_gpg_name
|
|
#%_gpg_path
|
|
|
|
%__gpg /usr/bin/gpg2
|
|
|
|
# Macro(s) to hold the arguments passed to GPG/PGP for package
|
|
# signing. Expansion result is parsed by popt, so be sure to use
|
|
# %{shescape} where needed.
|
|
#
|
|
%__gpg_sign_cmd %{shescape:%{__gpg}} \
|
|
gpg --no-verbose --no-armor --no-secmem-warning \
|
|
%{?_gpg_digest_algo:--digest-algo=%{_gpg_digest_algo}} \
|
|
%{?_gpg_sign_cmd_extra_args} \
|
|
%{?_gpg_name:-u %{shescape:%{_gpg_name}}} \
|
|
-sbo %{shescape:%{?__signature_filename}} \
|
|
%{?__plaintext_filename:-- %{shescape:%{__plaintext_filename}}}
|
|
|