Skip to content

Commit

Permalink
Merge pull request #7122 from mkirsano/tolhapdf630
Browse files Browse the repository at this point in the history
Upgrade lhapdf to 6.3.0, sets to 6.3.0f
  • Loading branch information
smuzaffar authored Jul 13, 2021
2 parents 61db8dd + 74fa74b commit bd3dae1
Show file tree
Hide file tree
Showing 3 changed files with 40 additions and 24 deletions.
24 changes: 4 additions & 20 deletions lhapdf.spec
Original file line number Diff line number Diff line change
@@ -1,17 +1,13 @@
### RPM external lhapdf 6.2.3
%define setsversion 6.2.3c
### RPM external lhapdf 6.3.0
%define setsversion 6.3.0f

Source: http://www.hepforge.org/archive/lhapdf/LHAPDF-%{realversion}.tar.gz

Source1: lhapdf_makeLinks

Source2: http://www.hepforge.org/archive/lhapdf/pdfsets/6.1/cteq6l1.tar.gz
Source3: http://www.hepforge.org/archive/lhapdf/pdfsets/6.1/CT10.tar.gz
Source4: http://www.hepforge.org/archive/lhapdf/pdfsets/6.1/MSTW2008nlo68cl.tar.gz
Source5: https://www.hepforge.org/archive/lhapdf/pdfsets/6.1/MMHT2014lo68cl.tar.gz
Source6: https://www.hepforge.org/archive/lhapdf/pdfsets/6.1/MMHT2014nlo68cl.tar.gz
Source2: http://www.hepforge.org/archive/lhapdf/pdfsets/6.1/MSTW2008nlo68cl.tar.gz

Source7: lhapdf_pdfsetsindex
Source3: lhapdf_pdfsetsindex

Requires: python3
BuildRequires: py3-cython
Expand All @@ -32,21 +28,9 @@ make all %makeprocesses
make install
mkdir -p %{i}/share/LHAPDF
cd %{i}/share/LHAPDF
cp %{_sourcedir}/cteq6l1.tar.gz .
cp %{_sourcedir}/CT10.tar.gz .
cp %{_sourcedir}/MSTW2008nlo68cl.tar.gz .
cp %{_sourcedir}/MMHT2014lo68cl.tar.gz .
cp %{_sourcedir}/MMHT2014nlo68cl.tar.gz .
tar xvfz cteq6l1.tar.gz
tar xvfz CT10.tar.gz
tar xvfz MSTW2008nlo68cl.tar.gz
tar xvfz MMHT2014lo68cl.tar.gz
tar xvfz MMHT2014nlo68cl.tar.gz
rm -f cteq6l1.tar.gz
rm -f CT10.tar.gz
rm -f MSTW2008nlo68cl.tar.gz
rm -f MMHT2014lo68cl.tar.gz
rm -f MMHT2014nlo68cl.tar.gz
chmod a+x %{_sourcedir}/lhapdf_makeLinks
%{_sourcedir}/lhapdf_makeLinks %{setsversion}
rm -f pdfsets.index
Expand Down
Loading

0 comments on commit bd3dae1

Please sign in to comment.