From 590b93a6fa036255eb41a54608492f207e67013429c2cde29b331dfc92a7a6e0 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Ismail=20D=C3=B6nmez?= Date: Wed, 16 Aug 2017 09:29:59 +0000 Subject: [PATCH] Accepting request 517150 from home:dimstar:Factory - BuildRequire pkgconfig(lua5.1) instead of pkgconfig(lua-5.1): the .pc files has been normalized to match other distributions. OBS-URL: https://build.opensuse.org/request/show/517150 OBS-URL: https://build.opensuse.org/package/show/multimedia:apps/mpv?expand=0&rev=102 --- mpv.changes | 6 ++++++ mpv.spec | 11 +++++------ 2 files changed, 11 insertions(+), 6 deletions(-) diff --git a/mpv.changes b/mpv.changes index e6af608..2cdbd14 100644 --- a/mpv.changes +++ b/mpv.changes @@ -1,3 +1,9 @@ +------------------------------------------------------------------- +Tue Aug 15 10:31:17 UTC 2017 - dimstar@opensuse.org + +- BuildRequire pkgconfig(lua5.1) instead of pkgconfig(lua-5.1): the + .pc files has been normalized to match other distributions. + ------------------------------------------------------------------- Wed Jul 19 11:26:19 UTC 2017 - aloisio@gmx.com diff --git a/mpv.spec b/mpv.spec index 7a665f2..cf92ab6 100644 --- a/mpv.spec +++ b/mpv.spec @@ -74,11 +74,6 @@ BuildRequires: pkgconfig(libudf) BuildRequires: pkgconfig(libv4l2) BuildRequires: pkgconfig(libva) >= 0.36.0 BuildRequires: pkgconfig(libva-x11) >= 0.36.0 -%if 0%{?suse_version} > 1320 -BuildRequires: pkgconfig(lua-5.1) -%else -BuildRequires: pkgconfig(lua) -%endif BuildRequires: pkgconfig(python3) BuildRequires: pkgconfig(rubberband) BuildRequires: pkgconfig(smbclient) @@ -101,7 +96,11 @@ Recommends: youtube-dl # Obsoletion of mplayer2 that is dead for 2 years now Provides: mplayer2 = 20140101 Obsoletes: mplayer2 < 20140101 -BuildRoot: %{_tmppath}/%{name}-%{version}-build +%if 0%{?suse_version} > 1320 +BuildRequires: pkgconfig(lua5.1) +%else +BuildRequires: pkgconfig(lua) +%endif # JIT for lua. %if 0%{?suse_version} > 1320 %ifarch aarch64 %{ix86} x86_64