1
0
forked from rpms/kernel

%define tarfile_release 513.18.1.el8_9

This commit is contained in:
Andrew Lukoshko 2024-03-30 09:36:04 +00:00
parent c999456e26
commit 5907e6a491

View File

@ -43,6 +43,7 @@
# allow pkg_release to have configurable %%{?dist} tag
# alma patched to 513.18.2 but still using 513.18.1 sources plus patch file
%define specrelease 513.18.2%{?dist}
%define tarfile_release 513.18.1.el8_9
%define pkg_release %{specrelease}%{?buildid}
@ -435,7 +436,7 @@ BuildRequires: xmlto
BuildRequires: asciidoc
%endif
Source0: linux-%{specversion}-%{pkgrelease}.tar.xz
Source0: linux-%{specversion}-%{tarfile_release}.tar.xz
Source9: x509.genkey
@ -1088,9 +1089,9 @@ ApplyOptionalPatch()
fi
}
%setup -q -n %{name}-%{specversion}-%{pkgrelease} -c
cp -v %{SOURCE9000} linux-%{specversion}-%{pkgrelease}/certs/rhel.pem
mv linux-%{specversion}-%{pkgrelease} linux-%{KVERREL}
%setup -q -n %{name}-%{specversion}-%{tarfile_release} -c
cp -v %{SOURCE9000} linux-%{specversion}-%{tarfile_release}/certs/rhel.pem
mv linux-%{specversion}-%{tarfile_release} linux-%{KVERREL}
cd linux-%{KVERREL}