SPECS: gtk+2.spec - apidocs still built even if bcond off, so at l...

glen glen at pld-linux.org
Wed Mar 5 21:09:34 CET 2008


Author: glen                         Date: Wed Mar  5 20:09:34 2008 GMT
Module: SPECS                         Tag: HEAD
---- Log message:
- apidocs still built even if bcond off, so at least pass proper docdir and remove them

---- Files affected:
SPECS:
   gtk+2.spec (1.271 -> 1.272) 

---- Diffs:

================================================================
Index: SPECS/gtk+2.spec
diff -u SPECS/gtk+2.spec:1.271 SPECS/gtk+2.spec:1.272
--- SPECS/gtk+2.spec:1.271	Thu Feb 14 00:04:05 2008
+++ SPECS/gtk+2.spec	Wed Mar  5 21:09:29 2008
@@ -223,7 +223,7 @@
 	--enable-shm \
 	--%{?with_static_libs:en}%{!?with_static_libs:dis}able-static \
 	--with-gdktarget=x11 \
-	%{?with_apidocs:--with-html-dir=%{_gtkdocdir}} \
+	--with-html-dir=%{_gtkdocdir} \
 	--with-xinput=yes
 %{__make}
 
@@ -255,6 +255,8 @@
 	mv -f $RPM_BUILD_ROOT%{_datadir}/locale/sr@{Latn,latin}
 %find_lang %{name} --all-name
 
+%{!?with_apidocs:rm -rf $RPM_BUILD_ROOT%{_gtkdocdir}/{gdk,gdk-pixbuf,gtk}}
+
 %clean
 rm -rf $RPM_BUILD_ROOT
 
@@ -389,6 +391,9 @@
 All persons listed below can be reached at <cvs_login>@pld-linux.org
 
 $Log$
+Revision 1.272  2008-03-05 20:09:29  glen
+- apidocs still built even if bcond off, so at least pass proper docdir and remove them
+
 Revision 1.271  2008-02-13 23:04:05  qboosh
 - cups module moved to (suggested) subpackage
 
================================================================

---- CVS-web:
    http://cvs.pld-linux.org/cgi-bin/cvsweb.cgi/SPECS/gtk+2.spec?r1=1.271&r2=1.272&f=u



More information about the pld-cvs-commit mailing list