Hello community,

here is the log from the commit of package python-gobject2 for openSUSE:Factory
checked in at Tue Aug 23 13:52:17 CEST 2011.



--------
--- python-gobject2/python3-gobject2.changes    2011-08-15 17:14:35.000000000 
+0200
+++ /mounts/work_src_done/STABLE/python-gobject2/python3-gobject2.changes       
2011-08-22 15:07:16.000000000 +0200
@@ -1,0 +2,15 @@
+Mon Aug 22 13:01:34 UTC 2011 - [email protected]
+
+- Remove gobject-introspection-devel BuildRequires: We no longer
+  build the gi bindings, as they were moved to python-gobject 3.
+- Move the doc from /usr/share/gtk-doc/html/pygobject to pygobject2
+  in order to not conflicy with python-gobject 3 on file level.
+
+-------------------------------------------------------------------
+Sat Aug 20 21:15:39 UTC 2011 - [email protected]
+
+- Pass --disable-introspection to configure. The introspection
+  based bindings are provided by python-gobject, the newer version
+  of this code.
+
+-------------------------------------------------------------------
python-gobject2.changes: same change

calling whatdependson for head-i586


++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Other differences:
------------------
++++++ python3-gobject2.spec ++++++
--- /var/tmp/diff_new_pack.nmNW9q/_old  2011-08-23 13:51:07.000000000 +0200
+++ /var/tmp/diff_new_pack.nmNW9q/_new  2011-08-23 13:51:07.000000000 +0200
@@ -31,7 +31,7 @@
 %define _name   pygobject
 Summary:        Python bindings for GObject
 Version:        2.28.6
-Release:        1
+Release:        2
 License:        LGPLv2.1+
 Group:          Development/Libraries/Python
 Url:            http://ftp.gnome.org/pub/GNOME/sources/pygobject/
@@ -40,7 +40,6 @@
 Patch0:         python-gobject-python3.patch
 BuildRequires:  fdupes
 BuildRequires:  glib2-devel
-BuildRequires:  gobject-introspection-devel
 BuildRequires:  libffi-devel
 %if %{build_for_python3}
 BuildRequires:  python3-cairo-devel
@@ -96,12 +95,14 @@
 %if %{build_for_python3}
 export PYTHON=python3
 %endif
-%configure --disable-static
+%configure --disable-static --disable-introspection
 make %{?jobs:-j%jobs} V=1
 
 %install
 %makeinstall
 find %{buildroot} -name '*.la' -delete -print
+# Move /usr/share/gtk-doc/html/pygobject to /usr/share/gtk-doc/html/pygobject2
+mv %{buildroot}%{_datadir}/gtk-doc/html/pygobject 
%{buildroot}%{_datadir}/gtk-doc/html/pygobject2
 rm examples/Makefile*
 %fdupes $RPM_BUILD_ROOT
 
@@ -116,19 +117,12 @@
 %defattr(-,root,root)
 %doc AUTHORS NEWS README ChangeLog examples
 %dir %{local_py_sitedir}/gtk-2.0
-%{local_py_sitedir}/gi/
 %{local_py_sitedir}/gtk-2.0/gio/
 %{local_py_sitedir}/glib/
 %{local_py_sitedir}/gobject/
 %{local_py_sitedir}/gtk-2.0/dsextras.py*
 %{local_py_sitedir}/pygtk.*
 %{_libdir}/*.so.*
-# Live in cairo subpackage
-%exclude %{local_py_sitedir}/gi/_gi_cairo.so
-
-%files cairo
-%defattr(-,root,root)
-%{local_py_sitedir}/gi/_gi_cairo.so
 
 %files devel
 %defattr(-,root,root)
@@ -149,6 +143,6 @@
 # Own these repositories to not depend on gtk-doc while building:
 %dir %{_datadir}/gtk-doc
 %dir %{_datadir}/gtk-doc/html
-%{_datadir}/gtk-doc/html/pygobject/
+%{_datadir}/gtk-doc/html/pygobject2/
 
 %changelog

++++++ python-gobject2.spec ++++++
--- /var/tmp/diff_new_pack.nmNW9q/_old  2011-08-23 13:51:07.000000000 +0200
+++ /var/tmp/diff_new_pack.nmNW9q/_new  2011-08-23 13:51:07.000000000 +0200
@@ -31,7 +31,7 @@
 %define _name   pygobject
 Summary:        Python bindings for GObject
 Version:        2.28.6
-Release:        1
+Release:        4
 License:        LGPLv2.1+
 Group:          Development/Libraries/Python
 Url:            http://ftp.gnome.org/pub/GNOME/sources/pygobject/
@@ -40,7 +40,6 @@
 Patch0:         python-gobject-python3.patch
 BuildRequires:  fdupes
 BuildRequires:  glib2-devel
-BuildRequires:  gobject-introspection-devel
 BuildRequires:  libffi-devel
 %if %{build_for_python3}
 BuildRequires:  python3-cairo-devel
@@ -96,12 +95,14 @@
 %if %{build_for_python3}
 export PYTHON=python3
 %endif
-%configure --disable-static
+%configure --disable-static --disable-introspection
 make %{?jobs:-j%jobs} V=1
 
 %install
 %makeinstall
 find %{buildroot} -name '*.la' -delete -print
+# Move /usr/share/gtk-doc/html/pygobject to /usr/share/gtk-doc/html/pygobject2
+mv %{buildroot}%{_datadir}/gtk-doc/html/pygobject 
%{buildroot}%{_datadir}/gtk-doc/html/pygobject2
 rm examples/Makefile*
 %fdupes $RPM_BUILD_ROOT
 
@@ -116,19 +117,12 @@
 %defattr(-,root,root)
 %doc AUTHORS NEWS README ChangeLog examples
 %dir %{local_py_sitedir}/gtk-2.0
-%{local_py_sitedir}/gi/
 %{local_py_sitedir}/gtk-2.0/gio/
 %{local_py_sitedir}/glib/
 %{local_py_sitedir}/gobject/
 %{local_py_sitedir}/gtk-2.0/dsextras.py*
 %{local_py_sitedir}/pygtk.*
 %{_libdir}/*.so.*
-# Live in cairo subpackage
-%exclude %{local_py_sitedir}/gi/_gi_cairo.so
-
-%files cairo
-%defattr(-,root,root)
-%{local_py_sitedir}/gi/_gi_cairo.so
 
 %files devel
 %defattr(-,root,root)
@@ -149,6 +143,6 @@
 # Own these repositories to not depend on gtk-doc while building:
 %dir %{_datadir}/gtk-doc
 %dir %{_datadir}/gtk-doc/html
-%{_datadir}/gtk-doc/html/pygobject/
+%{_datadir}/gtk-doc/html/pygobject2/
 
 %changelog


++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++



Remember to have fun...

-- 
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to