Blame macros.rpmsign-gnupg
|
Panu Matilainen |
c7a072 |
#==============================================================================
|
|
Panu Matilainen |
c7a072 |
# ---- GPG signature macros.
|
|
Panu Matilainen |
c7a072 |
# The signature to use and the location of configuration files for
|
|
Panu Matilainen |
c7a072 |
# signing packages with GNU gpg.
|
|
Panu Matilainen |
c7a072 |
#
|
|
Panu Matilainen |
c7a072 |
#%_gpg_name
|
|
Panu Matilainen |
c7a072 |
#%_gpg_path
|
|
Panu Matilainen |
c7a072 |
|
|
Panu Matilainen |
c7a072 |
%__gpg /usr/bin/gpg2
|
|
Panu Matilainen |
c7a072 |
|
|
Panu Matilainen |
c7a072 |
# Macro(s) to hold the arguments passed to GPG/PGP for package
|
|
Panu Matilainen |
c7a072 |
# signing. Expansion result is parsed by popt, so be sure to use
|
|
Panu Matilainen |
c7a072 |
# %{shescape} where needed.
|
|
Panu Matilainen |
c7a072 |
#
|
|
Panu Matilainen |
c7a072 |
%__gpg_sign_cmd %{shescape:%{__gpg}} \
|
|
Panu Matilainen |
c7a072 |
gpg --no-verbose --no-armor --no-secmem-warning \
|
|
Panu Matilainen |
c7a072 |
%{?_gpg_digest_algo:--digest-algo=%{_gpg_digest_algo}} \
|
|
Panu Matilainen |
c7a072 |
%{?_gpg_sign_cmd_extra_args} \
|
|
Panu Matilainen |
c7a072 |
%{?_gpg_name:-u %{shescape:%{_gpg_name}}} \
|
|
Panu Matilainen |
c7a072 |
-sbo %{shescape:%{?__signature_filename}} \
|
|
Panu Matilainen |
c7a072 |
%{?__plaintext_filename:-- %{shescape:%{__plaintext_filename}}}
|
|
Panu Matilainen |
c7a072 |
|