From 44efe033efff4f92fbdef1bb0825293e243b5ba8 Mon Sep 17 00:00:00 2001 From: Rex Dieter Date: Mon, 19 Dec 2016 09:21:25 -0600 Subject: [PATCH] BR: syntax-highlighting, update URL, use majmin --- kf5-ktexteditor.spec | 27 ++++++++++++++------------- 1 file changed, 14 insertions(+), 13 deletions(-) diff --git a/kf5-ktexteditor.spec b/kf5-ktexteditor.spec index b6c4c36..b1df204 100644 --- a/kf5-ktexteditor.spec +++ b/kf5-ktexteditor.spec @@ -13,29 +13,30 @@ Release: 1%{?dist} Summary: KDE Frameworks 5 Tier 3 with advanced embeddable text editor License: LGPLv2+ -URL: https://quickgit.kde.org/?p=%{framework}.git +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 +Source0: http://download.kde.org/%{stable}/frameworks/%{majmin}/%{framework}-%{version}.tar.xz ## Upstream patches -BuildRequires: extra-cmake-modules >= %{version} -BuildRequires: kf5-karchive-devel >= %{version} -BuildRequires: kf5-kconfig-devel >= %{version} -BuildRequires: kf5-kguiaddons-devel >= %{version} -BuildRequires: kf5-ki18n-devel >= %{version} -BuildRequires: kf5-kiconthemes-devel >= %{version} -BuildRequires: kf5-kio-devel >= %{version} -BuildRequires: kf5-kparts-devel >= %{version} -BuildRequires: kf5-rpm-macros >= %{version} -BuildRequires: kf5-sonnet-devel >= %{version} +BuildRequires: extra-cmake-modules >= %{majmin} +BuildRequires: kf5-karchive-devel >= %{majmin} +BuildRequires: kf5-kconfig-devel >= %{majmin} +BuildRequires: kf5-kguiaddons-devel >= %{majmin} +BuildRequires: kf5-ki18n-devel >= %{majmin} +BuildRequires: kf5-kiconthemes-devel >= %{majmin} +BuildRequires: kf5-kio-devel >= %{majmin} +BuildRequires: kf5-kparts-devel >= %{majmin} +BuildRequires: kf5-rpm-macros >= %{majmin} +BuildRequires: kf5-sonnet-devel >= %{majmin} +BuildRequires: kf5-syntax-highlighting-devel >= %{majmin} BuildRequires: qt5-qtbase-devel BuildRequires: qt5-qtscript-devel BuildRequires: qt5-qtxmlpatterns-devel