From 5de1386a06cea99217700cba53679d49a023fe3e Mon Sep 17 00:00:00 2001 From: Pratham Patel Date: Tue, 31 Oct 2023 10:19:12 +0530 Subject: [PATCH] internet access is no longer a requirement for any package --- kernel-lts-tfg.spec | 1 - kernel-stable-tfg.spec | 1 - master.inc | 9 --------- 3 files changed, 11 deletions(-) diff --git a/kernel-lts-tfg.spec b/kernel-lts-tfg.spec index 805ab98..61a899e 100644 --- a/kernel-lts-tfg.spec +++ b/kernel-lts-tfg.spec @@ -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} diff --git a/kernel-stable-tfg.spec b/kernel-stable-tfg.spec index 31a2187..c2a5e17 100644 --- a/kernel-stable-tfg.spec +++ b/kernel-stable-tfg.spec @@ -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} diff --git a/master.inc b/master.inc index 3175170..e7932db 100644 --- a/master.inc +++ b/master.inc @@ -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