From 488dfe4a7d0b1c36700c7dc8f3e2a6352bd4b18d5e8edae2017d0884202a0fd7 Mon Sep 17 00:00:00 2001 From: Antoine Belvire Date: Tue, 11 Jul 2017 18:47:51 +0000 Subject: [PATCH] OBS-URL: https://build.opensuse.org/package/show/multimedia:libs/movit?expand=0&rev=21 --- movit.spec | 9 +++------ 1 file changed, 3 insertions(+), 6 deletions(-) diff --git a/movit.spec b/movit.spec index c7aa1fd..0d6201f 100644 --- a/movit.spec +++ b/movit.spec @@ -26,12 +26,11 @@ Group: Development/Libraries/C and C++ Url: https://movit.sesse.net Source0: https://movit.sesse.net/movit-%{version}.tar.gz Source1: COPYING -%if 0%{?suse_version} > 1320 -BuildRequires: gcc-c++ -%endif %if 0%{?suse_version} == 1315 -# Leap 42.2+ / SLE12SP2Backports +# Leap 42.2+ / SLE12SP2Backports, C++14 needed BuildRequires: gcc6-c++ +%else +BuildRequires: gcc-c++ %endif BuildRequires: make BuildRequires: pkg-config @@ -92,8 +91,6 @@ cp -av %{SOURCE1} . %build test -x "$(type -p gcc-6)" && export CC=gcc-6 test -x "$(type -p g++-6)" && export CXX=g++-6 -test -x "$(type -p gcc-7)" && export CC=gcc-7 -test -x "$(type -p g++-7)" && export CXX=g++-7 %configure --disable-static --datarootdir=%{_datadir}/libmovit%{_sonum} make %{?_smp_mflags} TESTS=