]> git.pld-linux.org Git - packages/libxml2.git/commitdiff
- apidocs bcond
authorElan Ruusamäe <glen@pld-linux.org>
Sun, 9 May 2010 10:35:23 +0000 (10:35 +0000)
committercvs2git <feedback@pld-linux.org>
Sun, 24 Jun 2012 12:13:13 +0000 (12:13 +0000)
Changed files:
    libxml2.spec -> 1.179

libxml2.spec

index 287c2cae9d367f5bf3be24180250ae5f84fa9fd9..95e2f503c54125ff1b48abbcbbe9e0e2ebe007eb 100644 (file)
@@ -1,9 +1,10 @@
 #
 # Conditional build:
+%bcond_without apidocs         # do not build and package API docs
 %bcond_without python          # don't build python module
 %bcond_without static_libs     # don't build static libraries
 %bcond_without zlib            # don't use zlib
-#
+
 Summary:       libXML library
 Summary(es.UTF-8):     Biblioteca libXML version 2
 Summary(pl.UTF-8):     Biblioteka libXML wersja 2
@@ -229,9 +230,11 @@ rm -rf $RPM_BUILD_ROOT
 %{_libdir}/libxml2.a
 %endif
 
+%if %{with apidocs}
 %files apidocs
 %defattr(644,root,root,755)
 %{_gtkdocdir}/libxml2
+%endif
 
 %files progs
 %defattr(644,root,root,755)
This page took 0.129967 seconds and 4 git commands to generate.