From a2d2298430e44983b9185fa27d8d615d3da65e6a Mon Sep 17 00:00:00 2001 From: guoqinglan Date: Tue, 7 May 2024 15:25:00 +0800 Subject: [PATCH] Reinitialize libtool to remove Rpath --- kmod.changes | 3 +++ kmod.spec | 9 ++++++--- 2 files changed, 9 insertions(+), 3 deletions(-) diff --git a/kmod.changes b/kmod.changes index 7252645..894f128 100644 --- a/kmod.changes +++ b/kmod.changes @@ -1,4 +1,7 @@ %changelog +* Tue May 07 2024 guoqinglan - 30-3 +- Reinitialize libtool to remove Rpath + * Fri Sep 02 2022 fu.lin - 30-2 - fit the old patch diff --git a/kmod.spec b/kmod.spec index 424c60f..8a58ac5 100644 --- a/kmod.spec +++ b/kmod.spec @@ -1,6 +1,6 @@ Name: kmod Version: 30 -Release: 2 +Release: 3 Summary: Kernel module management # GPLv2+ is used by programs, LGPLv2+ is used for libraries. License: GPLv2+ and LGPLv2+ @@ -8,8 +8,9 @@ URL: http://git.kernel.org/?p=utils/kernel/kmod/kmod.git;a=summary Source0: https://www.kernel.org/pub/linux/utils/kernel/kmod/%{name}-%{version}.tar.xz Source1: weak-modules Source2: depmod.conf.dist +Source3: kmod.changes -BuildRequires: gcc chrpath zlib-devel xz-devel libxslt openssl-devel +BuildRequires: gcc chrpath zlib-devel xz-devel libxslt openssl-devel libtool gtk-doc Provides: module-init-tools = 4.0-1 Provides: /sbin/modprobe @@ -57,6 +58,8 @@ developers to understand the kmod. %autosetup -n %{name}-%{version} -p1 %build +# Reinitialize libtool to remove Rpath +autoreconf -vif %configure --with-openssl --with-zlib --with-xz --enable-python %make_build @@ -116,4 +119,4 @@ install -m 0644 %{SOURCE2} $RPM_BUILD_ROOT%{_sysconfdir}/depmod.d/dist.conf %doc TODO NEWS README.md -%changelog +%include %{SOURCE3} -- Gitee