remove rpath
This commit is contained in:
parent
175b04a5cf
commit
01d99ecde6
@ -1,6 +1,6 @@
|
|||||||
Name: babeltrace
|
Name: babeltrace
|
||||||
Version: 1.5.8
|
Version: 1.5.8
|
||||||
Release: 2
|
Release: 3
|
||||||
Summary: Common Trace Format Babel Tower
|
Summary: Common Trace Format Babel Tower
|
||||||
License: MIT and GPLv2
|
License: MIT and GPLv2
|
||||||
URL: https://www.efficios.com/babeltrace
|
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: 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: popt-devel >= 1.13 swig >= 2.0 elfutils-devel >= 0.154
|
||||||
BuildRequires: libuuid-devel python3-devel libtool gcc perl-Test-Harness
|
BuildRequires: libuuid-devel python3-devel libtool gcc perl-Test-Harness chrpath
|
||||||
|
|
||||||
Provides: lib%{name}
|
Provides: lib%{name}
|
||||||
Obsoletes: lib%{name}
|
Obsoletes: lib%{name}
|
||||||
@ -54,6 +54,10 @@ find %{buildroot} -type f -name "*.la" -delete -print
|
|||||||
#Remove installed doc
|
#Remove installed doc
|
||||||
rm %{buildroot}/%{_docdir}/%{name}/{LICENSE,API.txt,gpl-2.0.txt,mit-license.txt,std-ext-lib.txt}
|
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
|
%check
|
||||||
make check
|
make check
|
||||||
|
|
||||||
@ -85,6 +89,12 @@ make check
|
|||||||
%{_mandir}/man1/*.1.gz
|
%{_mandir}/man1/*.1.gz
|
||||||
|
|
||||||
%changelog
|
%changelog
|
||||||
|
* Sat Sep 4 2021 Hongxun Ren<renhongxun@huawei.com> - 1.5.8-3
|
||||||
|
- Type:enhancement
|
||||||
|
- ID:NA
|
||||||
|
- SUG:NA
|
||||||
|
- DESC:remove rpath
|
||||||
|
|
||||||
* Fri Jul 30 2021 chenyanpanHW <chenyanpan@huawei.com> - 1.5.8-2
|
* Fri Jul 30 2021 chenyanpanHW <chenyanpan@huawei.com> - 1.5.8-2
|
||||||
- DESC: delete -Sgit from %autosetup, and delete BuildRequires git
|
- DESC: delete -Sgit from %autosetup, and delete BuildRequires git
|
||||||
|
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user