!17 [sync] PR-14: remove rpath and runpath of exec files and libraries
From: @openeuler-sync-bot Reviewed-by: @xiezhipeng1 Signed-off-by: @xiezhipeng1
This commit is contained in:
commit
de7742b5b9
12
acl.spec
12
acl.spec
@ -1,6 +1,6 @@
|
|||||||
Name: acl
|
Name: acl
|
||||||
Version: 2.2.53
|
Version: 2.2.53
|
||||||
Release: 8
|
Release: 9
|
||||||
Summary: Commands for manipulating POSIX access control lists
|
Summary: Commands for manipulating POSIX access control lists
|
||||||
|
|
||||||
License: GPLv2+
|
License: GPLv2+
|
||||||
@ -8,6 +8,7 @@ URL: https://savannah.nongnu.org/projects/acl
|
|||||||
Source0: http://download.savannah.nongnu.org/releases/acl/acl-2.2.53.tar.gz
|
Source0: http://download.savannah.nongnu.org/releases/acl/acl-2.2.53.tar.gz
|
||||||
|
|
||||||
BuildRequires: libattr-devel gawk libtool gettext
|
BuildRequires: libattr-devel gawk libtool gettext
|
||||||
|
BuildRequires: chrpath
|
||||||
|
|
||||||
%description
|
%description
|
||||||
This package contains commands for manipulating POSIX access control lists,
|
This package contains commands for manipulating POSIX access control lists,
|
||||||
@ -44,6 +45,11 @@ This package contains header files for the POSIX ACL library.
|
|||||||
%make_install
|
%make_install
|
||||||
%delete_la_and_a
|
%delete_la_and_a
|
||||||
rm -rf $RPM_BUILD_ROOT%{_docdir}/%{name}*
|
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}
|
%find_lang %{name}
|
||||||
|
|
||||||
@ -71,6 +77,7 @@ make check
|
|||||||
|
|
||||||
%files -n libacl
|
%files -n libacl
|
||||||
%{_libdir}/libacl.so.*
|
%{_libdir}/libacl.so.*
|
||||||
|
%{_sysconfdir}/ld.so.conf.d/*
|
||||||
|
|
||||||
%files -n libacl-devel
|
%files -n libacl-devel
|
||||||
%defattr(-,root,root)
|
%defattr(-,root,root)
|
||||||
@ -86,6 +93,9 @@ make check
|
|||||||
%{_mandir}/man5/*
|
%{_mandir}/man5/*
|
||||||
|
|
||||||
%changelog
|
%changelog
|
||||||
|
* Wed Aug 31 2022 zhangruifang <zhangruifang1@h-partners.com> - 2.2.53-9
|
||||||
|
- remove rpath and runpath of exec files and libraries
|
||||||
|
|
||||||
* Tue Aug 18 2020 chenyaqiang <chenyaqiang@huawei.com> - 2.2.53-8
|
* Tue Aug 18 2020 chenyaqiang <chenyaqiang@huawei.com> - 2.2.53-8
|
||||||
- rebuild for package build
|
- rebuild for package build
|
||||||
|
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user