From a7721ed9760b0981e941200e0fb2e948f70a0ac6 Mon Sep 17 00:00:00 2001 From: Yaakov Selkowitz Date: Feb 01 2018 00:04:42 +0000 Subject: Fix build with gtk-doc 1.26 --- diff --git a/libunicap.spec b/libunicap.spec index 29d3d27..929c4c8 100644 --- a/libunicap.spec +++ b/libunicap.spec @@ -70,6 +70,9 @@ API documentation of the library, too. # Needed to get rid of rpath %if 0%{?rhel}%{?fedora} >= 6 libtoolize --force +# fixes for gtk-doc 1.26 +sed -i -e '/^DOC_SOURCE_DIR/s/--source-dir=//g' doc/libunicap/Makefile.am +gtkdocize --copy autoreconf --force --install %endif