From dd0d603d51a8cee93fb8776f00d5acb937c6b10d Mon Sep 17 00:00:00 2001 From: pertusus Date: Jun 15 2008 00:10:02 +0000 Subject: fix conditionals for version above 10 --- diff --git a/cernlib.spec b/cernlib.spec index f5d3d07..44365da 100644 --- a/cernlib.spec +++ b/cernlib.spec @@ -1,5 +1,5 @@ %if 0%{?fedora} -%if "%fedora" > "6" +%if 0%{?fedora} > 6 %bcond_without gfortran %else %bcond_with gfortran @@ -8,10 +8,10 @@ %define g77_cernlib_compiler 1 %endif -%if "%fedora" <= "3" +%if 0%{?fedora} <= 3 %define old_lapack_name 1 %endif -%if "%fedora" <= "4" +%if 0%{?fedora} <= 4 %define monolithic_X 1 %endif %endif @@ -38,7 +38,7 @@ # there is no --build-id in RHEL 5. %if 0%{?rhel} -%if "%rhel" <= "5" +%if 0%{?rhel} <= 5 %define no_build_id 1 %endif %endif