From c8f839afa6890bca56c76bc5ad7c5f0898873302 Mon Sep 17 00:00:00 2001 From: Ivan Razumov Date: Thu, 9 Nov 2023 14:31:39 +0100 Subject: [PATCH] Cleanup --- gosamcontrib.spec | 4 ++-- madgraph5amcatnlo.spec | 6 ++---- 2 files changed, 4 insertions(+), 6 deletions(-) diff --git a/gosamcontrib.spec b/gosamcontrib.spec index 212190dbc26..365f1341f86 100644 --- a/gosamcontrib.spec +++ b/gosamcontrib.spec @@ -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 - diff --git a/madgraph5amcatnlo.spec b/madgraph5amcatnlo.spec index 4b2a358a180..8d85586790c 100644 --- a/madgraph5amcatnlo.spec +++ b/madgraph5amcatnlo.spec @@ -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