From 91b98ceabb528cb4e706605cb7ef5a856eaa3c15 Mon Sep 17 00:00:00 2001 From: Rex Dieter Date: Mon, 4 Dec 2017 11:40:44 -0600 Subject: [PATCH] update BR's with pkg names --- qqc2-desktop-style.spec | 15 +++++++++------ 1 file changed, 9 insertions(+), 6 deletions(-) diff --git a/qqc2-desktop-style.spec b/qqc2-desktop-style.spec index 11d822b..6b6f5cd 100644 --- a/qqc2-desktop-style.spec +++ b/qqc2-desktop-style.spec @@ -10,18 +10,21 @@ Summary: QtQuickControls2 style for consistency between QWidget and QML apps License: (LGPLv3 or GPLv3) and LGPLv2+ URL: https://cgit.kde.org/%{framework}.git -%global versiondir %(echo %{version} | cut -d. -f1-2) +%global majmin %(echo %{version} | cut -d. -f1-2) %global revision %(echo %{version} | cut -d. -f3) %if %{revision} >= 50 %global stable unstable %else %global stable stable %endif -Source0: http://download.kde.org/%{stable}/frameworks/%{versiondir}/%{framework}-%{version}.tar.xz - -BuildRequires: extra-cmake-modules >= %{version} -BuildRequires: kf5-rpm-macros >= %{version} - +Source0: http://download.kde.org/%{stable}/frameworks/%{majmin}/%{framework}-%{version}.tar.xz + +BuildRequires: extra-cmake-modules >= %{majmin} +BuildRequires: kf5-rpm-macros +BuildRequires: kf5-kirigami2-devel >= %{majmin} +BuildRequires: kf5-kconfigwidgets-devel >= %{majmin} +BuildRequires: kf5-kiconthemes-devel >= %{majmin} +# cmake() style BuildRequires: cmake(KF5Kirigami2) >= %{version} BuildRequires: cmake(KF5ConfigWidgets) BuildRequires: cmake(KF5IconThemes)