gpgverify source tarball
GPG key from bzip2 download page. Signed-off-by: Stewart Smith <trawets@amazon.com>
This commit is contained in:
parent
6eb9eba3a2
commit
ef4bca86f9
10
bzip2.spec
10
bzip2.spec
@ -9,6 +9,11 @@ URL: https://sourceware.org/bzip2
|
||||
#Source0: http://www.bzip.org/%{version}/%{name}-%{version}.tar.gz
|
||||
Source0: https://sourceware.org/pub/bzip2/%{name}-%{version}.tar.gz
|
||||
Source1: bzip2.pc
|
||||
Source2: https://sourceware.org/pub/bzip2/%{name}-%{version}.tar.gz.sig
|
||||
# https://sourceware.org/bzip2/downloads.html links to the gpg key
|
||||
# https://sourceware.org/pub/bzip2/gpgkey-5C1D1AA44BE649DE760A.gpg
|
||||
# with which the tarballs are signed
|
||||
Source3: gpgkey-5C1D1AA44BE649DE760A.gpg
|
||||
|
||||
Patch0: bzip2-saneso.patch
|
||||
Patch1: bzip2-cflags.patch
|
||||
@ -17,6 +22,7 @@ Patch3: man_gzipdiff.patch
|
||||
|
||||
BuildRequires: gcc
|
||||
BuildRequires: make
|
||||
BuildRequires: gnupg2
|
||||
|
||||
%description
|
||||
Bzip2 is a freely available, patent-free, high quality data compressor.
|
||||
@ -50,6 +56,7 @@ Summary: Libraries for applications using bzip2
|
||||
Static libraries for applications using the bzip2 compression format.
|
||||
|
||||
%prep
|
||||
%{gpgverify} --keyring='%{SOURCE3}' --signature='%{SOURCE2}' --data='%{SOURCE0}'
|
||||
%setup -q
|
||||
%patch0 -p1
|
||||
%patch1 -p1
|
||||
@ -121,6 +128,9 @@ ln -s bzgrep.1 $RPM_BUILD_ROOT%{_mandir}/man1/bzfgrep.1
|
||||
%{_libdir}/pkgconfig/bzip2.pc
|
||||
|
||||
%changelog
|
||||
* Thu Jul 20 2023 Stewart Smith <trawets@amazon.com> - 1.0.8-16
|
||||
- gpgverify source tarball
|
||||
|
||||
* Wed Jul 19 2023 Fedora Release Engineering <releng@fedoraproject.org> - 1.0.8-15
|
||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_39_Mass_Rebuild
|
||||
|
||||
|
BIN
gpgkey-5C1D1AA44BE649DE760A.gpg
Normal file
BIN
gpgkey-5C1D1AA44BE649DE760A.gpg
Normal file
Binary file not shown.
1
sources
1
sources
@ -1 +1,2 @@
|
||||
SHA512 (bzip2-1.0.8.tar.gz) = 083f5e675d73f3233c7930ebe20425a533feedeaaa9d8cc86831312a6581cefbe6ed0d08d2fa89be81082f2a5abdabca8b3c080bf97218a1bd59dc118a30b9f3
|
||||
SHA512 (bzip2-1.0.8.tar.gz.sig) = 4a4a3fa0ec1c10a704b9870e8e629fd007cca55184423c6bfc3049a702fb41e4aeb73bfe9ca7442c27d32d278f1f34f27523a6be67d35b37896acdded12bf40d
|
||||
|
Loading…
Reference in New Issue
Block a user