internet access is no longer a requirement for any package
This commit is contained in:
parent
9f090abf7b
commit
5de1386a06
@ -10,7 +10,6 @@ BuildRequires: gnupg2
|
|||||||
|
|
||||||
Source0: https://cdn.kernel.org/pub/linux/kernel/v%{major_ver}.x/linux-%{version}.tar.gz
|
Source0: https://cdn.kernel.org/pub/linux/kernel/v%{major_ver}.x/linux-%{version}.tar.gz
|
||||||
Source1: master.inc
|
Source1: master.inc
|
||||||
Source99: https://cdn.kernel.org/pub/linux/kernel/v%{major_ver}.x/linux-%{version}.tar.sign
|
|
||||||
|
|
||||||
%global src_dir linux-%{version}
|
%global src_dir linux-%{version}
|
||||||
%include %{SOURCE1}
|
%include %{SOURCE1}
|
||||||
|
@ -10,7 +10,6 @@ BuildRequires: gnupg2
|
|||||||
|
|
||||||
Source0: https://cdn.kernel.org/pub/linux/kernel/v%{major_ver}.x/linux-%{version}.tar.gz
|
Source0: https://cdn.kernel.org/pub/linux/kernel/v%{major_ver}.x/linux-%{version}.tar.gz
|
||||||
Source1: master.inc
|
Source1: master.inc
|
||||||
Source99: https://cdn.kernel.org/pub/linux/kernel/v%{major_ver}.x/linux-%{version}.tar.sign
|
|
||||||
|
|
||||||
%global src_dir linux-%{version}
|
%global src_dir linux-%{version}
|
||||||
%include %{SOURCE1}
|
%include %{SOURCE1}
|
||||||
|
@ -59,15 +59,6 @@ This package provides kernel headers and makefiles sufficient to build modules
|
|||||||
against the kernel package.
|
against the kernel package.
|
||||||
|
|
||||||
%prep
|
%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}
|
%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
|
find ../../SOURCES -type f -name "patch-*.patch" -print0 | sort -z | xargs --no-run-if-empty -t -0 -n 1 patch -p1 -i
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user