diff --git a/kpatch.spec b/kpatch.spec index ca4756fd0da2d4db27388dfb8158c3ef819a2eba..2aa9fd11433eb0075a921d9d03c10b15707733c3 100644 --- a/kpatch.spec +++ b/kpatch.spec @@ -1,7 +1,7 @@ Name: kpatch Epoch: 1 Version: 0.9.7 -Release: 1 +Release: 2 Summary: A Linux dynamic kernel patching infrastructure License: GPLv2 @@ -50,6 +50,7 @@ Patch0034:0034-create-diff-object-allow-__jump_table-section-change.patch Patch0035:0035-livepatch-patch-hook-fix-kpatch-build-error-which-do.patch Patch0036:0036-lookup-skip-finding-local-symbols-for-object-with-no.patch Patch0037:0037-create-diff-object-ignore-entsize-change-of-.return_.patch +Patch0038:0038-support-specify-cc.patch BuildRequires: gcc elfutils-libelf-devel kernel-devel git Requires: bc make gcc patch bison flex openssl-devel @@ -75,7 +76,7 @@ Dynamic kernel patching %autosetup -n %{name}-%{version} -p1 -Sgit %build -export CFLAGS="$RPM_OPT_FLAGS" LDFLAGS="$RPM_LD_FLAGS" +export CFLAGS="$RPM_OPT_FLAGS -Wno-error=unused-but-set-variable" LDFLAGS="$RPM_LD_FLAGS" %make_build %install @@ -110,6 +111,9 @@ popd %{_mandir}/man1/*.1.gz %changelog +* Tue Apr 11 2023 SaltyFruit - 1:0.9.7-2 +- Support specify cc + * Mon Jan 30 2023 Bin Hu -1:0.9.7-1 - Type:enhancement - ID:NA