From 28bab1826c1414e15a790a69353233e20165a7b3abc67214b5c05333abb06389 Mon Sep 17 00:00:00 2001 From: Olaf Hering Date: Tue, 30 Aug 2016 15:46:34 +0000 Subject: [PATCH] - BuildRequire dvdread >= 5.0.2 libdvdnav-dvdread.patch OBS-URL: https://build.opensuse.org/package/show/multimedia:libs/libdvdnav?expand=0&rev=23 --- libdvdnav-dvdread.patch | 14 ++++++++++++++ libdvdnav.changes | 6 ++++++ libdvdnav.spec | 7 ++++--- 3 files changed, 24 insertions(+), 3 deletions(-) create mode 100644 libdvdnav-dvdread.patch diff --git a/libdvdnav-dvdread.patch b/libdvdnav-dvdread.patch new file mode 100644 index 0000000..acb6bb7 --- /dev/null +++ b/libdvdnav-dvdread.patch @@ -0,0 +1,14 @@ +--- + misc/dvdnav.pc.in | 2 +- + 1 file changed, 1 insertion(+), 1 deletion(-) + +--- a/misc/dvdnav.pc.in ++++ b/misc/dvdnav.pc.in +@@ -7,6 +7,6 @@ Name: libdvdnav + Description: DVD Navigation library + Version: @VERSION@ + +-Requires.private: dvdread >= 4.1.2 ++Requires.private: dvdread >= 5.0.2 + Cflags: -I${includedir} @THREAD_CFLAGS@ + Libs: -L${libdir} -ldvdnav @THREAD_LIBS@ diff --git a/libdvdnav.changes b/libdvdnav.changes index f059162..e0ef486 100644 --- a/libdvdnav.changes +++ b/libdvdnav.changes @@ -1,3 +1,9 @@ +------------------------------------------------------------------- +Tue Aug 30 15:45:33 UTC 2016 - olaf@aepfle.de + +- BuildRequire dvdread >= 5.0.2 + libdvdnav-dvdread.patch + ------------------------------------------------------------------- Fri Feb 06 13:34:47 UTC 2015 - joerg.lorenzen@ki.tng.de diff --git a/libdvdnav.spec b/libdvdnav.spec index 1b64418..8a9f125 100644 --- a/libdvdnav.spec +++ b/libdvdnav.spec @@ -1,7 +1,7 @@ # # spec file for package libdvdnav # -# Copyright (c) 2015 SUSE LINUX Products GmbH, Nuernberg, Germany. +# Copyright (c) 2016 SUSE LINUX GmbH, Nuernberg, Germany. # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed @@ -25,9 +25,10 @@ Version: 5.0.3 Release: 0 Source0: http://download.videolan.org/videolan/libdvdnav/%{version}/libdvdnav-%{version}.tar.bz2 Source1000: baselibs.conf +Patch0: libdvdnav-dvdread.patch Patch1: libdvdnav-strict-aliasing.patch BuildRoot: %{_tmppath}/%{name}-%{version}-build -BuildRequires: libdvdread-devel >= 4.2.0 +BuildRequires: libdvdread-devel >= 5.0.2 BuildRequires: libtool BuildRequires: pkg-config @@ -47,13 +48,13 @@ This library contains functions to display DVD video menus. Summary: Development Environment for libdvdnav Group: Development/Libraries/C and C++ Requires: libdvdnav4 = %{version} -Requires: libdvdread-devel %description devel This library contains functions to display DVD video menus. %prep %setup -q +%patch0 -p1 %patch1 %build