[packages/pango] fix build without apidocs

atler atler at pld-linux.org
Tue May 18 20:44:49 CEST 2021


commit a79fde6b13d3d874ff52b1b74bba282f80310257
Author: Jan Palus <atler at pld-linux.org>
Date:   Tue May 18 20:44:20 2021 +0200

    fix build without apidocs

 pango.spec | 2 ++
 1 file changed, 2 insertions(+)
---
diff --git a/pango.spec b/pango.spec
index ff8e43e..7cb59af 100644
--- a/pango.spec
+++ b/pango.spec
@@ -177,9 +177,11 @@ install -d $RPM_BUILD_ROOT%{_examplesdir}/%{name}-%{version}
 
 %ninja_install -C build
 
+%if %{with apidocs}
 # FIXME: where to package gi-docgen generated docs?
 install -d $RPM_BUILD_ROOT%{_gtkdocdir}
 %{__mv} $RPM_BUILD_ROOT%{_docdir}/pango/reference/* $RPM_BUILD_ROOT%{_gtkdocdir}
+%endif
 
 cp examples/*.c $RPM_BUILD_ROOT%{_examplesdir}/%{name}-%{version}
 
================================================================

---- gitweb:

http://git.pld-linux.org/gitweb.cgi/packages/pango.git/commitdiff/a79fde6b13d3d874ff52b1b74bba282f80310257



More information about the pld-cvs-commit mailing list