forked from rpms/e2fsprogs
gpgverify source tarball
Fedora commit: ec66d22469d9e11956394669c9b62dd0ef1e247e Author: Stewart Smith <trawets@amazon.com> Signed-off-by: Stewart Smith <trawets@amazon.com> Resolves: rhbz#2043004 Signed-off-by: Lukas Czerner <lczerner@redhat.com>
This commit is contained in:
parent
3c1cb66fcb
commit
06ff792ab2
@ -6,6 +6,13 @@ Release: 2%{?dist}
|
||||
# License tags based on COPYING file distinctions for various components
|
||||
License: GPLv2
|
||||
Source0: https://www.kernel.org/pub/linux/kernel/people/tytso/%{name}/v%{version}/%{name}-%{version}.tar.xz
|
||||
Source1: https://www.kernel.org/pub/linux/kernel/people/tytso/%{name}/v%{version}/%{name}-%{version}.tar.sign
|
||||
# GPG key fetched from https://thunk.org/tytso/tytso-key.asc
|
||||
# which was linked from https://thunk.org/tytso/
|
||||
# Also verified fingerprint matches on https://www.kernel.org/doc/wot/tytso.html
|
||||
# note that the GPG key linked off his MIT page is likely old, and is *not* the
|
||||
# same as the above key ( http://web.mit.edu/tytso/www/home.html )
|
||||
Source2: tytso-key.asc
|
||||
|
||||
Url: http://e2fsprogs.sourceforge.net/
|
||||
Requires: e2fsprogs-libs%{?_isa} = %{version}-%{release}
|
||||
@ -28,6 +35,9 @@ BuildRequires: multilib-rpm-config
|
||||
BuildRequires: systemd
|
||||
BuildRequires: make
|
||||
|
||||
# For gpg verifying the source tarball
|
||||
BuildRequires: gnupg2 xz
|
||||
|
||||
Patch0: 0001-Remove-local-PATH.patch
|
||||
Patch1: 0002-man-Add-note-about-RHEL9-supported-features-and-moun.patch
|
||||
Patch2: 0003-mke2fs.conf-Introduce-rhel6-rhel7-and-rhel8-fs_type.patch
|
||||
@ -157,6 +167,7 @@ which means that it can only be done on file systems that are on a lvm
|
||||
managed device with some free space available in respective volume group.
|
||||
|
||||
%prep
|
||||
xzcat '%{SOURCE0}' | %{gpgverify} --keyring='%{SOURCE2}' --signature='%{SOURCE1}' --data=-
|
||||
%setup -q
|
||||
|
||||
%patch0 -p1
|
||||
|
7161
tytso-key.asc
Normal file
7161
tytso-key.asc
Normal file
File diff suppressed because it is too large
Load Diff
Loading…
Reference in New Issue
Block a user