From 9d3819cbd6eed2999a011873e28e85fa9fef379a Mon Sep 17 00:00:00 2001 From: Axel Liljencrantz Date: Aug 04 2006 14:36:19 +0000 Subject: Second try of update to 1.21.1. Fix bug in spec that does not surface on the local system. --- diff --git a/fish.spec b/fish.spec index 6a7cf7e..8eadba7 100644 --- a/fish.spec +++ b/fish.spec @@ -2,7 +2,7 @@ Summary: A friendly interactive shell Name: fish Version: 1.21.10 -Release: 0%{?dist} +Release: 1%{?dist} License: GPL Group: System Environment/Shells @@ -15,9 +15,11 @@ BuildRequires: ncurses-devel gettext groff # Locate correct build time-dependencies for providing X headers +%if 0%{?fedora} + %if "%fedora" >= "5" - # Modern Fedora version, has modular X.org +# Modern Fedora version, has modular X.org BuildRequires: xorg-x11-proto-devel libX11-devel libXt-devel %endif @@ -31,13 +33,13 @@ BuildRequires: xorg-x11-devel %endif %endif -%if 0%{?fedora} %if "%fedora" < "3" # Ancient Fedora version, has XFree86 BuildRequires: XFree86-devel %endif + %else # This is not a Fedora system, try guessing BuildRequires by