diff --git a/kde-cli-tools.spec b/kde-cli-tools.spec index eb8d77b..3aa0281 100644 --- a/kde-cli-tools.spec +++ b/kde-cli-tools.spec @@ -8,8 +8,10 @@ URL: https://cgit.kde.org/%{name} %global revision %(echo %{version} | cut -d. -f3) %if %{revision} >= 50 +%global majmin_ver %(echo %{version} | cut -d. -f1,2).50 %global stable unstable %else +%global majmin_ver %(echo %{version} | cut -d. -f1,2) %global stable stable %endif Source0: http://download.kde.org/%{stable}/plasma/%{version}/%{name}-%{version}.tar.xz @@ -32,9 +34,8 @@ BuildRequires: kf5-kdesu-devel BuildRequires: kf5-kdelibs4support-devel BuildRequires: kf5-kwindowsystem-devel BuildRequires: kf5-kactivities-devel -BuildRequires: plasma-workspace-devel >= %{majmin_ver} - -Requires: kf5-filesystem +# todo: consider adjusting things to allow majmin +BuildRequires: plasma-workspace-devel >= %{version} # probably could be unversioned, but let's play it safe so we can avoid adding Conflicts: -- rex Requires: kdesu = 1:%{version}-%{release} @@ -109,6 +110,8 @@ ln -s %{_kf5_libexecdir}/kdesu %{buildroot}%{_bindir}/kdesu %changelog * Thu Aug 02 2018 Rex Dieter - 5.13.4-1 - 5.13.4 +- stricter BR: plasma-workspace-devel +- drop Requires: kf5-filesystem * Fri Jul 13 2018 Fedora Release Engineering - 5.13.3-2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_29_Mass_Rebuild