Skip to content

Commit

Permalink
Merge pull request #8090 from cms-sw/g4-relocation
Browse files Browse the repository at this point in the history
fix geant4 cmake files relocation
  • Loading branch information
smuzaffar authored Sep 17, 2022
2 parents 50ec5dc + c97d4cb commit c26e183
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions geant4.spec
Original file line number Diff line number Diff line change
Expand Up @@ -81,7 +81,7 @@ gcc-ar rcs libgeant4-static.a *.o
find . -name "*.o" -delete

%post
%{relocateConfig}lib64/Geant4-*/*.cmake
%{relocateCmsFiles} $(find $RPM_INSTALL_PREFIX/%{pkgrel} -name '*.cmake')
%{relocateConfig}bin/geant4-config
%{relocateConfig}bin/geant4.*
%{relocateConfig}share/Geant4-*/geant4make/geant4make.*
%{relocateConfig}share/Geant4*/geant4make/geant4make.*

0 comments on commit c26e183

Please sign in to comment.