[goocanvas2] fix GIR BR and R

Haïkel Guémar hguemar at fedoraproject.org
Mon Oct 10 23:53:24 UTC 2011


commit dee5df749be3050fe7e794b2d59d142bfffdee75
Author: Haïkel Guémar <hguemar at fedoraproject.org>
Date:   Tue Oct 11 01:53:00 2011 +0200

    fix GIR BR and R

 goocanvas2.spec |    8 +++++---
 1 files changed, 5 insertions(+), 3 deletions(-)
---
diff --git a/goocanvas2.spec b/goocanvas2.spec
index ef269b0..58c21bc 100644
--- a/goocanvas2.spec
+++ b/goocanvas2.spec
@@ -1,5 +1,3 @@
-%{!?python_sitelib: %define python_sitelib %(%{__python} -c "from distutils.sysconfig import get_python_lib; print get_python_lib()")}
-
 %global tarname goocanvas
 %global apiver  2.0
 
@@ -18,6 +16,9 @@ BuildRequires:  gettext, pkgconfig
 BuildRequires:  autoconf, automake, libtool, gtk-doc
 BuildRequires:  gtk3-devel >= 2.91.3
 BuildRequires:  cairo-devel >= 1.4.0
+BuildRequires:  gobject-introspection-devel
+# For the girepository-1.0 directory
+Requires:       gobject-introspection
 
 %description
 GooCanvas is a new canvas widget for GTK+ that uses the cairo 2D library for
@@ -29,6 +30,7 @@ views, so you can easily turn any application object into canvas items.
 Summary:        Development files for %{name}
 Group:          Development/Libraries
 Requires:       %{name}%{?isa} = %{version}-%{release}
+Requires:       gobject-introspection-devel
 
 %description    devel
 The %{name}-devel package contains libraries and header files for
@@ -65,6 +67,7 @@ rm -rf $RPM_BUILD_ROOT
 %defattr(-,root,root,-)
 %doc COPYING README ChangeLog AUTHORS NEWS TODO
 %{_libdir}/*.so.*
+%{_libdir}/girepository-1.0/GooCanvas-2.0.typelib
 
 %files devel
 %defattr(-,root,root,-)
@@ -73,7 +76,6 @@ rm -rf $RPM_BUILD_ROOT
 %{_libdir}/*.so
 %{_libdir}/pkgconfig/%{tarname}-%{apiver}.pc
 %{_datadir}/gtk-doc/html/%{tarname}-%{apiver}
-%{_libdir}/girepository-1.0/GooCanvas-2.0.typelib
 %{_datadir}/gir-1.0/GooCanvas-2.0.gir
 
 %changelog


More information about the scm-commits mailing list