qusal/salt/qubes-builder/files/client/rpmmacros

16 lines
496 B
Plaintext
Raw Normal View History

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
%__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
%__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}'