rpms/cernlib/devel cernlib.spec,1.73,1.74

Patrice Dumas (pertusus) fedora-extras-commits at redhat.com
Sun Jun 15 00:11:07 UTC 2008


Author: pertusus

Update of /cvs/extras/rpms/cernlib/devel
In directory cvs-int.fedora.redhat.com:/tmp/cvs-serv28437

Modified Files:
	cernlib.spec 
Log Message:
fix conditionals for version above 10


Index: cernlib.spec
===================================================================
RCS file: /cvs/extras/rpms/cernlib/devel/cernlib.spec,v
retrieving revision 1.73
retrieving revision 1.74
diff -u -r1.73 -r1.74
--- cernlib.spec	4 Apr 2008 22:21:28 -0000	1.73
+++ cernlib.spec	15 Jun 2008 00:10:02 -0000	1.74
@@ -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




More information about the fedora-extras-commits mailing list