diff --git a/kmod.changes b/kmod.changes index 7252645e18cc56a1eee4a68773ce361ca7ef41ca..894f12830ba9aa3a581e1b7302224fe1cf1e99f1 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 424c60f2e563e1a21c0778b7d5871cd1bbbdea66..21578052fedb1abeb897cfbd73ea3e31c35e41a0 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