From d7b6a12c0e59179395f665c604b016484c36a60abefa7a277df68e63f1635be9 Mon Sep 17 00:00:00 2001 From: Dave Plater Date: Fri, 22 Nov 2024 05:31:09 +0000 Subject: [PATCH] fix 15.6 build OBS-URL: https://build.opensuse.org/package/show/multimedia:xine/xine-lib?expand=0&rev=156 --- xine-lib.spec | 10 +++++++--- 1 file changed, 7 insertions(+), 3 deletions(-) diff --git a/xine-lib.spec b/xine-lib.spec index d588fcd..4016e74 100644 --- a/xine-lib.spec +++ b/xine-lib.spec @@ -61,7 +61,12 @@ BuildRequires: pkgconfig(libv4l2) BuildRequires: pkgconfig(libvcdinfo) BuildRequires: pkgconfig(lirc) BuildRequires: pkgconfig(mad) +%if 0%{?suse_version} < 1600 +BuildRequires: readline-devel +%else BuildRequires: pkgconfig(readline) +%endif +BuildRequires: update-desktop-files BuildRequires: pkgconfig(smbclient) BuildRequires: pkgconfig(theora) BuildRequires: pkgconfig(vorbis) @@ -74,7 +79,6 @@ BuildRequires: pkgconfig(xext) BuildRequires: pkgconfig(xv) BuildRequires: pkgconfig(xvmc) BuildRequires: pkgconfig(zlib) -BuildRequires: update-desktop-files %if %{without distributable} BuildRequires: pkgconfig(faad2) BuildRequires: pkgconfig(glesv2) @@ -175,10 +179,10 @@ Autoren: Summary: Development environment for xine-based media players License: GPL-2.0-or-later AND SUSE-Public-Domain Group: Development/Libraries/C and C++ -Requires: pkgconfig(freetype2) Requires: glibc-devel -Requires: pkgconfig(libv4l2) Requires: libxine2 = %{version} +Requires: pkgconfig(freetype2) +Requires: pkgconfig(libv4l2) Requires: pkgconfig(zlib) Obsoletes: libxine2-devel < %{version}-%{release} Provides: libxine2-devel = %{version}-%{release}