From 9172ee4a63be300bef5926d6518b6cb699692542 Mon Sep 17 00:00:00 2001 From: zou_lin77 <422351577@qq.com> Date: Fri, 3 Dec 2021 15:38:17 +0800 Subject: [PATCH] remove rpath --- edac-utils.spec | 10 ++++++++-- 1 file changed, 8 insertions(+), 2 deletions(-) diff --git a/edac-utils.spec b/edac-utils.spec index 37798b1..04cf284 100644 --- a/edac-utils.spec +++ b/edac-utils.spec @@ -1,6 +1,6 @@ Name: edac-utils Version: 0.16 -Release: 21 +Release: 22 Summary: Userspace helper for Linux kernel EDAC drivers License: GPLv2+ URL: https://sourceforge.net/projects/edac-utils/ @@ -8,7 +8,7 @@ Source0: https://sourceforge.net/projects/edac-utils/files/edac-utils/%{version Source1: edac.service ExclusiveArch: %{ix86} x86_64 %{arm} aarch64 -BuildRequires: gcc libsysfs-devel systemd perl-generators +BuildRequires: gcc libsysfs-devel systemd perl-generators chrpath Requires: hwdata systemd sysfsutils @@ -41,6 +41,9 @@ install -p -D -m 0644 %{SOURCE1} %{buildroot}/usr/lib/systemd/system/edac.servic rm -rf %{buildroot}%{_sysconfdir}/init.d/edac %delete_la_and_a +# remove rpath +chrpath -d %buildroot%{_bindir}/edac-util + %check make check @@ -89,6 +92,9 @@ fi %{_mandir}/man8/edac-ctl.8.gz %changelog +* Fri Dec 3 2021 zoulin - 0.16-22 +- Remove rpath + * Wed Dec 1 2021 panxiaohe - 0.16-21 - Remove ExecStop from service file because unload is deprecated option -- Gitee