--- /dev/null
+--- gtk-doc-1.25/gtkdoc-scangobj.in.orig 2015-06-17 10:23:31.000000000 +0200
++++ gtk-doc-1.25/gtkdoc-scangobj.in 2017-05-25 19:00:21.900251236 +0200
+@@ -1269,7 +1269,7 @@
+ #endif
+
+ #ifdef GTK_IS_WIDGET_CLASS
+-#if GTK_CHECK_VERSION(2,1,0)
++#if GTK_CHECK_VERSION(2,1,0) && !GTK_CHECK_VERSION(3,89,2)
+ if (!style_prop && GTK_IS_WIDGET_CLASS (class)) {
+ properties = gtk_widget_class_list_style_properties (GTK_WIDGET_CLASS (class), &n_properties);
+ style_prop = TRUE;
Summary(pt_BR.UTF-8): O gerador de documentação do GTK
Name: gtk-doc
Version: 1.25
-Release: 1
+Release: 2
License: GPL v2+
Group: Development/Tools
Source0: http://ftp.gnome.org/pub/GNOME/sources/gtk-doc/%{version}/%{name}-%{version}.tar.xz
# Source0-md5: 0dc6570953112a464a409fb99258ccbc
Patch0: %{name}-noarch.patch
+Patch1: %{name}-gtk4.patch
URL: http://www.gtk.org/gtk-doc/
BuildRequires: autoconf >= 2.63
BuildRequires: automake >= 1:1.11
%prep
%setup -q
%{!?with_tests:%patch0 -p1}
-mv -f doc/README doc/README.docs
+%patch1 -p1
+%{__mv} doc/README doc/README.docs
%build
%{?with_tests:%{__libtoolize}}