From 53f65303b545bb0cb95a024affb489d3f2e861c7 Mon Sep 17 00:00:00 2001 From: Christoph Wickert Date: Jun 30 2012 21:28:56 +0000 Subject: Define the Xfce version conditionally --- diff --git a/xfce4-diskperf-plugin.spec b/xfce4-diskperf-plugin.spec index a76ed2d..4513872 100644 --- a/xfce4-diskperf-plugin.spec +++ b/xfce4-diskperf-plugin.spec @@ -1,18 +1,22 @@ # Review: https://bugzilla.redhat.com/bugzilla/show_bug.cgi?id=173660 -%global minor_version 2.5 -%global xfceversion 4.10 +%global minorversion 2.5 +%if 0%{?fedora} >= 18 + %global xfceversion 4.10 +%else + %global xfceversion 4.8 +%endif Name: xfce4-diskperf-plugin Version: 2.5.4 -Release: 1%{?dist} +Release: 2%{?dist} Summary: Disk performance plugin for the Xfce panel Group: User Interface/Desktops License: BSD URL: http://goodies.xfce.org/panel-plugins/{%name} #VCS: git:git://git.xfce.org/panel-plugins/xfce4-diskperf-plugin -Source0: http://archive.xfce.org/src/panel-plugins/%{name}/%{minor_version}/%{name}-%{version}.tar.bz2 +Source0: http://archive.xfce.org/src/panel-plugins/%{name}/%{minorversion}/%{name}-%{version}.tar.bz2 BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) BuildRequires: libxfce4ui-devel >= 4.8.0 @@ -58,6 +62,9 @@ rm -rf %{buildroot} %changelog +* Sat Jun 30 2012 Christoph Wickert - 2.5.4-2 +- Define the Xfce version conditionally + * Sat Jun 30 2012 Christoph Wickert - 2.5.4-1 - Update to 2.5.4