!15 [sync] PR-13: 【cleancode】revert remove rpath

From: @openeuler-sync-bot 
Reviewed-by: @yanan-rock 
Signed-off-by: @yanan-rock
This commit is contained in:
openeuler-ci-bot 2022-09-01 02:14:36 +00:00 committed by Gitee
commit 17bcfc32c4
No known key found for this signature in database
GPG Key ID: 173E9B9CA92EEF8F

View File

@ -1,6 +1,6 @@
Name: babeltrace
Version: 1.5.8
Release: 2
Release: 3
Summary: Common Trace Format Babel Tower
License: MIT and GPLv2
URL: https://www.efficios.com/babeltrace
@ -8,7 +8,7 @@ Source0: https://www.efficios.com/files/%{name}/%{name}-%{version}.tar.bz2
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 git gcc perl-Test-Harness chrpath
BuildRequires: libuuid-devel python3-devel libtool git gcc perl-Test-Harness
Provides: lib%{name}
Obsoletes: lib%{name}
@ -53,9 +53,6 @@ rm -rf $RPM_BUILD_ROOT
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
@ -88,6 +85,12 @@ make check
%{_mandir}/man1/*.1.gz
%changelog
* Wed Aug 03 2022 wangkerong<wangkerong@h-partners.com> - 1.5.8-3
- Type:cleancode
- ID:NA
- SUG:NA
- DESC:revert remove rpath
* Mon Sep 07 2021 Hongxun Ren<renhongxun@huawei.com> - 1.5.8-2
- Type:enhancement
- ID:NA