Skip to content

Commit

Permalink
Cleanup
Browse files Browse the repository at this point in the history
  • Loading branch information
iarspider authored and Dominic-Stafford committed Jun 17, 2024
1 parent 64f5d02 commit c8f839a
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 6 deletions.
4 changes: 2 additions & 2 deletions gosamcontrib.spec
Original file line number Diff line number Diff line change
Expand Up @@ -24,8 +24,8 @@ PLATF_CONF_OPTS="--enable-shared --enable-static"
make %makeprocesses all

%install
make install
make install
rm %{i}/lib/*.la

%post
%{relocateConfig}share/gosam-contrib/gosam.conf

6 changes: 2 additions & 4 deletions madgraph5amcatnlo.spec
Original file line number Diff line number Diff line change
Expand Up @@ -51,13 +51,11 @@ sed -ideleteme 's|#!.*/bin/python|#!/usr/bin/env python|' \
%{i}/Template/LO/bin/internal/addmasses_optional.py \
%{i}/madgraph/various/progressbar.py
find %{i} -name '*deleteme' -delete
rm -rf %{i}/HEPTools/collier/COLLIER-*/build
rm -f %{i}/HEPTools/collier/collier_install.log
rm -f %{i}/basiceventgeneration/*.log
rm -f %{i}/basiceventgeneration/Source/StdHEP/log.mcfio.*

%post
%relocateConfigAll . py.py
%{relocateConfig}input/mg5_configuration.txt
%{relocateConfig}basiceventgeneration/Cards/amcatnlo_configuration.txt
%{relocateConfig}basiceventgeneration/Source/make_opts
%{relocateConfig}HEPTools/ninja/lib/lib*.la
%{relocateConfig}HEPTools/collier/COLLIER-*/collierConfig.cmake

0 comments on commit c8f839a

Please sign in to comment.