Compare commits
3 commits
libexecdir
...
rawhide
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
296714a0a9 | ||
|
|
54ea2c342c | ||
|
|
34fbd33fed |
2 changed files with 21 additions and 5 deletions
|
|
@ -1,16 +1,16 @@
|
|||
Name: gpgverify
|
||||
Version: 2.1
|
||||
Version: 2.2
|
||||
Release: 3%{?dist}
|
||||
Summary: Signature verifier for easy and safe scripting
|
||||
|
||||
License: Boehm-GC
|
||||
URL: https://src.fedoraproject.org/rpms/gpgverify
|
||||
Source: gpgverify
|
||||
Source: macros.gpgverify
|
||||
Source: macros.gpgverify.in
|
||||
Source: license.txt
|
||||
BuildArch: noarch
|
||||
|
||||
Requires: grep gnupg2
|
||||
Requires: grep gnupg2 gnupg2-verify
|
||||
|
||||
%description
|
||||
GPGverify is a wrapper around GnuPG's gpgv. It verifies a file against an
|
||||
|
|
@ -24,10 +24,16 @@ vulnerable.
|
|||
%setup -c -T
|
||||
cp --preserve=timestamps %{sources} .
|
||||
|
||||
%conf
|
||||
# Convey the location of the shellscript to macros.gpgverify. To keep build
|
||||
# dependencies minimal, do substitution in Bash instead of something like Sed.
|
||||
macrofile=$(<macros.gpgverify.in)
|
||||
echo -E "${macrofile/@libexecdir@/'%{_libexecdir}'}" >macros.gpgverify
|
||||
|
||||
%install
|
||||
mkdir --parents %{buildroot}%{rpmmacrodir} %{buildroot}%{_libexecdir}
|
||||
cp --preserve=timestamps gpgverify %{buildroot}%{_libexecdir}/
|
||||
cp --preserve=timestamps macros.gpgverify %{buildroot}%{rpmmacrodir}/
|
||||
cp macros.gpgverify %{buildroot}%{rpmmacrodir}/
|
||||
|
||||
%files
|
||||
%attr(0755,-,-) %{_libexecdir}/gpgverify
|
||||
|
|
@ -35,6 +41,16 @@ cp --preserve=timestamps macros.gpgverify %{buildroot}%{rpmmacrodir}/
|
|||
%license license.txt
|
||||
|
||||
%changelog
|
||||
* Thu Jul 24 2025 Fedora Release Engineering <releng@fedoraproject.org> - 2.2-3
|
||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_43_Mass_Rebuild
|
||||
|
||||
* Tue Jul 15 2025 Björn Persson <Bjorn@Rombobjörn.se> - 2.2-2
|
||||
- Adapted the dependencies because the gnupg2 package has been split.
|
||||
|
||||
* Fri Jun 27 2025 Björn Persson <Bjorn@Rombobjörn.se> - 2.2-1
|
||||
- Evaluate _libexecdir at build time, not at run time (reported by Yaakov
|
||||
Selkowitz).
|
||||
|
||||
* Fri May 09 2025 Björn Persson <Bjorn@Rombobjörn.se> - 2.1-3
|
||||
- Rebuilt to retry the testsuite.
|
||||
|
||||
|
|
|
|||
|
|
@ -13,7 +13,7 @@
|
|||
|
||||
# gpgverify verifies signed sources. There is documentation in the script.
|
||||
%gpgverify(k:s:d:) %{lua:
|
||||
local script = rpm.expand("%{_libexecdir}/gpgverify ")
|
||||
local script = rpm.expand("@libexecdir@/gpgverify ")
|
||||
local keyring = rpm.expand("%{-k*}")
|
||||
local signature = rpm.expand("%{-s*}")
|
||||
local data = rpm.expand("%{-d*}")
|
||||
Loading…
Add table
Add a link
Reference in a new issue