]> git.pld-linux.org Git - packages/pango.git/commitdiff
- apidocs still built even if bcond off, so at least pass proper docdir and remove...
authorElan Ruusamäe <glen@pld-linux.org>
Wed, 5 Mar 2008 19:48:51 +0000 (19:48 +0000)
committercvs2git <feedback@pld-linux.org>
Sun, 24 Jun 2012 12:13:13 +0000 (12:13 +0000)
Changed files:
    pango.spec -> 1.188

pango.spec

index 549e44a369ebcda6bb5d40e434616f2b528fcb2e..a10c87996cf9bb0b748ab8ca88d193c37aef1891 100644 (file)
@@ -163,7 +163,7 @@ pango - przykładowe programy.
 %configure \
        --with-fribidi \
        --%{?with_apidocs:en}%{!?with_apidocs:dis}able-gtk-doc \
-       %{?with_apidocs:--with-html-dir=%{_gtkdocdir}} \
+       --with-html-dir=%{_gtkdocdir} \
        --%{?with_static_libs:en}%{!?with_static_libs:dis}able-static \
        --enable-debug=%{?debug:yes}%{!?debug:minimum} \
        --enable-man
@@ -193,6 +193,8 @@ mv $RPM_BUILD_ROOT%{_mandir}/man1/pango-querymodules{,%{pqext}}.1
 # useless (modules loaded through libgmodule)
 rm -f $RPM_BUILD_ROOT%{_libdir}/%{name}/1.6.0/modules/*.{la,a}
 
+%{!?with_apidocs:rm -rf $RPM_BUILD_ROOT%{_gtkdocdir}/pango}
+
 %clean
 rm -rf $RPM_BUILD_ROOT
 
This page took 0.196673 seconds and 4 git commands to generate.