1 |
< |
### RPM external rivet 1.3.0 |
1 |
> |
### RPM external rivet 1.4.0 |
2 |
|
Source: http://www.hepforge.org/archive/rivet/Rivet-%{realversion}.tar.gz |
3 |
– |
Patch0: rivet-1.3.0-make_pair-fix |
3 |
|
|
4 |
|
Requires: hepmc boost fastjet swig gsl |
5 |
+ |
Patch0: rivet-1.4.0 |
6 |
|
%prep |
7 |
|
%setup -n Rivet-%{realversion} |
8 |
< |
%patch0 -p1 |
9 |
< |
export SWIG_LIB |
8 |
> |
%patch0 -p0 |
9 |
|
./configure --prefix=%i --with-boost=${BOOST_ROOT} --with-hepmc=$HEPMC_ROOT --with-fastjet=$FASTJET_ROOT --with-gsl=$GSL_ROOT --disable-doxygen --disable-pdfmanual --with-pic |
10 |
|
# The following hack insures that the bins with the library linked explicitly |
11 |
|
# rather than indirectly, as required by the gold linker |
12 |
|
perl -p -i -e "s|LIBS = $|LIBS = -lHepMC|g" bin/Makefile |
14 |
– |
|
13 |
|
%build |
16 |
– |
export SWIG_LIB |
14 |
|
make |
15 |
|
%install |
16 |
|
make install |