From 7f3f0c0505c747bd889193f3edf469fa22fa6fb3 Mon Sep 17 00:00:00 2001 From: Silvan Calarco Date: Sat, 6 Jan 2024 07:08:29 +0100 Subject: [PATCH] install below %_includedir/microsoft to avoid conflicts with libgsl [release 4.0.0-2mamba;Thu Apr 28 2022] --- microsoft-gsl.spec | 11 ++++++++--- 1 file changed, 8 insertions(+), 3 deletions(-) diff --git a/microsoft-gsl.spec b/microsoft-gsl.spec index 7b339f7..d90d5b0 100644 --- a/microsoft-gsl.spec +++ b/microsoft-gsl.spec @@ -1,6 +1,6 @@ Name: microsoft-gsl 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 Group: Development/Libraries Vendor: openmamba @@ -40,6 +40,7 @@ This package contains libraries and header files for developing applications tha %build %cmake -d build \ + -DCMAKE_INSTALL_INCLUDEDIR=%{_includedir}/microsoft \ -DGSL_TEST=OFF %make @@ -53,13 +54,17 @@ This package contains libraries and header files for developing applications tha %files -n lib%{name}-devel %defattr(-,root,root) -%dir %{_includedir}/gsl -%{_includedir}/gsl/* +%dir %{_includedir}/microsoft +%dir %{_includedir}/microsoft/gsl +%{_includedir}/microsoft/gsl/* %dir %{_datadir}/cmake/Microsoft.GSL %{_datadir}/cmake/Microsoft.GSL/Microsoft.GSLConfig*.cmake %doc LICENSE %changelog +* Thu Apr 28 2022 Silvan Calarco 4.0.0-2mamba +- install below %_includedir/microsoft to avoid conflicts with libgsl + * Thu Jan 27 2022 Automatic Build System 4.0.0-1mamba - automatic version update by autodist