!7 Remove rpath compilation option

From: @wcc_140409
Reviewed-by: @openeuler-basic
Signed-off-by: @openeuler-basic
This commit is contained in:
openeuler-ci-bot 2021-09-07 11:32:29 +00:00 committed by Gitee
commit 3b0a343027

View File

@ -2,13 +2,13 @@
Name: libvorbis
Version: 1.3.7
Release: 1
Release: 2
Summary: The Vorbis General Audio Compression Codec
Epoch: 1
License: BSD
URL: https://www.xiph.org/
Source: https://downloads.xiph.org/releases/vorbis/%{name}-%{version}.tar.xz
BuildRequires: gcc, pkgconfig(ogg) >= 1.0
BuildRequires: gcc, pkgconfig(ogg) >= 1.0 chrpath
%description
@ -48,6 +48,8 @@ rm -f $RPM_BUILD_ROOT%{_libdir}/*.la
%check
make check
chrpath -d %{buildroot}%{_libdir}/libvorbis*
%files
%doc AUTHORS
%license COPYING
@ -70,6 +72,12 @@ make check
%ldconfig_scriptlets
%changelog
* Sat Sep 4 2021 wuchaochao <wuchaochao4@huawei.com> - 1.3.7-2
- Type:bugfix
- ID:NA
- SUG:NA
- DESC:Remove rpath compilation option
* Thu Jul 28 2020 wenzhanli<wenzhanli2@huawei.com> - 1.3.7-1
- Type:bugfix
- ID:NA