remove rpath

(cherry picked from commit 4916f3b75d90a9d81360f197eae576a594d4bfcc)
This commit is contained in:
caodongxia 2022-07-30 11:36:45 +08:00 committed by openeuler-sync-bot
parent 04fd355e9c
commit 401b7f1211

View File

@ -1,14 +1,14 @@
Name: vorbis-tools
Summary: Several Ogg Vorbis Tools
Version: 1.4.2
Release: 1
Release: 2
Epoch: 1
License: GPLv2
URL: http://www.xiph.org/
Source: http://downloads.xiph.org/releases/vorbis/%{name}-%{version}.tar.gz
Patch1: vorbis-tools-1.4.2-man-page.patch
BuildRequires: flac-devel gettext gcc libao-devel libcurl-devel libvorbis-devel speex-devel
BuildRequires: flac-devel gettext gcc libao-devel libcurl-devel libvorbis-devel speex-devel chrpath
Obsoletes: vorbis < %{epoch}:%{version}-%{release}
Provides: vorbis = %{epoch}:%{version}-%{release}
@ -34,6 +34,7 @@ export CFLAGS="$RPM_OPT_FLAGS -Wno-error=format-security"
%install
%make_install
chrpath -d %{buildroot}%{_bindir}/*
%find_lang %{name}
@ -47,6 +48,9 @@ export CFLAGS="$RPM_OPT_FLAGS -Wno-error=format-security"
%exclude %{_docdir}/%{name}*
%changelog
* Sat Jul 30 2022 caodongxia <caodongxia@h-partners.com> - 1:1.4.2-2
- Remove rpath
* Sat Jan 30 2021 caodongxia <caodongxia@huawei.com> - 1:1.4.2-1
- Update to 1.4.2