From da25e0dfbf267fb8204a6914bb3dd84cfc5e988b Mon Sep 17 00:00:00 2001 From: Rex Dieter Date: Thu, 7 Jun 2018 11:23:39 -0500 Subject: [PATCH] use %majmin --- kf5-kidletime.spec | 15 +++++++++------ 1 file changed, 9 insertions(+), 6 deletions(-) diff --git a/kf5-kidletime.spec b/kf5-kidletime.spec index 90e1c37..2cc344c 100644 --- a/kf5-kidletime.spec +++ b/kf5-kidletime.spec @@ -2,26 +2,26 @@ Name: kf5-%{framework} Version: 5.47.0 -Release: 1%{?dist} +Release: 2%{?dist} Summary: KDE Frameworks 5 Tier 1 integration module for idle time detection License: GPLv2+ 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 +Source0: http://download.kde.org/%{stable}/frameworks/%{majmin}/%{framework}-%{version}.tar.xz # filter plugin provides %global __provides_exclude_from ^(%{_kf5_plugindir}/.*\\.so)$ -BuildRequires: extra-cmake-modules >= %{version} -BuildRequires: kf5-rpm-macros >= %{version} +BuildRequires: extra-cmake-modules >= %{majmin} +BuildRequires: kf5-rpm-macros >= %{majmin} BuildRequires: qt5-qtbase-devel BuildRequires: qt5-qtx11extras-devel @@ -32,7 +32,7 @@ BuildRequires: pkgconfig(xcb-sync) BuildRequires: pkgconfig(xscrnsaver) -Requires: kf5-filesystem >= %{version} +Requires: kf5-filesystem >= %{majmin} %description KDE Frameworks 5 Tier 1 integration module for idle time detection. @@ -83,6 +83,9 @@ make install/fast DESTDIR=%{buildroot} -C %{_target_platform} %changelog +* Thu Jun 07 2018 Rex Dieter - 5.47.0-2 +- use %%majmin + * Sat Jun 02 2018 Rex Dieter - 5.47.0-1 - 5.47.0