From 16a44127c664e82fa698fe9d8126e20a93dc4de3 Mon Sep 17 00:00:00 2001 From: "Richard W.M. Jones" Date: Wed, 27 Nov 2019 11:05:44 +0000 Subject: [PATCH] Use gpgverify macro instead of explicit gpgv2 command. --- libnbd.spec | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) diff --git a/libnbd.spec b/libnbd.spec index cb77068..24f3ea3 100644 --- a/libnbd.spec +++ b/libnbd.spec @@ -9,7 +9,7 @@ Name: libnbd Version: 1.2.0 -Release: 1%{?dist} +Release: 2%{?dist} Summary: NBD client library in userspace License: LGPLv2+ @@ -140,8 +140,7 @@ This package contains FUSE support 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} @@ -249,6 +248,9 @@ make %{?_smp_mflags} check || { %changelog +* Wed Nov 27 2019 Richard W.M. Jones - 1.2.0-2 +- Use gpgverify macro instead of explicit gpgv2 command. + * Thu Nov 14 2019 Richard W.M. Jones - 1.2.0-1 - New stable release 1.2.0