Use gpgverify macro instead of explicit gpgv2 command.

This commit is contained in:
Richard W.M. Jones 2019-11-27 11:05:31 +00:00
parent 09708b9ca8
commit 7a88a12661

View File

@ -26,7 +26,7 @@
Summary: Tool for creating supermin appliances Summary: Tool for creating supermin appliances
Name: supermin Name: supermin
Version: 5.1.20 Version: 5.1.20
Release: 8%{?dist} Release: 9%{?dist}
License: GPLv2+ License: GPLv2+
%if 0%{?rhel} >= 7 %if 0%{?rhel} >= 7
@ -121,8 +121,7 @@ from supermin appliances.
%prep %prep
%if 0%{verify_tarball_signature} %if 0%{verify_tarball_signature}
tmphome="$(mktemp -d)" %{gpgverify} --keyring='%{SOURCE2}' --signature='%{SOURCE1}' --data='%{SOURCE0}'
gpgv2 --homedir "$tmphome" --keyring %{SOURCE2} %{SOURCE1} %{SOURCE0}
%endif %endif
%setup -q %setup -q
%autopatch -p1 %autopatch -p1
@ -172,6 +171,9 @@ make check || {
%changelog %changelog
* Wed Nov 27 2019 Richard W.M. Jones <rjones@redhat.com> - 5.1.20-9
- Use gpgverify macro instead of explicit gpgv2 command.
* Wed Jul 31 2019 Richard W.M. Jones <rjones@redhat.com> - 5.1.20-8 * Wed Jul 31 2019 Richard W.M. Jones <rjones@redhat.com> - 5.1.20-8
- OCaml 4.08.1 (rc2) rebuild. - OCaml 4.08.1 (rc2) rebuild.