!26 [sync] PR-25: remove rpath

From: @openeuler-sync-bot 
Reviewed-by: @caodongxia 
Signed-off-by: @caodongxia
This commit is contained in:
openeuler-ci-bot 2022-08-03 01:43:32 +00:00 committed by Gitee
commit 548d47ec08
No known key found for this signature in database
GPG Key ID: 173E9B9CA92EEF8F

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