Create and own mpich/lib/cmake directory

This commit is contained in:
Sandro Mani 2022-01-19 23:23:50 +01:00
parent ed2144d2c8
commit 44ff18750c

View File

@ -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++