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 %_mingw64_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: mingw64-headers <= %version
# Once this is installed, mingw64-bootstrap (binary bootstrapper) is no
# longer needed.
Obsoletes: mingw64-runtime-bootstrap < %{version}
Obsoletes: mingw64-runtime-bootstrap
BuildArch: noarch
%_mingw64_package_header_debug
@@ -49,10 +49,8 @@ MinGW Win64 cross-compiler runtime, base libraries.
%autosetup -n mingw-w64-v%version/mingw-w64-crt
%build
%_mingw64_configure \
--disable-lib32 \
--enable-lib64 \
--with-default-msvcrt=%{?_mingw64_crt:%{_mingw64_crt}}%{!?_mingw64_crt:msvcrt}
%_mingw64_configure --disable-lib32 --enable-lib64 \
--with-default-msvcrt=msvcrt
%make_build
%install