diff --git a/pythia8.spec b/pythia8.spec index 6e77049fb8c..22cffe65872 100644 --- a/pythia8.spec +++ b/pythia8.spec @@ -1,21 +1,19 @@ -### RPM external pythia8 201 +### RPM external pythia8 205 Requires: hepmc lhapdf -Source: http://cern.ch/service-spi/external/MCGenerators/distribution/%{n}/%{n}-%{realversion}-src.tgz +Source: http://home.thep.lu.se/~torbjorn/pythia8/%{n}%{realversion}.tgz -Patch0: pythia8-201-fix-gcc-options -Patch1: pythia8-201-fix-init +Patch0: pythia8-205-fix-gcc-options %if "%{?cms_cxxflags:set}" != "set" %define cms_cxxflags -std=c++0x %endif %prep -%setup -q -n %{n}/%{realversion} +%setup -q -n %{n}%{realversion} %patch0 -p2 -%patch1 -p2 - + export USRCXXFLAGS="%cms_cxxflags" export HEPMCLOCATION=${HEPMC_ROOT} export HEPMCVERSION=${HEPMC_VERSION}