From 368c170040011b29e2493d723ac4c20dc2076daa Mon Sep 17 00:00:00 2001 From: Timotheus Pokorra Date: Feb 03 2020 09:56:49 +0000 Subject: fix issue with latest Mono 6: ambiguous reference between System.Range and Gtk.Range built without docs because mdoc.exe is not built with Mono 6 and mcs anymore --- diff --git a/gtk-sharp2.spec b/gtk-sharp2.spec index 34ccfc3..b65820f 100644 --- a/gtk-sharp2.spec +++ b/gtk-sharp2.spec @@ -1,12 +1,13 @@ Name: gtk-sharp2 Version: 2.12.45 -Release: 9%{?dist} +Release: 10%{?dist} Summary: GTK+ and GNOME bindings for Mono License: LGPLv2+ URL: http://www.mono-project.com/GtkSharp Source0: http://download.mono-project.com/sources/gtk-sharp212/gtk-sharp-%{version}.tar.gz Patch0: gtk-sharp2-2.12.12-glib-include.patch +Patch1: gtk-sharp2-2.12.12-gtkrange.patch BuildRequires: mono-devel gtk2-devel libglade2-devel monodoc BuildRequires: autoconf, automake, libtool @@ -52,6 +53,7 @@ This package provides the Gtk# documentation for monodoc. %prep %setup -q -n gtk-sharp-%{version} %patch0 -p1 -b .glib +%patch1 -p1 # Fix permissions of source files find -name '*.c' -exec chmod a-x {} \; @@ -59,7 +61,7 @@ find -name '*.c' -exec chmod a-x {} \; %build autoreconf -vif export MONO_SHARED_DIR=%{_builddir}/%{?buildsubdir} -%configure +%configure --disable-docs make %install @@ -96,9 +98,12 @@ find %{buildroot} -type f -name "*.a" -delete %{_libdir}/pkgconfig/gtk-dotnet-2.0.pc %files doc -%{_prefix}/lib/monodoc/sources/* %changelog +* Mon Feb 03 2020 Timotheus Pokorra - 2.12.45-10 +- fix issue with latest Mono 6: ambiguous reference between System.Range and Gtk.Range +- built without docs because mdoc.exe is not built with Mono 6 and mcs anymore + * Wed Jan 29 2020 Fedora Release Engineering - 2.12.45-9 - Rebuilt for https://fedoraproject.org/wiki/Fedora_32_Mass_Rebuild