From 8d3dc7b983a7cbaf347761bc49ec4f02bfccaab7 Mon Sep 17 00:00:00 2001 From: sharpenedblade Date: Sun, 29 Jan 2023 00:20:53 -0800 Subject: [PATCH] Fix kernel versioning by changing specrelease --- build.sh | 1 + 1 file changed, 1 insertion(+) diff --git a/build.sh b/build.sh index c198d74..df1217e 100755 --- a/build.sh +++ b/build.sh @@ -33,6 +33,7 @@ echo "=====PREPARING SOURCES=====" cd ~/rpmbuild/SPECS sed -i 's/# define buildid .local/%define buildid .t2/g' kernel.spec sed -i 's/%define pkgrelease 200/%define pkgrelease 202/' kernel.spec +sed -i 's/%define specrelease 200%{?buildid}%{?dist}/%define specrelease 202%{?buildid}%{?dist}/' kernel.spec mv -f /repo/python-blivet.spec /repo/rpmbuild/SPECS/python-blivet.spec mv /repo/0002-add-t2-support.patch /root/rpmbuild/SOURCES/0002-add-t2-support.patch cat /tmp/download/*/extra_config > /root/rpmbuild/SOURCES/kernel-local