revert remove rpath

This commit is contained in:
wangkerong 2022-08-03 10:56:34 +08:00
parent 4520e3a07a
commit c94b35bbcf

View File

@ -1,6 +1,6 @@
Name: babeltrace
Version: 1.5.8
Release: 5
Release: 6
Summary: Common Trace Format Babel Tower
License: MIT and GPLv2
URL: https://www.efficios.com/babeltrace
@ -10,7 +10,7 @@ Patch9000: backport-python3-Mapping-function-change-lead-to-build-failed.pat
BuildRequires: bison >= 2.4 flex >= 2.5.35 glib2-devel >= 2.22.0
BuildRequires: popt-devel >= 1.13 swig >= 2.0 elfutils-devel >= 0.154
BuildRequires: libuuid-devel python3-devel libtool gcc perl-Test-Harness chrpath
BuildRequires: libuuid-devel python3-devel libtool gcc perl-Test-Harness
Provides: lib%{name}
Obsoletes: lib%{name}
@ -56,10 +56,6 @@ find %{buildroot} -type f -name "*.la" -delete -print
#Remove installed doc
rm %{buildroot}/%{_docdir}/%{name}/{LICENSE,API.txt,gpl-2.0.txt,mit-license.txt,std-ext-lib.txt}
chrpath --delete %{buildroot}%{_bindir}/babeltrace
chrpath --delete %{buildroot}%{_bindir}/babeltrace-log
chrpath --delete %{buildroot}%{_libdir}/*.so.*
%check
make check
@ -91,6 +87,9 @@ make check
%{_mandir}/man1/*.1.gz
%changelog
* Wed Aug 03 2022 wangkerong <wangkerong@h-partners.com> - 1.5.8-6
- revert remove rpath
* Fri Apr 22 2022 lin zhang <lin.zhang@turbolinux.com.cn> - 1.5.8-5
- Fix install failed