15 |
|
esac |
16 |
|
|
17 |
|
./configure --with-hepmc=$HEPMC_ROOT --with-gsl=$GSL_ROOT --with-thepeg=$THEPEG_ROOT --prefix=%i CXXFLAGS="-O2 -fuse-cxa-atexit" |
18 |
+ |
# Fix up a configuration mistake coming from a test being confused |
19 |
+ |
# by the "skipping incompatible" linking messages when linking 32bit on 64bit |
20 |
+ |
perl -p -i -e 's|/usr/lib64/libm.a /usr/lib64/libc.a||' Makefile |
21 |
+ |
perl -p -i -e 's|/usr/lib64/libm.a /usr/lib64/libc.a||' */Makefile |
22 |
+ |
perl -p -i -e 's|/usr/lib64/libm.a /usr/lib64/libc.a||' */*/Makefile |
23 |
+ |
perl -p -i -e 's|/usr/lib64/libm.a /usr/lib64/libc.a||' */*/*/Makefile |
24 |
|
|
25 |
|
%build |
26 |
|
make %makeprocesses |
47 |
|
|
48 |
|
%post |
49 |
|
%{relocateConfig}etc/scram.d/%n |
50 |
< |
perl -p -i -e "s|%{instroot}|$RPM_INSTALL_PREFIX|g" $(find $RPM_INSTALL_PREFIX/ -name HerwigDefaults.rpo -type f) |
50 |
> |
%{relocateConfig}share/Herwig++/HerwigDefaults.rpo |