ViewVC Help
View File | Revision Log | Show Annotations | Root Listing
root/cvsroot/COMP/CMSDIST/lhapdf.spec
(Generate patch)

Comparing COMP/CMSDIST/lhapdf.spec (file contents):
Revision 1.11 by elmer, Fri Nov 2 18:51:04 2007 UTC vs.
Revision 1.14 by elmer, Sun Nov 9 22:14:14 2008 UTC

# Line 1 | Line 1
1 < ### RPM external lhapdf 5.2.3-CMS18
1 > ### RPM external lhapdf 5.2.3-CMS19
2   %define realversion %(echo %v | cut -d- -f1)
3   Source: http://cern.ch/service-spi/external/MCGenerators/distribution/%{n}-%{realversion}-src.tgz
4   %prep
5   %setup -q -n %{n}/%{realversion}
6 < %if "%cmsplatf" == "slc4_ia32_gcc412"
7 <  # Switch to gfortran
8 <  perl -p -i -e 's|^export F77\=g77|export F77=gfortran|' .scripts/platform_functions
9 <  perl -p -i -e 's| -Wno-globals||' configure
10 < %endif
6 > case %gccver in
7 >  4.*)
8 >    # Switch to gfortran
9 >    perl -p -i -e 's|^export F77\=g77|export F77=gfortran|' .scripts/platform_functions
10 >    perl -p -i -e 's| -Wno-globals||' configure
11 >  ;;
12 > esac
13   ./configure
14  
15   %build

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines