Skip to content

Commit

Permalink
Merge pull request #836 from ktf/fix-lhapdf6
Browse files Browse the repository at this point in the history
Rename LHAPDF6 libraries and python modules.
  • Loading branch information
ktf committed Jul 7, 2014
2 parents 08300f9 + d1a1834 commit 2cbc333
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 1 deletion.
2 changes: 1 addition & 1 deletion lhapdf6-toolfile.spec
Expand Up @@ -9,7 +9,7 @@ Requires: lhapdf6
mkdir -p %i/etc/scram.d
cat << \EOF_TOOLFILE >%i/etc/scram.d/lhapdf6.xml
<tool name="lhapdf6" version="@TOOL_VERSION@">
<lib name="LHAPDF"/>
<lib name="LHAPDF6"/>
<client>
<environment name="LHAPDF6_BASE" default="@TOOL_ROOT@"/>
<environment name="LIBDIR" default="$LHAPDF6_BASE/lib"/>
Expand Down
2 changes: 2 additions & 0 deletions lhapdf6.spec
Expand Up @@ -47,6 +47,8 @@ rm -f MSTW2008nlo68cl.tar.gz
chmod a+x %{_sourcedir}/lhapdf6_makeLinks
%{_sourcedir}/lhapdf6_makeLinks
cd -
mv %i/lib/libLHAPDF.a %i/lib/libLHAPDF6.a
mv %i/lib/python2.7/site-packages/lhapdf.so %i/lib/python2.7/site-packages/lhapdf6.so

%post
%{relocateConfig}bin/lhapdf-config
Expand Down

0 comments on commit 2cbc333

Please sign in to comment.