From 44ff18750c99c5514eafc7bbcf9c59b160311b31 Mon Sep 17 00:00:00 2001 From: Sandro Mani Date: Wed, 19 Jan 2022 23:23:50 +0100 Subject: [PATCH] Create and own mpich/lib/cmake directory --- mpich.spec | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/mpich.spec b/mpich.spec index ad2e259..14275c5 100644 --- a/mpich.spec +++ b/mpich.spec @@ -200,6 +200,9 @@ install -pDm0644 %{SOURCE2} %{buildroot}%{python2_sitearch}/%{name}.pth mkdir -p %{buildroot}%{python3_sitearch}/%{name} install -pDm0644 %{SOURCE3} %{buildroot}%{python3_sitearch}/%{name}.pth +# Create cmake directory +mkdir -p %{buildroot}%{_libdir}/%{name}/lib/cmake/ + find %{buildroot} -type f -name "*.la" -delete %check @@ -237,6 +240,7 @@ make check VERBOSE=1 \ %files devel %{_includedir}/%{name}-%{_arch}/ %{_libdir}/%{name}/lib/pkgconfig/ +%{_libdir}/%{name}/lib/cmake/ %{_libdir}/%{name}/lib/*.so %{_libdir}/%{name}/bin/mpicc %{_libdir}/%{name}/bin/mpic++