Accepting request 533352 from home:lnussel:branches:multimedia:libs

- dont BuildRequire zypper to avoid unecessary dependency chain.
  Check for %suse_version instead.

OBS-URL: https://build.opensuse.org/request/show/533352
OBS-URL: https://build.opensuse.org/package/show/multimedia:libs/libid3tag?expand=0&rev=16
This commit is contained in:
Tomáš Chvátal 2017-10-11 10:54:13 +00:00 committed by Git OBS Bridge
parent be01ceffd2
commit d3eb8bf09d
2 changed files with 9 additions and 4 deletions

View File

@ -1,3 +1,9 @@
-------------------------------------------------------------------
Wed Oct 11 08:15:53 UTC 2017 - lnussel@suse.de
- dont BuildRequire zypper to avoid unecessary dependency chain.
Check for %suse_version instead.
-------------------------------------------------------------------
Thu May 11 09:35:46 UTC 2017 - alarrosa@suse.com

View File

@ -39,7 +39,6 @@ BuildRequires: gperf
BuildRequires: libtool
BuildRequires: pkg-config
BuildRequires: zlib-devel
BuildRequires: zypper
BuildRoot: %{_tmppath}/%{name}-%{version}-build
%description
@ -48,8 +47,8 @@ the various versions of ID3v2.
%package -n %{lname}
Summary: ID3 Tag Manipulation Library
Group: System/Libraries
# O/P added for 12.3
Group: System/Libraries
Obsoletes: libid3tag < %{version}-%{release}
Provides: libid3tag = %{version}-%{release}
@ -76,9 +75,9 @@ develop applications with libid3tag.
%patch4
%patch5
%patch6
if zypper vcmp $(rpm -q --qf "%%{version}" gperf) 3.1 | grep -v "is older"; then
%if 0%{?suse_version} > 1320
%patch7 -p1
fi
%endif
%build
autoreconf -fiv