From 23808af3afc8eb72d3c6e7be2d677b0e1231751d Mon Sep 17 00:00:00 2001 From: Jan Palus Date: Mon, 11 Oct 2021 00:31:12 +0200 Subject: [PATCH 1/1] gtkdocize mandatory even when building without apidocs --- polkit.spec | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/polkit.spec b/polkit.spec index 21aa5c1..18a6538 100644 --- a/polkit.spec +++ b/polkit.spec @@ -31,7 +31,7 @@ BuildRequires: glib2-devel >= 1:2.32.0 BuildRequires: glibc-localedb-all %endif BuildRequires: gobject-introspection-devel >= 0.6.2 -%{?with_apidocs:BuildRequires: gtk-doc >= 1.3} +BuildRequires: gtk-doc >= 1.3 BuildRequires: gtk-doc-automake >= 1.3 BuildRequires: intltool >= 0.40.0 BuildRequires: libstdc++-devel >= 6:7 @@ -126,7 +126,7 @@ Statyczne biblioteki PolicyKit. %endif %build -%{?with_apidocs:%{__gtkdocize}} +%{__gtkdocize} %{__intltoolize} %{__libtoolize} %{__aclocal} -- 2.44.0