From d3eb8bf09d8b788c8aa335b21470360f5b2120724ffa7ae7d7a7c62173b6400f Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Tom=C3=A1=C5=A1=20Chv=C3=A1tal?= Date: Wed, 11 Oct 2017 10:54:13 +0000 Subject: [PATCH] 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 --- libid3tag.changes | 6 ++++++ libid3tag.spec | 7 +++---- 2 files changed, 9 insertions(+), 4 deletions(-) diff --git a/libid3tag.changes b/libid3tag.changes index 1bbeb59..90052ac 100644 --- a/libid3tag.changes +++ b/libid3tag.changes @@ -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 diff --git a/libid3tag.spec b/libid3tag.spec index 42e9901..3b07407 100644 --- a/libid3tag.spec +++ b/libid3tag.spec @@ -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