1 |
< |
### RPM external herwigpp 2.2.0 |
1 |
> |
### RPM external herwigpp 2.2.1 |
2 |
|
Source: http://projects.hepforge.org/herwig/files/Herwig++-%{realversion}.tar.gz |
3 |
|
Requires: thepeg |
4 |
|
Requires: gsl |
5 |
|
Requires: hepmc |
6 |
|
|
7 |
+ |
Patch0: herwigpp-2.2.1-g77 |
8 |
|
|
9 |
|
%prep |
10 |
|
%setup -q -n Herwig++-%{realversion} |
11 |
+ |
case %gccver in |
12 |
+ |
3.*) |
13 |
+ |
%patch0 -p1 |
14 |
+ |
;; |
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 |
|
|
19 |
|
%build |