From e56be84a07a967240e0fc051e379fc94629dc60124450cf549a07905cbe1d429 Mon Sep 17 00:00:00 2001 From: Fabian Vogt Date: Mon, 14 Aug 2017 08:17:16 +0000 Subject: [PATCH] - Only BuildRequire Qt WebEngine if available OBS-URL: https://build.opensuse.org/package/show/KDE:Applications/kio-extras5?expand=0&rev=59 --- kio-extras5.changes | 5 +++++ kio-extras5.spec | 4 ++-- 2 files changed, 7 insertions(+), 2 deletions(-) diff --git a/kio-extras5.changes b/kio-extras5.changes index df81e1c..7f9dcb6 100644 --- a/kio-extras5.changes +++ b/kio-extras5.changes @@ -1,3 +1,8 @@ +------------------------------------------------------------------- +Mon Aug 14 08:16:57 UTC 2017 - fabian@ritter-vogt.de + +- Only BuildRequire Qt WebEngine if available + ------------------------------------------------------------------- Fri Aug 11 22:45:36 UTC 2017 - christophe@krop.fr diff --git a/kio-extras5.spec b/kio-extras5.spec index 0d7c32c..0e001ee 100644 --- a/kio-extras5.spec +++ b/kio-extras5.spec @@ -68,17 +68,17 @@ BuildRequires: pkgconfig(bzip2) BuildRequires: pkgconfig(exiv2) BuildRequires: pkgconfig(smbclient) %if 0%{?suse_version} >= 1330 +%ifarch %ix86 x86_64 %arm aarch64 mips mips64 BuildRequires: pkgconfig(Qt5WebEngineWidgets) >= 5.7.0 %endif +%endif Recommends: kimageformats # we want some imageformats in Recommends: libqt5-qtimageformats #BuildRequires: update-desktop-files Provides: kfileaudiopreview = 4.100.0 Obsoletes: kfileaudiopreview < 4.100.0 -%if %{with lang} Recommends: %{name}-lang -%endif BuildRoot: %{_tmppath}/%{name}-%{version}-build %description