teknoraver / rpms / rpm

Forked from rpms/rpm 4 months ago
Clone

Blame macros.rpmsign-sequoia

Panu Matilainen c7a072
#==============================================================================
Panu Matilainen c7a072
# ---- Sequoia signature macros.
Panu Matilainen c7a072
#	The signature to use and the location of configuration files for
Panu Matilainen c7a072
#	signing packages with Sequoia.
Panu Matilainen c7a072
#
Panu Matilainen c7a072
# Unlike GnuPG, Sequoia doesn't support specifying the signer key by
Panu Matilainen c7a072
# email or name match, you need to supply the hex fingerprint (or keyid)
Panu Matilainen c7a072
#%_gpg_name
Panu Matilainen c7a072
#%_gpg_path
Panu Matilainen c7a072
Panu Matilainen c7a072
%__gpg	/usr/bin/sq
Panu Matilainen c7a072
Panu Matilainen c7a072
#	Macro(s) to hold the arguments passed to Sequoia 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
Panu Matilainen c7a072
%__gpg_sign_cmd %{__gpg} %{__gpg} sign \
Panu Matilainen c7a072
	%{?_gpg_sign_cmd_extra_args} \
Panu Matilainen c7a072
        %{?_gpg_name:--signer-key %{_gpg_name}} \
Panu Matilainen c7a072
        --detached --output %{shescape:%{?__signature_filename}} \
Panu Matilainen c7a072
        %{?__plaintext_filename:-- %{shescape:%{__plaintext_filename}}}
Panu Matilainen c7a072