Christophe Giboudeaux 2020-03-28 14:35:47 +00:00 committed by Git OBS Bridge
parent 418bb3defd
commit e4916743e3

View File

@ -68,15 +68,6 @@ ExclusiveArch: %{ix86} x86_64 %{arm} aarch64 mips mips64
Source1: https://download.kde.org/unstable/release-service/%{version}/src/%{name}-%{version}.tar.xz.sig
Source2: applications.keyring
%endif
# Needed for 42.3
%if 0%{?suse_version} < 1330
# It does not build with the default compiler (GCC 4.8) on Leap 42.x
%if 0%{?sle_version} < 120300
BuildRequires: gcc6-c++
%else
BuildRequires: gcc7-c++
%endif
%endif
%description
Konqueror allows you to manage your files and browse the web in a
@ -123,25 +114,15 @@ Development package for the konqueror libraries.
%setup -q
%build
%if 0%{?suse_version} < 1330
# It does not build with the default compiler (GCC 4.8) on Leap 42.x
%if 0%{?sle_version} < 120300
export CC=gcc-6
export CXX=g++-6
%else
export CC=gcc-7
export CXX=g++-7
%endif
%endif
%cmake_kf5 -d build
%cmake_build
%cmake_kf5 -d build
%cmake_build
%install
%kf5_makeinstall -C build
%if %{with lang}
%find_lang %{name} --with-man --all-name
%{kf5_find_htmldocs}
%endif
%kf5_makeinstall -C build
%if %{with lang}
%find_lang %{name} --with-man --all-name
%{kf5_find_htmldocs}
%endif
%post -p /sbin/ldconfig
%postun -p /sbin/ldconfig