Use gpgverify macro instead of explicit gpgv2 command.
This commit is contained in:
parent
09708b9ca8
commit
7a88a12661
@ -26,7 +26,7 @@
|
||||
Summary: Tool for creating supermin appliances
|
||||
Name: supermin
|
||||
Version: 5.1.20
|
||||
Release: 8%{?dist}
|
||||
Release: 9%{?dist}
|
||||
License: GPLv2+
|
||||
|
||||
%if 0%{?rhel} >= 7
|
||||
@ -121,8 +121,7 @@ from supermin appliances.
|
||||
|
||||
%prep
|
||||
%if 0%{verify_tarball_signature}
|
||||
tmphome="$(mktemp -d)"
|
||||
gpgv2 --homedir "$tmphome" --keyring %{SOURCE2} %{SOURCE1} %{SOURCE0}
|
||||
%{gpgverify} --keyring='%{SOURCE2}' --signature='%{SOURCE1}' --data='%{SOURCE0}'
|
||||
%endif
|
||||
%setup -q
|
||||
%autopatch -p1
|
||||
@ -172,6 +171,9 @@ make check || {
|
||||
|
||||
|
||||
%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
|
||||
- OCaml 4.08.1 (rc2) rebuild.
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user