[xfce4-battery-plugin] Define the Xfce version conditionally

Christoph Wickert cwickert at fedoraproject.org
Sat Jun 30 21:19:47 UTC 2012


commit e7cf0580b8ee21a8bc84f8dc8598ffb91277b1cf
Author: Christoph Wickert <cwickert at fedoraproject.org>
Date:   Sat Jun 30 23:19:46 2012 +0200

    Define the Xfce version conditionally

 xfce4-battery-plugin.spec |   12 ++++++++++--
 1 files changed, 10 insertions(+), 2 deletions(-)
---
diff --git a/xfce4-battery-plugin.spec b/xfce4-battery-plugin.spec
index 466eb4d..aaca95a 100644
--- a/xfce4-battery-plugin.spec
+++ b/xfce4-battery-plugin.spec
@@ -1,11 +1,16 @@
 # Review: https://bugzilla.redhat.com/show_bug.cgi?id=173105
 
 %global minorversion 1.0
-%global xfceversion 4.10
+
+%if 0%{?fedora} >= 18
+    %global xfceversion 4.10
+%else
+    %global xfceversion 4.8
+%endif
 
 Name:           xfce4-battery-plugin
 Version:        1.0.5
-Release:        1%{?dist}
+Release:        2%{?dist}
 Summary:        Battery monitor for the Xfce panel
 
 Group:          User Interface/Desktops
@@ -74,6 +79,9 @@ rm -rf %{buildroot}
 
 
 %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.5-1
 - Update to 1.0.5
 


More information about the scm-commits mailing list