From 385d263ae5354a9b4c6bf02e6e61159f95a96f84 Mon Sep 17 00:00:00 2001 From: Zhipeng Xie Date: Fri, 25 Sep 2020 05:08:22 -0400 Subject: [PATCH] update Source0 Signed-off-by: Zhipeng Xie --- kpatch.spec | 18 +++++++++++------- 1 file changed, 11 insertions(+), 7 deletions(-) diff --git a/kpatch.spec b/kpatch.spec index 16bc005..a72d6a2 100644 --- a/kpatch.spec +++ b/kpatch.spec @@ -1,14 +1,12 @@ -%global raw_version 0.9.1 - Name: kpatch Epoch: 1 -Version: %{raw_version} -Release: 4 +Version: 0.9.1 +Release: 5 Summary: A Linux dynamic kernel patching infrastructure License: GPLv2 URL: https://github.com/dynup/kpatch -Source0: https://github.com/dynup/kpatch/archive/%{name}-%{raw_version}.tar.gz +Source0: https://github.com/dynup/kpatch/archive/v%{version}.tar.gz#/%{name}-%{version}.tar.gz Source1: os_hotpatch Source2: livepatch @@ -38,7 +36,7 @@ Patch0021:0021-kpatch-build-don-t-copy-.config-for-out-of-tree-modu.patch Patch0022:0022-support-force-enable-disable-for-x86.patch Patch0023:0023-create-diff-object-fix-duplicate-symbols-for-vmlinux.patch -BuildRequires: gcc elfutils-libelf-devel uname-build-checks kernel kernel-devel git +BuildRequires: gcc elfutils-libelf-devel uname-build-checks kernel-devel git Requires: bc %description @@ -58,7 +56,7 @@ Dynamic kernel patching %package_help %prep -%autosetup -n %{name}-%{raw_version} -p1 -Sgit +%autosetup -n %{name}-%{version} -p1 -Sgit %build export CFLAGS="$RPM_OPT_FLAGS" LDFLAGS="$RPM_LD_FLAGS" @@ -95,6 +93,12 @@ popd %{_mandir}/man1/*.1.gz %changelog +* Fri Sep 25 2020 Zhipeng Xie -1:0.9.1-5 +- Type:enhancement +- ID:NA +- SUG:NA +- DESC:update Source0 + * Sat Sep 12 2020 Zhipeng Xie -1:0.9.1-4 - Type:enhancement - ID:NA