Antoine Belvire
2017-07-11 18:47:51 +00:00
committed by Git OBS Bridge
parent 23388a1841
commit 488dfe4a7d
+3 -6
View File
@@ -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=