!14 去除编译选项rpath

From: @renxichen
Reviewed-by: @xiezhipeng1
Signed-off-by: @xiezhipeng1
This commit is contained in:
openeuler-ci-bot 2021-09-07 06:51:54 +00:00 committed by Gitee
commit fc474d63fe

View File

@ -1,6 +1,6 @@
Name: audiofile
Version: 0.3.6
Release: 26
Release: 27
Summary: Library for reading and writing audio files in many common formats
License: LGPLv2+ and GPLv2+
URL: http://audiofile.68k.org/
@ -14,7 +14,7 @@ Patch5: backport-CVE-2017-6831.patch
Patch6: backport-CVE-2017-6838.patch
Patch7: backport-CVE-2017-6839.patch
BuildRequires: gcc-c++ libtool alsa-lib-devel flac-devel
BuildRequires: gcc-c++ libtool alsa-lib-devel flac-devel chrpath
%description
The Audio File Library is a C-based library for reading and writing audio files in many
@ -48,6 +48,8 @@ other resources you can use to develop Audio File applications.
rm -rf $RPM_BUILD_ROOT
%make_install
rm -f $RPM_BUILD_ROOT%{_libdir}/libaudiofile.la
chrpath --delete %{buildroot}%{_bindir}/sfinfo
chrpath --delete %{buildroot}%{_bindir}/sfconvert
%check
make check
@ -80,6 +82,12 @@ make check
%{_mandir}/man3/*
%changelog
* Mon Sep 6 2021 Hongxun Ren<renhongxun@huawei.com> - 0.3.6-27
- Type:enhanence
- ID:NA
- SUG:NA
- DESC:remove rpath
* Thu Jul 22 2021 wuchaochao <wuchaochao4@huawei.com> - 0.3.6-26
- Remove BuildRequires gdb