From 659aceb907374b7bee19d0fcbc890405583fc855 Mon Sep 17 00:00:00 2001 From: Sandro Mani Date: Fri, 24 Mar 2023 16:44:16 +0100 Subject: [PATCH] Split out libstdc++ --- mingw-gcc.spec | 41 +++++++++++++++++++++++++++++++++++++---- 1 file changed, 37 insertions(+), 4 deletions(-) diff --git a/mingw-gcc.spec b/mingw-gcc.spec index d40c004..3afcfe7 100644 --- a/mingw-gcc.spec +++ b/mingw-gcc.spec @@ -21,7 +21,7 @@ Name: mingw-gcc Version: %{gcc_version} -Release: 1%{?dist} +Release: 2%{?dist} Summary: MinGW Windows cross-compiler (GCC) for C License: GPLv3+ and GPLv3+ with exceptions and GPLv2+ with exceptions @@ -106,6 +106,13 @@ Summary: MinGW Windows GCC runtime libraries for C for the win32 target MinGW Windows GCC runtime libraries for C for the win32 target. +%package -n mingw32-libstdc++ +Summary: MinGW Windows GCC runtime libraries for C++ for the win32 target + +%description -n mingw32-libstdc++ +MinGW Windows GCC runtime libraries for C++ for the win32 target. + + %package -n mingw32-libgomp Summary: GCC OpenMP v3.0 shared support library for the win32 target Requires: mingw32-gcc = %{version}-%{release} @@ -184,6 +191,13 @@ Summary: MinGW Windows GCC runtime libraries for C for the win64 target MinGW Windows GCC runtime libraries for C for the win64 target. +%package -n mingw64-libstdc++ +Summary: MinGW Windows GCC runtime libraries for C++ for the win64 target + +%description -n mingw64-libstdc++ +MinGW Windows GCC runtime libraries for C++ for the win64 target. + + %package -n mingw64-libgomp Summary: GCC OpenMP v3.0 shared support library for the win64 target Requires: mingw64-gcc = %{version}-%{release} @@ -263,6 +277,13 @@ Summary: MinGW Windows GCC runtime libraries for C for the win64 target MinGW Windows GCC runtime libraries for C for the win64 target. +%package -n ucrt64-libstdc++ +Summary: MinGW Windows GCC runtime libraries for C++ for the win64 target + +%description -n ucrt64-libstdc++ +MinGW Windows GCC runtime libraries for C++ for the win64 target. + + %package -n ucrt64-libgomp Summary: GCC OpenMP v3.0 shared support library for the win64 target Requires: ucrt64-gcc = %{version}-%{release} @@ -708,6 +729,18 @@ ln -sf %{ucrt64_bindir}/libssp-0.dll %{buildroot}%{ucrt64_libdir}/libssp.dll.a %{ucrt64_bindir}/libgcc_s_seh-1.dll %{ucrt64_bindir}/libssp-0.dll +%files -n mingw32-libstdc++ +%license gcc/COPYING* COPYING.RUNTIME +%{mingw32_bindir}/libstdc++-6.dll + +%files -n mingw64-libstdc++ +%license gcc/COPYING* COPYING.RUNTIME +%{mingw64_bindir}/libstdc++-6.dll + +%files -n ucrt64-libstdc++ +%license gcc/COPYING* COPYING.RUNTIME +%{ucrt64_bindir}/libstdc++-6.dll + %files -n mingw32-libgomp %{mingw32_bindir}/libgomp-1.dll %{mingw32_libdir}/libgomp.a @@ -763,7 +796,6 @@ ln -sf %{ucrt64_bindir}/libssp-0.dll %{buildroot}%{ucrt64_libdir}/libssp.dll.a # Non-bootstrap files %if 0%{bootstrap} == 0 %{mingw32_includedir}/c++/ -%{mingw32_bindir}/libstdc++-6.dll %{mingw32_libdir}/libstdc++.a %{mingw32_libdir}/libstdc++.dll.a %{mingw32_libdir}/libstdc++.dll.a-gdb.py @@ -779,7 +811,6 @@ ln -sf %{ucrt64_bindir}/libssp-0.dll %{buildroot}%{ucrt64_libdir}/libssp.dll.a # Non-bootstrap files %if 0%{bootstrap} == 0 %{mingw64_includedir}/c++/ -%{mingw64_bindir}/libstdc++-6.dll %{mingw64_libdir}/libstdc++.a %{mingw64_libdir}/libstdc++.dll.a %{mingw64_libdir}/libstdc++.dll.a-gdb.py @@ -795,7 +826,6 @@ ln -sf %{ucrt64_bindir}/libssp-0.dll %{buildroot}%{ucrt64_libdir}/libssp.dll.a # Non-bootstrap files %if 0%{bootstrap} == 0 %{ucrt64_includedir}/c++/ -%{ucrt64_bindir}/libstdc++-6.dll %{ucrt64_libdir}/libstdc++.a %{ucrt64_libdir}/libstdc++.dll.a %{ucrt64_libdir}/libstdc++.dll.a-gdb.py @@ -888,6 +918,9 @@ ln -sf %{ucrt64_bindir}/libssp-0.dll %{buildroot}%{ucrt64_libdir}/libssp.dll.a %changelog +* Fri Mar 24 2023 Sandro Mani - 13.0.1-2 +- Split out libstdc++ (#2181524) + * Thu Mar 09 2023 Sandro Mani - 13.0.1-1 - Update to 13.0.1