[xfce4-cpugraph-plugin] Define the Xfce version conditionally
Christoph Wickert
cwickert at fedoraproject.org
Sat Jun 30 21:23:57 UTC 2012
commit 313933176c1b850450a739c709a4205f1a39275a
Author: Christoph Wickert <cwickert at fedoraproject.org>
Date: Sat Jun 30 23:23:55 2012 +0200
Define the Xfce version conditionally
xfce4-cpugraph-plugin.spec | 12 ++++++++++--
1 files changed, 10 insertions(+), 2 deletions(-)
---
diff --git a/xfce4-cpugraph-plugin.spec b/xfce4-cpugraph-plugin.spec
index 0490dc5..bf06210 100644
--- a/xfce4-cpugraph-plugin.spec
+++ b/xfce4-cpugraph-plugin.spec
@@ -1,11 +1,16 @@
# Review: https://bugzilla.redhat.com/bugzilla/show_bug.cgi?id=173658
%global minorversion 1.0
-%global xfceversion 4.10
+
+%if 0%{?fedora} >= 18
+ %global xfceversion 4.10
+%else
+ %global xfceversion 4.8
+%endif
Name: xfce4-cpugraph-plugin
Version: 1.0.3
-Release: 1%{?dist}
+Release: 2%{?dist}
Summary: CPU monitor for the Xfce panel
Group: User Interface/Desktops
@@ -75,6 +80,9 @@ rm -rf %{buildroot}
%{_datadir}/icons/hicolor/*/*/*
%changelog
+* Sat Jun 30 2012 Christoph Wickert <cwickert at fedoraproject.org> - 1.0.5-2
+- Define the Xfce version conditionally
+
* Sat Jun 30 2012 Christoph Wickert <cwickert at fedoraproject.org> - 1.0.3-1
- Update to 1.0.3
More information about the scm-commits
mailing list