tweak plasma_version, use with libworkspace versioned dep

epel9
Rex Dieter 5 years ago
parent cce542e2e1
commit 72c9fb592e

@ -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 <rdieter@fedoraproject.org> - 5.19.2.1-3
- tweak plasma_version, use with libworkspace versioned dep
* Tue Jun 23 2020 Jan Grulich <jgrulich@redhat.com> - 5.19.2.1-1
- 5.19.2.1

Loading…
Cancel
Save