vorbis-tools: add chrpath in BuildRequires

previous commit (92f2257) introduce chrpath in install section.
To avoid build issue which means someone didn't buid with OBS can buid this pack successfully,
add chrpath to BuildRequires like other spec did.

The target for this change is to remove specific BuildRequires from project config to spec file.

Signed-off-by: Chenxi Mao <chenxi.mao@suse.com>
This commit is contained in:
Chenxi Mao 2021-10-28 03:30:26 +00:00
parent 727afa10f2
commit a6ee4758e3

View File

@ -1,14 +1,14 @@
Name: vorbis-tools Name: vorbis-tools
Summary: Several Ogg Vorbis Tools Summary: Several Ogg Vorbis Tools
Version: 1.4.2 Version: 1.4.2
Release: 2 Release: 3
Epoch: 1 Epoch: 1
License: GPLv2 License: GPLv2
URL: http://www.xiph.org/ URL: http://www.xiph.org/
Source: http://downloads.xiph.org/releases/vorbis/%{name}-%{version}.tar.gz Source: http://downloads.xiph.org/releases/vorbis/%{name}-%{version}.tar.gz
Patch1: vorbis-tools-1.4.2-man-page.patch 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} Obsoletes: vorbis < %{epoch}:%{version}-%{release}
Provides: vorbis = %{epoch}:%{version}-%{release} Provides: vorbis = %{epoch}:%{version}-%{release}
@ -48,6 +48,9 @@ chrpath -d %{buildroot}%{_bindir}/*
%exclude %{_docdir}/%{name}* %exclude %{_docdir}/%{name}*
%changelog %changelog
* Thu Oct 28 2021 Chenxi Mao <chenxi.mao@suse.com> - 1:1.4.2-3
- Add chrpath to BuildRequires
* Wed Sep 9 2021 caodongxia <caodongxia@huawei.com> - 1:1.4.2-2 * Wed Sep 9 2021 caodongxia <caodongxia@huawei.com> - 1:1.4.2-2
- Remove rpath - Remove rpath