internet access is no longer a requirement for any package

This commit is contained in:
Pratham Patel 2023-10-31 10:19:12 +05:30
parent 9f090abf7b
commit 5de1386a06
No known key found for this signature in database
3 changed files with 0 additions and 11 deletions

View File

@ -10,7 +10,6 @@ BuildRequires: gnupg2
Source0: https://cdn.kernel.org/pub/linux/kernel/v%{major_ver}.x/linux-%{version}.tar.gz
Source1: master.inc
Source99: https://cdn.kernel.org/pub/linux/kernel/v%{major_ver}.x/linux-%{version}.tar.sign
%global src_dir linux-%{version}
%include %{SOURCE1}

View File

@ -10,7 +10,6 @@ BuildRequires: gnupg2
Source0: https://cdn.kernel.org/pub/linux/kernel/v%{major_ver}.x/linux-%{version}.tar.gz
Source1: master.inc
Source99: https://cdn.kernel.org/pub/linux/kernel/v%{major_ver}.x/linux-%{version}.tar.sign
%global src_dir linux-%{version}
%include %{SOURCE1}

View File

@ -59,15 +59,6 @@ This package provides kernel headers and makefiles sufficient to build modules
against the kernel package.
%prep
if [ -f ../SOURCES/linux-%{version}.tar.sign ]; then
[ -f ../SOURCES/linux-%{version}.tar ] || gzip --decompress --keep %{SOURCE0}
gpg2 --locate-keys torvalds@kernel.org gregkh@kernel.org
gpg2 --verify %{SOURCE99} || exit 1
# not needed anymore, might as well delete it to make space for the
# build and install phases
rm -vf linux-%{version}.tar
fi
%setup -q -n %{src_dir}
find ../../SOURCES -type f -name "patch-*.patch" -print0 | sort -z | xargs --no-run-if-empty -t -0 -n 1 patch -p1 -i