Fix the simple API of %gpgverify

This commit is contained in:
Miro Hrončok 2019-11-01 08:04:12 +01:00
parent 2c88f0ec58
commit 4d93255fb3
2 changed files with 9 additions and 6 deletions

View File

@ -50,12 +50,12 @@ local signature = rpm.expand("%{-s*}")
local data = rpm.expand("%{-d*}") local data = rpm.expand("%{-d*}")
print(script) print(script)
if keyring ~= "" then if keyring ~= "" then
print(rpm.expand("--keyring '%{SOURCE" .. keyring .. "}' ")) print(rpm.expand("--keyring='%{SOURCE" .. keyring .. "}' "))
end end
if signature ~= "" then if signature ~= "" then
print(rpm.expand("--signature '%{SOURCE" .. signature .. "}' ")) print(rpm.expand("--signature='%{SOURCE" .. signature .. "}' "))
end end
if data ~= "" then if data ~= "" then
print(rpm.expand("--data '%{SOURCE" .. data .. "}' ")) print(rpm.expand("--data='%{SOURCE" .. data .. "}' "))
end end
} }

View File

@ -6,8 +6,8 @@
Summary: Red Hat specific rpm configuration files Summary: Red Hat specific rpm configuration files
Name: redhat-rpm-config Name: redhat-rpm-config
Version: 141 Version: 142
Release: 2%{?dist} Release: 1%{?dist}
# No version specified. # No version specified.
License: GPL+ License: GPL+
URL: https://src.fedoraproject.org/rpms/redhat-rpm-config URL: https://src.fedoraproject.org/rpms/redhat-rpm-config
@ -207,8 +207,11 @@ install -p -m 644 -t %{buildroot}%{_rpmluadir}/fedora/srpm forge.lua
%{_rpmconfigdir}/macros.d/macros.kmp %{_rpmconfigdir}/macros.d/macros.kmp
%changelog %changelog
* Fri Nov 01 2019 Miro Hrončok <mhroncok@redhat.com> - 142-1
- Fix the simple API of %%gpgverify.
* Thu Aug 22 2019 Jason L Tibbitts III <tibbs@math.uh.edu> - 141-2 * Thu Aug 22 2019 Jason L Tibbitts III <tibbs@math.uh.edu> - 141-2
- Simplify the API if %%gpgverify. - Simplify the API of %%gpgverify.
* Thu Jul 25 2019 Richard W.M. Jones <rjones@redhat.com> - 140-2 * Thu Jul 25 2019 Richard W.M. Jones <rjones@redhat.com> - 140-2
- Bump version and rebuild. - Bump version and rebuild.