[gmrun] - Sync EPEL / Fedora.

Gilboa Davara gilboa at fedoraproject.org
Mon Jul 25 15:58:19 UTC 2011


commit 9d184c9e32464d3b50571dd6264689c2acd8006b
Author: Gilboa Davara <gilboa at gilboa-home-dev.localdomain>
Date:   Mon Jul 25 18:58:04 2011 +0300

    - Sync EPEL / Fedora.

 gmrun.spec |    8 ++++++--
 1 files changed, 6 insertions(+), 2 deletions(-)
---
diff --git a/gmrun.spec b/gmrun.spec
index 113261d..09715f5 100644
--- a/gmrun.spec
+++ b/gmrun.spec
@@ -3,11 +3,15 @@ Version:		0.9.2
 Release:		22%{?dist}
 Summary:		Lightweight "Run program" dialog box with search history and tab completion
 
-%if 0%{?rhel} <= 5
+%if 0%{?rhel} != 0
+%if %{?rhel} <= 5
 %define new_version	0
 %else
 %define new_version	1
 %endif
+%else
+%define new_version 1
+%endif
 
 Group:			User Interface/Desktops
 License:		GPL+
@@ -48,7 +52,7 @@ prefix.
 %patch0 -p1 -b .gmrunrc
 %patch1 -p1 -b .gcc43
 %patch2 -p1 -b .mousewheel
-%if 0%{?fedora} >= 11
+%if %{new_version} == 1
 %patch3 -p1 -b .f12_support
 %endif
 


More information about the scm-commits mailing list