[packages/polkit] gtkdocize mandatory even when building without apidocs

atler atler at pld-linux.org
Mon Oct 11 00:33:04 CEST 2021


commit 23808af3afc8eb72d3c6e7be2d677b0e1231751d
Author: Jan Palus <atler at pld-linux.org>
Date:   Mon Oct 11 00:31:12 2021 +0200

    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}
================================================================

---- gitweb:

http://git.pld-linux.org/gitweb.cgi/packages/polkit.git/commitdiff/48ed99b55b832db731635cb81463486e697d75d2



More information about the pld-cvs-commit mailing list