From 351faa8d76df281596259eb4e33ddffce20dd71e Mon Sep 17 00:00:00 2001 From: Rex Dieter Date: Thu, 28 May 2020 10:46:05 -0500 Subject: [PATCH] fix build introducts hard qtwebengine dep, to limit archs --- kaccounts-providers.spec | 10 ++++++++++ 1 file changed, 10 insertions(+) diff --git a/kaccounts-providers.spec b/kaccounts-providers.spec index 49a631c..a4a4a27 100644 --- a/kaccounts-providers.spec +++ b/kaccounts-providers.spec @@ -13,6 +13,9 @@ URL: https://cgit.kde.org/%{name}.git %endif Source0: http://download.kde.org/%{stable}/release-service/%{version}/src/%{name}-%{version}.tar.xz +# handled by qt5-srpm-macros, which defines %%qt5_qtwebengine_arches +%{?qt5_qtwebengine_arches:ExclusiveArch: %{qt5_qtwebengine_arches}} + BuildRequires: extra-cmake-modules BuildRequires: intltool %global majmin_ver %(echo %{version} | cut -d. -f1,2) @@ -21,8 +24,11 @@ BuildRequires: kf5-kdeclarative-devel BuildRequires: kf5-ki18n-devel BuildRequires: kf5-kio-devel BuildRequires: kf5-rpm-macros + BuildRequires: pkgconfig(libaccounts-glib) BuildRequires: pkgconfig(Qt5Gui) +BuildRequires: pkgconfig(Qt5Qml) +BuildRequires: pkgconfig(QtWebEngine) Requires: signon-ui @@ -60,8 +66,12 @@ make install/fast DESTDIR=%{buildroot} -C %{_target_platform} %{_kf5_datadir}/kpackage/genericqml/org.kde.kaccounts.owncloud/ %dir %{_qt5_plugindir}/kaccounts/ %dir %{_qt5_plugindir}/kaccounts/ui/ +%{_qt5_plugindir}/kaccounts/ui/nextcloud_plugin_kaccounts.so +%{_datadir}/accounts/services/kde/ %{_qt5_plugindir}/kaccounts/ui/owncloud_plugin_kaccounts.so %{_kf5_metainfodir}/org.kde.kaccounts.owncloud.appdata.xml +%{_kf5_datadir}/kpackage/genericqml/org.kde.kaccounts.nextcloud/ +%{_kf5_metainfodir}/org.kde.kaccounts.nextcloud.appdata.xml %changelog