diff --git a/sources b/sources index 7753f76..7cbaa2d 100644 --- a/sources +++ b/sources @@ -1 +1 @@ -SHA512 (wine-mono-7.4.0-src.tar.xz) = 8f8cfd9f84e3979cbb7bcc1b90f7bfef8bae10128da2e0f3ebc982992c832e29dae81b8dd2c401eac9832f22b565aba851643f2bba8688e57c0e90f283e8a70e +SHA512 (wine-mono-8.0.0-src.tar.xz) = 6db05a13bd72679143f10113a5f53b6650f42b9d5af5af932d901751d3c7ddbf2f0ac3e7ffa3c848fc5b2972c085ccd0855ad3849c9aa74ebee9335d4ca7f3c8 diff --git a/wine-mono.spec b/wine-mono.spec index a504e6d..33980af 100644 --- a/wine-mono.spec +++ b/wine-mono.spec @@ -3,22 +3,15 @@ %{?mingw_package_header} Name: wine-mono -Version: 7.4.0 -Release: 2%{?dist} +Version: 8.0.0 +Release: 1%{?dist} Summary: Mono library required for Wine License: GPLv2 and LGPLv2 and MIT and BSD and MS-PL and MPLv1.1 URL: http://wiki.winehq.org/Mono # https://github.com/madewokherd/wine-mono Source0: https://dl.winehq.org/wine/wine-mono/%{version}/wine-mono-%{version}-src.tar.xz -# to statically link in winpthreads -Patch0: wine-mono-build-static.patch - -# https://bugs.winehq.org/show_bug.cgi?id=48937 -# fixed in wine 5.7 -Patch1: wine-mono-crlf.patch -# Probably a GCC 12 thing -Patch2: wine-mono-7.3.0-iconv.patch +Patch0: wine-mono-7.3.0-iconv.patch # see git://github.com/madewokherd/wine-mono @@ -74,20 +67,22 @@ Windows Mono library required for Wine. %prep %setup -q -%patch0 -p1 -b.static -%patch1 -p1 -b.crlf -%patch2 -p1 -b.iconv +%patch -P 0 -p1 -b.iconv # Fix all Python shebangs %py3_shebang_fix . sed -i 's/GENMDESC_PRG=python/GENMDESC_PRG=python3/' mono/mono/mini/Makefile.am.in # remove shipped compiler -rm -rf llvm-mingw-20200325-ubuntu-18.04/* +rm -rf llvm-mingw-20210423-ucrt-ubuntu-18.04-x86_64/* sed -i 's/$CPPFLAGS_FOR_BTLS $btls_cflags/$CPPFLAGS_FOR_BTLS -fPIC $btls_cflags/' mono/configure.ac sed -i 's/-gcodeview //' GNUmakefile sed -i 's/-Wl,-pdb=//' GNUmakefile +# workaround coreutils 9.2 behavior change to "cp -n" option (RHBZ#2208129) +# https://github.com/madewokherd/wine-mono/issues/164 +sed -i 's~cp -n $(IMAGEDIR)/lib/mono/4.8-api/\*.dll $(IMAGEDIR)/lib/mono/4.5/~cp -n $(IMAGEDIR)/lib/mono/4.8-api/\*.dll $(IMAGEDIR)/lib/mono/4.5/ || true~' mono.make + %build export BTLS_CFLAGS="-fPIC" export CPPFLAGS_FOR_BTLS="-fPIC" @@ -125,6 +120,9 @@ cp mono-basic/LICENSE mono-basic-LICENSE %{_datadir}/wine/mono/wine-mono-%{version}/ %changelog +* Mon Jun 19 2023 Michael Cronenworth - 8.0.0-1 +- version upgrade + * Sat Jan 21 2023 Fedora Release Engineering - 7.4.0-2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_38_Mass_Rebuild