5
0

6 Commits

2 changed files with 3 additions and 14 deletions

View File

@@ -1,12 +1,3 @@
-------------------------------------------------------------------
Mon May 12 20:26:43 UTC 2025 - Ralf Habacker <ralf.habacker@freenet.de>
- Add support to use a different crt (boo#1243096)
By specifying %_mingw32_crt <crt> in the obs project config
a different c runtime library can be used for building this
package.
- Fix warning "It's not recommended to have unversioned Obsoletes"
-------------------------------------------------------------------
Wed Aug 28 10:45:16 UTC 2024 - Jan Engelhardt <jengelh@inai.de>

View File

@@ -38,7 +38,7 @@ BuildRequires: xz
Requires: mingw32-headers <= %version
# Once this is installed, mingw32-bootstrap (binary bootstrapper) is no
# longer needed.
Obsoletes: mingw32-runtime-bootstrap < %{version}
Obsoletes: mingw32-runtime-bootstrap
BuildArch: noarch
%_mingw32_package_header_debug
@@ -49,10 +49,8 @@ MinGW Win64 cross-compiler runtime, base libraries.
%autosetup -n mingw-w64-v%version/mingw-w64-crt
%build
%_mingw32_configure \
--disable-lib64 \
--enable-lib32\
--with-default-msvcrt=%{?_mingw32_crt:%{_mingw32_crt}}%{!?_mingw32_crt:msvcrt}
%_mingw32_configure --enable-lib32 --disable-lib64 \
--with-default-msvcrt=msvcrt
%make_build
%install