2023-11-13 09:33:28 -05:00
|
|
|
# SPDX-FileCopyrightText: 2019 - 2023 The Qubes OS Project <https://www.qubes-os.org>
|
|
|
|
#
|
|
|
|
# SPDX-License-Identifier: GPL-2.0-only
|
|
|
|
|
2024-01-03 08:29:49 -05:00
|
|
|
%__gpg /usr/bin/gpg2
|
2023-11-13 09:33:28 -05:00
|
|
|
|
|
|
|
%__gpg_check_password_cmd %{__gpg} \
|
|
|
|
gpg --batch --no-verbose -u "%{_gpg_name}" -s
|
|
|
|
|
2024-01-03 08:29:49 -05:00
|
|
|
%__gpg_sign_cmd /bin/sh sh -c '/usr/bin/gpg2 \\\
|
2023-11-13 09:33:28 -05:00
|
|
|
--batch --no-verbose \\\
|
|
|
|
%{?_gpg_digest_algo:--digest-algo %{_gpg_digest_algo}} \\\
|
|
|
|
-u "%{_gpg_name}" \\\
|
|
|
|
-sb %{__plaintext_filename} \\\
|
|
|
|
>%{__signature_filename}'
|