install below %_includedir/microsoft to avoid conflicts with libgsl [release 4.0.0-2mamba;Thu Apr 28 2022]

This commit is contained in:
Silvan Calarco 2024-01-06 07:08:29 +01:00
parent 76d09e8fb4
commit 7f3f0c0505

View File

@ -1,6 +1,6 @@
Name: microsoft-gsl Name: microsoft-gsl
Version: 4.0.0 Version: 4.0.0
Release: 1mamba Release: 2mamba
Summary: Functions and types that are suggested for use by the C++ Core Guidelines maintained by the Standard C++ Foundation Summary: Functions and types that are suggested for use by the C++ Core Guidelines maintained by the Standard C++ Foundation
Group: Development/Libraries Group: Development/Libraries
Vendor: openmamba Vendor: openmamba
@ -40,6 +40,7 @@ This package contains libraries and header files for developing applications tha
%build %build
%cmake -d build \ %cmake -d build \
-DCMAKE_INSTALL_INCLUDEDIR=%{_includedir}/microsoft \
-DGSL_TEST=OFF -DGSL_TEST=OFF
%make %make
@ -53,13 +54,17 @@ This package contains libraries and header files for developing applications tha
%files -n lib%{name}-devel %files -n lib%{name}-devel
%defattr(-,root,root) %defattr(-,root,root)
%dir %{_includedir}/gsl %dir %{_includedir}/microsoft
%{_includedir}/gsl/* %dir %{_includedir}/microsoft/gsl
%{_includedir}/microsoft/gsl/*
%dir %{_datadir}/cmake/Microsoft.GSL %dir %{_datadir}/cmake/Microsoft.GSL
%{_datadir}/cmake/Microsoft.GSL/Microsoft.GSLConfig*.cmake %{_datadir}/cmake/Microsoft.GSL/Microsoft.GSLConfig*.cmake
%doc LICENSE %doc LICENSE
%changelog %changelog
* Thu Apr 28 2022 Silvan Calarco <silvan.calarco@mambasoft.it> 4.0.0-2mamba
- install below %_includedir/microsoft to avoid conflicts with libgsl
* Thu Jan 27 2022 Automatic Build System <autodist@mambasoft.it> 4.0.0-1mamba * Thu Jan 27 2022 Automatic Build System <autodist@mambasoft.it> 4.0.0-1mamba
- automatic version update by autodist - automatic version update by autodist