Skip to content

Commit

Permalink
Merge pull request #1340 from bendavid/pythia8205_74x
Browse files Browse the repository at this point in the history
Pythia 8.205 (74x)
  • Loading branch information
davidlange6 committed Jan 29, 2015
2 parents 1483c67 + d3d1f72 commit 4bb7350
Showing 1 changed file with 5 additions and 7 deletions.
12 changes: 5 additions & 7 deletions 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}
Expand Down

0 comments on commit 4bb7350

Please sign in to comment.