1 |
< |
### RPM external herwig 6.510 |
2 |
< |
|
3 |
< |
Source: http://cern.ch/service-spi/external/MCGenerators/distribution/%{n}-%{v}-src.tgz |
1 |
> |
### RPM external herwig 6.510-CMS3 |
2 |
> |
Source: http://cern.ch/service-spi/external/MCGenerators/distribution/%{n}-%{realversion}-src.tgz |
3 |
|
%prep |
4 |
< |
%setup -q -n %n |
4 |
> |
%setup -q -n %n/%{realversion} |
5 |
> |
# Danger - herwig doesn't actually need the hepmc, clhep,lhapdf |
6 |
> |
# that appear to be used in the configure |
7 |
|
./configure |
8 |
|
|
9 |
|
%build |
10 |
|
make |
11 |
|
|
12 |
+ |
# then hack include area as jimmy depends on missing header file.. |
13 |
+ |
cd include |
14 |
+ |
ln -sf HERWIG65.INC herwig65.inc |
15 |
+ |
|
16 |
|
%install |
17 |
< |
tar -c lib bin | tar -x -C %i |
17 |
> |
tar -c lib include | tar -x -C %i |
18 |
|
|