!46 remove rpath compilation option

From: @renxichen 
Reviewed-by: @zhuofeng6, @znzjugod 
Signed-off-by: @znzjugod
This commit is contained in:
openeuler-ci-bot 2023-11-14 01:46:23 +00:00 committed by Gitee
commit 4f03cbbab9
No known key found for this signature in database
GPG Key ID: 173E9B9CA92EEF8F

View File

@ -2,7 +2,7 @@
Name: man-db
Version: 2.8.7
Release: 8
Release: 9
Summary: Online database for using man pages
License: GPLv2+ and GPLv3+
URL: http://www.nongnu.org/man-db/
@ -14,7 +14,7 @@ Source3: man-db-cache-update.service
Patch1: backport-mandb-Fix-crash-when-processing-stray-cats.patch
BuildRequires: gcc systemd gdbm-devel gettext groff less libpipeline-devel zlib-devel
BuildRequires: po4a perl-interpreter perl-version make
BuildRequires: po4a perl-interpreter perl-version make chrpath
Requires: coreutils grep groff-base gzip less crontabs
Provides: man = %{version} man-pages-reader = %{version} bundled(gnulib) = 20140202
@ -64,6 +64,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
* Mon Nov 13 2023 renhongxun <renhongxun@h-partners.com> - 2.8.7-9
- Type:NA
- ID:NA
- SUG:NA
- DESC:remove rpath compilation option
* Sat Jun 17 2023 yanglongkang <yanglongkang@h-partners.com> - 2.8.7-8
- Type:NA
- ID:NA