Use gpgverify macro instead of explicit gpgv2 command.

This commit is contained in:
Richard W.M. Jones 2019-11-27 11:05:50 +00:00
parent 77fd358d68
commit 92e0cffa4f

View File

@ -10,7 +10,7 @@
Name: hivex Name: hivex
Version: 1.3.18 Version: 1.3.18
Release: 12%{?dist} Release: 13%{?dist}
Summary: Read and write Windows Registry binary hive files Summary: Read and write Windows Registry binary hive files
License: LGPLv2 License: LGPLv2
@ -175,8 +175,7 @@ ruby-%{name} contains Ruby bindings for %{name}.
%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
@ -284,6 +283,9 @@ fi
%changelog %changelog
* Wed Nov 27 2019 Richard W.M. Jones <rjones@redhat.com> - 1.3.18-13
- Use gpgverify macro instead of explicit gpgv2 command.
* Thu Oct 03 2019 Miro Hrončok <mhroncok@redhat.com> - 1.3.18-12 * Thu Oct 03 2019 Miro Hrončok <mhroncok@redhat.com> - 1.3.18-12
- Rebuilt for Python 3.8.0rc1 (#1748018) - Rebuilt for Python 3.8.0rc1 (#1748018)