commit 245ee55bc3b5934b17b570fe79cd84deafacbc39
Author: leigh123linux <leigh123linux(a)googlemail.com>
Date: Fri Jul 8 08:48:50 2016 +0100
use kinit requires macro
kaffeine.spec | 13 +++++++++++--
1 file changed, 11 insertions(+), 2 deletions(-)
---
diff --git a/kaffeine.spec b/kaffeine.spec
index 1252cf4..ad7d1ff 100644
--- a/kaffeine.spec
+++ b/kaffeine.spec
@@ -1,12 +1,18 @@
Name: kaffeine
Version: 2.0.4
-Release: 2%{?dist}
+Release: 3%{?dist}
License: GPLv2+
Summary: KDE media player
Group: Applications/Multimedia
URL:
http://kaffeine.kde.org/
-Source0:
http://download.kde.org/stable/%{name}/%{version}/src/%{name}-%{version}....
+Source0:
http://download.kde.org/%{stable}/%{name}/%{version}/src/%{name}-%{versio...
+%global revision %(echo %{version} | cut -d. -f3)
+%if %{revision} >= 50
+%global stable unstable
+%else
+%global stable stable
+%endif
BuildRequires: desktop-file-utils
BuildRequires: libappstream-glib
@@ -85,6 +91,9 @@ fi
%{_kf5_mandir}/man1/kaffeine.1.*
%changelog
+* Fri Jul 08 2016 Leigh Scott <leigh123linux(a)googlemail.com> - 2.0.4-3
+- use kinit requires macro
+
* Thu Jul 07 2016 Leigh Scott <leigh123linux(a)googlemail.com> - 2.0.4-2
- add some missing runtime deps