Use gpgverify macro instead of explicit gpgv2 command.

This commit is contained in:
Richard W.M. Jones 2019-11-27 11:05:38 +00:00
parent f8beeaf18c
commit f269e46c70

View File

@ -33,7 +33,7 @@
Name: nbdkit
Version: 1.16.0
Release: 5%{?dist}
Release: 6%{?dist}
Summary: NBD server
License: BSD
@ -554,8 +554,7 @@ for %{name}.
%prep
%if 0%{verify_tarball_signature}
tmphome="$(mktemp -d)"
gpgv2 --homedir "$tmphome" --keyring %{SOURCE2} %{SOURCE1} %{SOURCE0}
%{gpgverify} --keyring='%{SOURCE2}' --signature='%{SOURCE1}' --data='%{SOURCE0}'
%endif
%autosetup -p1
%if 0%{patches_touch_autotools}
@ -907,6 +906,9 @@ make %{?_smp_mflags} check || {
%changelog
* Wed Nov 27 2019 Richard W.M. Jones <rjones@redhat.com> - 1.16.0-6
- Use gpgverify macro instead of explicit gpgv2 command.
* Fri Nov 15 2019 Richard W.M. Jones <rjones@redhat.com> - 1.16.0-5
- Enable libvirt plugin on all architectures.
- Disable OCaml plugin on riscv64 temporarily.