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
1 changed files with 5 additions and 3 deletions

View File

@ -33,7 +33,7 @@
Name: nbdkit Name: nbdkit
Version: 1.16.0 Version: 1.16.0
Release: 5%{?dist} Release: 6%{?dist}
Summary: NBD server Summary: NBD server
License: BSD License: BSD
@ -554,8 +554,7 @@ 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
%autosetup -p1 %autosetup -p1
%if 0%{patches_touch_autotools} %if 0%{patches_touch_autotools}
@ -907,6 +906,9 @@ make %{?_smp_mflags} check || {
%changelog %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 * Fri Nov 15 2019 Richard W.M. Jones <rjones@redhat.com> - 1.16.0-5
- Enable libvirt plugin on all architectures. - Enable libvirt plugin on all architectures.
- Disable OCaml plugin on riscv64 temporarily. - Disable OCaml plugin on riscv64 temporarily.