packages (DEVEL): glib2/glib2.spec - don't remove static libs if building w...

atler atler at pld-linux.org
Tue Jan 25 14:41:00 CET 2011


Author: atler                        Date: Tue Jan 25 13:41:00 2011 GMT
Module: packages                      Tag: DEVEL
---- Log message:
- don't remove static libs if building without static_libs
- don't package mans from main package if building without apidocs

---- Files affected:
packages/glib2:
   glib2.spec (1.221.2.6 -> 1.221.2.7) 

---- Diffs:

================================================================
Index: packages/glib2/glib2.spec
diff -u packages/glib2/glib2.spec:1.221.2.6 packages/glib2/glib2.spec:1.221.2.7
--- packages/glib2/glib2.spec:1.221.2.6	Thu Jan 13 20:20:25 2011
+++ packages/glib2/glib2.spec	Tue Jan 25 14:40:55 2011
@@ -215,7 +215,9 @@
 
 > $RPM_BUILD_ROOT%{_libdir}/gio/modules/giomodule.cache
 
-%{__rm} $RPM_BUILD_ROOT%{_libdir}/gio/modules/libgiofam.{la,a}
+%{__rm} $RPM_BUILD_ROOT%{_libdir}/gio/modules/libgiofam.la \
+	%{?with_static_libs:$RPM_BUILD_ROOT%{_libdir}/gio/modules/libgiofam.a}
+	
 
 %find_lang glib20
 
@@ -254,10 +256,12 @@
 %ghost %{_libdir}/gio/modules/giomodule.cache
 %dir %{_datadir}/glib-2.0
 %dir %{_datadir}/glib-2.0/schemas
+%if %{with apidocs}
 %{_mandir}/man1/gdbus.1*
 %{_mandir}/man1/gio-querymodules.1*
 %{_mandir}/man1/glib-compile-schemas.1*
 %{_mandir}/man1/gsettings.1*
+%endif
 
 %files devel
 %defattr(644,root,root,755)
@@ -335,6 +339,10 @@
 All persons listed below can be reached at <cvs_login>@pld-linux.org
 
 $Log$
+Revision 1.221.2.7  2011/01/25 13:40:55  atler
+- don't remove static libs if building without static_libs
+- don't package mans from main package if building without apidocs
+
 Revision 1.221.2.6  2011/01/13 19:20:25  wiget
 - 2.27.91
 
================================================================

---- CVS-web:
    http://cvs.pld-linux.org/cgi-bin/cvsweb.cgi/packages/glib2/glib2.spec?r1=1.221.2.6&r2=1.221.2.7&f=u



More information about the pld-cvs-commit mailing list