rpms/cernlib-g77/devel cernlib-g77.spec,1.13,1.14

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


Author: pertusus

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

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


Index: cernlib-g77.spec
===================================================================
RCS file: /cvs/extras/rpms/cernlib-g77/devel/cernlib-g77.spec,v
retrieving revision 1.13
retrieving revision 1.14
diff -u -r1.13 -r1.14
--- cernlib-g77.spec	4 Apr 2008 22:28:28 -0000	1.13
+++ cernlib-g77.spec	15 Jun 2008 00:09:47 -0000	1.14
@@ -1,5 +1,5 @@
 %if 0%{?fedora}
-%if "%fedora" > "6"
+%if 0%{?fedora} > 6
 %bcond_with gfortran
 %else
 %bcond_without 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