Blame macros.rpmsign-sequoia
|
Michal Domonkos |
8317a6 |
#==============================================================================
|
|
Michal Domonkos |
8317a6 |
# ---- Sequoia signature macros.
|
|
Michal Domonkos |
8317a6 |
# The signature to use and the location of configuration files for
|
|
Michal Domonkos |
8317a6 |
# signing packages with Sequoia.
|
|
Michal Domonkos |
8317a6 |
#
|
|
Michal Domonkos |
8317a6 |
# Unlike GnuPG, Sequoia doesn't support specifying the signer key by
|
|
Michal Domonkos |
8317a6 |
# email or name match, you need to supply the hex fingerprint (or keyid)
|
|
Michal Domonkos |
8317a6 |
#%_gpg_name
|
|
Michal Domonkos |
8317a6 |
#%_gpg_path
|
|
Michal Domonkos |
8317a6 |
|
|
Michal Domonkos |
8317a6 |
%__gpg /usr/bin/sq
|
|
Michal Domonkos |
8317a6 |
|
|
Michal Domonkos |
8317a6 |
# Macro(s) to hold the arguments passed to Sequoia for package
|
|
Michal Domonkos |
8317a6 |
# signing. Expansion result is parsed by popt, so be sure to use
|
|
Michal Domonkos |
8317a6 |
# %{shescape} where needed.
|
|
Michal Domonkos |
8317a6 |
#
|
|
Michal Domonkos |
8317a6 |
|
|
Michal Domonkos |
8317a6 |
%__gpg_sign_cmd %{__gpg} %{__gpg} sign \
|
|
Michal Domonkos |
8317a6 |
%{?_gpg_sign_cmd_extra_args} \
|
|
Michal Domonkos |
8317a6 |
%{?_gpg_name:--signer-key %{_gpg_name}} \
|
|
Michal Domonkos |
8317a6 |
--detached --output %{shescape:%{?__signature_filename}} \
|
|
Michal Domonkos |
8317a6 |
%{?__plaintext_filename:-- %{shescape:%{__plaintext_filename}}}
|
|
Michal Domonkos |
8317a6 |
|