Remove rpath and runpath of exec files
Signed-off-by: yixiangzhike <yixiangzhike007@163.com> (cherry picked from commit 2651c79b57dcd143450acc8e8c2a2a7714a01679)
This commit is contained in:
parent
d17a1f9566
commit
725664f8d4
12
acl.spec
12
acl.spec
@ -1,6 +1,6 @@
|
||||
Name: acl
|
||||
Version: 2.3.1
|
||||
Release: 1
|
||||
Release: 2
|
||||
Summary: Commands for manipulating POSIX access control lists
|
||||
|
||||
License: GPLv2+
|
||||
@ -11,6 +11,7 @@ Source1: http://download.savannah.nongnu.org/releases/acl/%{name}-%{versio
|
||||
Source2: agruen-key.gpg
|
||||
|
||||
BuildRequires: libattr-devel gawk libtool gettext
|
||||
BuildRequires: chrpath
|
||||
|
||||
%description
|
||||
This package contains commands for manipulating POSIX access control lists,
|
||||
@ -47,6 +48,11 @@ This package contains header files for the POSIX ACL library.
|
||||
%make_install
|
||||
%delete_la_and_a
|
||||
rm -rf $RPM_BUILD_ROOT%{_docdir}/%{name}*
|
||||
chrpath -d $RPM_BUILD_ROOT%{_bindir}/setfacl
|
||||
chrpath -d $RPM_BUILD_ROOT%{_bindir}/getfacl
|
||||
chrpath -d $RPM_BUILD_ROOT%{_bindir}/chacl
|
||||
mkdir -p $RPM_BUILD_ROOT/etc/ld.so.conf.d
|
||||
echo "/usr/lib64/acl" > $RPM_BUILD_ROOT/etc/ld.so.conf.d/%{name}-%{_arch}.conf
|
||||
|
||||
%find_lang %{name}
|
||||
|
||||
@ -74,6 +80,7 @@ fi
|
||||
|
||||
%files -n libacl
|
||||
%{_libdir}/libacl.so.*
|
||||
%{_sysconfdir}/ld.so.conf.d/*
|
||||
|
||||
%files -n libacl-devel
|
||||
%defattr(-,root,root)
|
||||
@ -89,6 +96,9 @@ fi
|
||||
%{_mandir}/man5/*
|
||||
|
||||
%changelog
|
||||
* Tue Sep 20 2022 yixiangzhike <yixiangzhike007@163.com> - 2.3.1-2
|
||||
- Remove rpath and runpath of exec files
|
||||
|
||||
* Tue Jul 27 2021 panxiaohe <panxiaohe@huawei.com> - 2.3.1-1
|
||||
- Update to 2.3.1
|
||||
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user