[gobject-introspection] - Strip out test libraries; they're gone in upstream git, and create a dependency on cairo (which

Colin Walters walters at fedoraproject.org
Thu Sep 2 20:30:22 UTC 2010


commit 5ac89e51182b183910bd04cd2a0bf8771e28825d
Author: Colin Walters <walters at verbum.org>
Date:   Thu Sep 2 16:25:29 2010 -0400

    - Strip out test libraries; they're gone in upstream git, and
      create a dependency on cairo (which requires libX11, which makes
      server operating system builders freak out).

 gobject-introspection.spec |   12 +++++++++++-
 1 files changed, 11 insertions(+), 1 deletions(-)
---
diff --git a/gobject-introspection.spec b/gobject-introspection.spec
index b1a38ca..61c9918 100644
--- a/gobject-introspection.spec
+++ b/gobject-introspection.spec
@@ -3,7 +3,7 @@
 
 Name:           gobject-introspection
 Version:        0.9.3
-Release:	5%{?dist}
+Release:	6%{?dist}
 Summary:        Introspection system for GObject-based libraries
 
 Group:      Development/Libraries
@@ -61,6 +61,11 @@ make V=1 %{?_smp_mflags}
 %install
 make install DESTDIR=$RPM_BUILD_ROOT
 
+# Strip out the test libraries; these will go away upstream
+rm $RPM_BUILD_ROOT/%{_libdir}/libgirepository-{everything,gimarshallingtests}*.so*
+rm $RPM_BUILD_ROOT/%{_libdir}/girepository-1.0/{GIMarshallingTests,Everything}*.typelib
+rm $RPM_BUILD_ROOT/%{_datadir}/gir-1.0/{GIMarshallingTests,Everything}*.gir
+
 # Die libtool, die.
 find $RPM_BUILD_ROOT -type f -name "*.la" -exec rm -f {} ';'
 find $RPM_BUILD_ROOT -type f -name "*.a" -exec rm -f {} ';'
@@ -94,6 +99,11 @@ find $RPM_BUILD_ROOT -type f -name "*.a" -exec rm -f {} ';'
 #%{_datadir}/gtk-doc/html/gi/*
 
 %changelog
+* Thu Sep  2 2010 Colin Walters <walters at verbum.org> - 0.9.3-6
+- Strip out test libraries; they're gone in upstream git, and
+  create a dependency on cairo (which requires libX11, which makes
+  server operating system builders freak out).
+
 * Tue Aug  3 2010 Matthias Clasen <mclasen at redhat.com> - 0.9.3-1
 - Update to 0.9.3
 


More information about the scm-commits mailing list