Update to 8.0.0

f38
Michael Cronenworth 2 years ago
parent c62f458eb1
commit 349bce080f

@ -1 +1 @@
SHA512 (wine-mono-7.4.0-src.tar.xz) = 8f8cfd9f84e3979cbb7bcc1b90f7bfef8bae10128da2e0f3ebc982992c832e29dae81b8dd2c401eac9832f22b565aba851643f2bba8688e57c0e90f283e8a70e SHA512 (wine-mono-8.0.0-src.tar.xz) = 6db05a13bd72679143f10113a5f53b6650f42b9d5af5af932d901751d3c7ddbf2f0ac3e7ffa3c848fc5b2972c085ccd0855ad3849c9aa74ebee9335d4ca7f3c8

@ -3,22 +3,15 @@
%{?mingw_package_header} %{?mingw_package_header}
Name: wine-mono Name: wine-mono
Version: 7.4.0 Version: 8.0.0
Release: 2%{?dist} Release: 1%{?dist}
Summary: Mono library required for Wine Summary: Mono library required for Wine
License: GPLv2 and LGPLv2 and MIT and BSD and MS-PL and MPLv1.1 License: GPLv2 and LGPLv2 and MIT and BSD and MS-PL and MPLv1.1
URL: http://wiki.winehq.org/Mono URL: http://wiki.winehq.org/Mono
# https://github.com/madewokherd/wine-mono # https://github.com/madewokherd/wine-mono
Source0: https://dl.winehq.org/wine/wine-mono/%{version}/wine-mono-%{version}-src.tar.xz Source0: https://dl.winehq.org/wine/wine-mono/%{version}/wine-mono-%{version}-src.tar.xz
# to statically link in winpthreads Patch0: wine-mono-7.3.0-iconv.patch
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
# see git://github.com/madewokherd/wine-mono # see git://github.com/madewokherd/wine-mono
@ -74,20 +67,22 @@ Windows Mono library required for Wine.
%prep %prep
%setup -q %setup -q
%patch0 -p1 -b.static %patch -P 0 -p1 -b.iconv
%patch1 -p1 -b.crlf
%patch2 -p1 -b.iconv
# Fix all Python shebangs # Fix all Python shebangs
%py3_shebang_fix . %py3_shebang_fix .
sed -i 's/GENMDESC_PRG=python/GENMDESC_PRG=python3/' mono/mono/mini/Makefile.am.in sed -i 's/GENMDESC_PRG=python/GENMDESC_PRG=python3/' mono/mono/mini/Makefile.am.in
# remove shipped compiler # 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/$CPPFLAGS_FOR_BTLS $btls_cflags/$CPPFLAGS_FOR_BTLS -fPIC $btls_cflags/' mono/configure.ac
sed -i 's/-gcodeview //' GNUmakefile sed -i 's/-gcodeview //' GNUmakefile
sed -i 's/-Wl,-pdb=//' 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 %build
export BTLS_CFLAGS="-fPIC" export BTLS_CFLAGS="-fPIC"
export CPPFLAGS_FOR_BTLS="-fPIC" export CPPFLAGS_FOR_BTLS="-fPIC"
@ -125,6 +120,9 @@ cp mono-basic/LICENSE mono-basic-LICENSE
%{_datadir}/wine/mono/wine-mono-%{version}/ %{_datadir}/wine/mono/wine-mono-%{version}/
%changelog %changelog
* Mon Jun 19 2023 Michael Cronenworth <mike@cchtml.com> - 8.0.0-1
- version upgrade
* Sat Jan 21 2023 Fedora Release Engineering <releng@fedoraproject.org> - 7.4.0-2 * Sat Jan 21 2023 Fedora Release Engineering <releng@fedoraproject.org> - 7.4.0-2
- Rebuilt for https://fedoraproject.org/wiki/Fedora_38_Mass_Rebuild - Rebuilt for https://fedoraproject.org/wiki/Fedora_38_Mass_Rebuild

Loading…
Cancel
Save