[xfce4-battery-plugin] Apply patch conditionally

Christoph Wickert cwickert at fedoraproject.org
Sat Jan 8 23:47:22 UTC 2011


commit b484c3ee3e480f7ae974f7e89820563843a14ef3
Author: Christoph Wickert <cwickert at fedoraproject.org>
Date:   Sun Jan 9 00:47:10 2011 +0100

    Apply patch conditionally

 xfce4-battery-plugin.spec |    2 ++
 1 files changed, 2 insertions(+), 0 deletions(-)
---
diff --git a/xfce4-battery-plugin.spec b/xfce4-battery-plugin.spec
index b6a7e6c..afb1056 100644
--- a/xfce4-battery-plugin.spec
+++ b/xfce4-battery-plugin.spec
@@ -24,7 +24,9 @@ A battery monitor plugin for the Xfce panel, compatible with APM and ACPI.
 
 %prep
 %setup -q
+%if 0%{?fedora} >= 15
 %patch4 -p1 -b .xfce4-panel-4.7
+%endif
 
 
 %build


More information about the scm-commits mailing list