Remove rpath compilation option

This commit is contained in:
吴超超 2021-09-04 09:56:48 +00:00 committed by Gitee
parent a761d1038f
commit b84a65ca03

View File

@ -2,7 +2,7 @@
Name: man-db
Version: 2.9.3
Release: 3
Release: 4
Summary: Online database for using man pages
License: GPLv2+ and GPLv3+
URL: http://www.nongnu.org/man-db/
@ -62,6 +62,11 @@ install -D -p -m 0644 %{SOURCE3} %{buildroot}%{_unitdir}/man-db-cache-update.ser
%find_lang %{name}
%find_lang %{name}-gnulib
chrpath -d %{buildroot}%{_sbindir}/accessdb
chrpath -d %{buildroot}%{_libexecdir}/%{name}/*
chrpath -d %{buildroot}%{_bindir}/{*man*,whatis,lexgrog}
chrpath -d %{buildroot}%{_libdir}/%{name}/libmandb-%{version}.so
%pre
%preun
@ -144,6 +149,12 @@ fi
%exclude %{_libdir}/man-db/*.la
%changelog
* Sat Sep 4 2021 wuchaochao <wuchaochao4@huawei.com> - 2.9.3-4
- Type:bugfix
- ID:NA
- SUG:NA
- DESC:Remove rpath compilation option
* Tue Aug 17 2021 Jianmin <jianmin@iscas.ac.cn> - 2.9.3-3
- Type:NA
- ID:NA