From b0d4d1d7a850e29a7d511fd7076337a177c7187e Mon Sep 17 00:00:00 2001 From: Yaakov Selkowitz Date: Wed, 24 Jan 2018 07:50:54 +0000 Subject: [PATCH] Fix build with gtk-doc 1.26 gtk-doc 1.26 drops some deprecated features which necessitates regenerating the build system to pick up the corresponding macros. --- libiptcdata.spec | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/libiptcdata.spec b/libiptcdata.spec index 4d56fd3..61da8bf 100644 --- a/libiptcdata.spec +++ b/libiptcdata.spec @@ -12,7 +12,10 @@ License: LGPLv2+ URL: http://libiptcdata.sourceforge.net/ Source0: http://downloads.sourceforge.net/%{name}/%{name}-%{version}.tar.gz BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) +BuildRequires: autoconf +BuildRequires: automake BuildRequires: gettext +BuildRequires: gettext-devel BuildRequires: libtool BuildRequires: gtk-doc @@ -51,6 +54,9 @@ metadata in images. %prep %setup -q +# fix compatibility with gtk-doc 1.26 +gtkdocize +autoreconf -fiv %build %configure --enable-gtk-doc --enable-python --disable-static