From 72c9fb592ea8d8555995f612f2ad075e23826886 Mon Sep 17 00:00:00 2001 From: Rex Dieter Date: Thu, 25 Jun 2020 07:55:20 -0500 Subject: [PATCH] tweak plasma_version, use with libworkspace versioned dep --- powerdevil.spec | 11 ++++++----- 1 file changed, 6 insertions(+), 5 deletions(-) diff --git a/powerdevil.spec b/powerdevil.spec index 355bf6a..827ea29 100644 --- a/powerdevil.spec +++ b/powerdevil.spec @@ -1,17 +1,15 @@ %global kf5_version 5.42.0 -# FIXME Remove once updated to 5.19.3 -%global plasma_version 5.19.2 - Name: powerdevil Version: 5.19.2.1 -Release: 2%{?dist} +Release: 3%{?dist} Summary: Manages the power consumption settings of a Plasma Shell License: GPLv2+ URL: https://cgit.kde.org/%{name}.git +%global plasma_version %(echo %{version} | cut -d. -f1,2,3) %global revision %(echo %{version} | cut -d. -f3) %if %{revision} >= 50 %global majmin_ver %(echo %{version} | cut -d. -f1,2).50 @@ -29,7 +27,7 @@ Source0: http://download.kde.org/%{stable}/plasma/%{plasma_version}/%{name}-%{ve # plasma deps BuildRequires: plasma-workspace-devel >= %{plasma_version} -Requires: libkworkspace5%{?_isa} >= %{version} +Requires: libkworkspace5%{?_isa} >= %{plasma_version} # kf5 BuildRequires: extra-cmake-modules @@ -114,6 +112,9 @@ rm -fv %{buildroot}/%{_libdir}/libpowerdevil{configcommonprivate,core,ui}.so %changelog +* Thu Jun 25 2020 Rex Dieter - 5.19.2.1-3 +- tweak plasma_version, use with libworkspace versioned dep + * Tue Jun 23 2020 Jan Grulich - 5.19.2.1-1 - 5.19.2.1