From a2a5dc2b0347b0ea7fb2dea7a3960dbadec2257b Mon Sep 17 00:00:00 2001 From: Tom Callaway Date: Jul 07 2008 17:31:04 +0000 Subject: fix conditional comparison --- diff --git a/fish.spec b/fish.spec index 889400e..a978368 100644 --- a/fish.spec +++ b/fish.spec @@ -2,7 +2,7 @@ Summary: A friendly interactive shell Name: fish Version: 1.23.0 -Release: 4%{?dist} +Release: 5%{?dist} License: GPLv2 Group: System Environment/Shells @@ -16,15 +16,15 @@ BuildRequires: autoconf # Locate correct build time-dependencies for providing X headers -%if "%fedora" >= "5" +%if 0%{?fedora} >= 5 # Modern Fedora version, has modular X.org BuildRequires: xorg-x11-proto-devel libX11-devel libXt-devel libXext-devel %endif -%if "%fedora" < "5" -%if "%fedora" >= "3" +%if 0%{?fedora} < 5 +%if 0%{?fedora} >= 3 # Semi-old Fedora version, has non-modular X.org BuildRequires: xorg-x11-devel @@ -33,7 +33,7 @@ BuildRequires: xorg-x11-devel %endif %if 0%{?fedora} -%if "%fedora" < "3" +%if 0%{?fedora} < 3 # Ancient Fedora version, has XFree86 BuildRequires: XFree86-devel @@ -174,6 +174,9 @@ fi %changelog +* Mon Jul 07 2008 Tom "spot" Callaway - 1.23.0-5 +- fix conditional comparison + * Fri Jul 06 2008 Oliver Falk - 1.23.0-4 - Rebuild