From afa6455e0d0331c5c23b2c601ad4582916e23d9e Mon Sep 17 00:00:00 2001 From: blublue Date: Tue, 7 May 2024 05:57:55 +0000 Subject: [PATCH] Reinitialize libtool to remove Rpath Signed-off-by: blublue --- kmod.changes | 3 +++ kmod.spec | 6 ++++-- 2 files changed, 7 insertions(+), 2 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..2157805 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+ @@ -9,7 +9,7 @@ Source0: https://www.kernel.org/pub/linux/utils/kernel/kmod/%{name}-%{ver Source1: weak-modules Source2: depmod.conf.dist -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 +57,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 -- Gitee