Hello community,

here is the log from the commit of package python-gnome for openSUSE:Factory 
checked in at 2017-07-19 11:20:56
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/python-gnome (Old)
 and      /work/SRC/openSUSE:Factory/.python-gnome.new (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "python-gnome"

Wed Jul 19 11:20:56 2017 rev:30 rq:509985 version:2.28.1

Changes:
--------
--- /work/SRC/openSUSE:Factory/python-gnome/python-gnome.changes        
2013-03-15 10:47:22.000000000 +0100
+++ /work/SRC/openSUSE:Factory/.python-gnome.new/python-gnome.changes   
2017-07-19 12:21:51.237205781 +0200
@@ -1,0 +2,6 @@
+Tue Jul 11 15:25:19 UTC 2017 - toddrme2...@gmail.com
+
+- Fix build errors
+- Spec file cleanup
+
+-------------------------------------------------------------------

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

Other differences:
------------------
++++++ python-gnome.spec ++++++
--- /var/tmp/diff_new_pack.HaMNLb/_old  2017-07-19 12:21:51.837121126 +0200
+++ /var/tmp/diff_new_pack.HaMNLb/_new  2017-07-19 12:21:51.841120561 +0200
@@ -1,7 +1,7 @@
 #
 # spec file for package python-gnome
 #
-# Copyright (c) 2013 SUSE LINUX Products GmbH, Nuernberg, Germany.
+# Copyright (c) 2017 SUSE LINUX Products GmbH, Nuernberg, Germany.
 #
 # All modifications and additions to the file contributed by third parties
 # remain the property of their copyright owners, unless otherwise agreed
@@ -17,14 +17,13 @@
 
 
 Name:           python-gnome
-%define _name   gnome-python
 Version:        2.28.1
 Release:        0
 Summary:        Python bindings for GNOME
 License:        LGPL-2.1+
 Group:          Development/Libraries/Python
 Url:            ftp://ftp.gnome.org/pub/gnome/sources/gnome-python
-Source:         %{_name}-%{version}.tar.bz2
+Source:         
ftp://ftp.gnome.org/pub/gnome/sources/gnome-python/2.28/gnome-python-%{version}.tar.bz2
 Source1:        README.openSUSE
 Source99:       baselibs.conf
 BuildRequires:  fdupes
@@ -40,12 +39,9 @@
 # Explicitly require all subpackages, so packages depending on python-gnome get
 # all modules. Note that the Requires above are really needed by the
 # python-gnome bindings.
-#Requires:       python-bonobo
 Requires:       python-gconf
-#Requires:       python-gnomecanvas
 Requires:       python-gnomevfs
-BuildRoot:      %{_tmppath}/%{name}-%{version}-build
-%py_requires
+Provides:       python2-gnome = %{version}
 
 %description
 This package contains Python bindings for libgnome and libgnomeui.
@@ -56,7 +52,7 @@
 Requires:       python-gnomecanvas
 Requires:       python-gtk
 Requires:       python-orbit
-%py_requires
+Provides:       python2-bonobo = %{version}
 
 %description -n python-bonobo
 This package contains Python bindings for Bonobo.
@@ -65,7 +61,7 @@
 Summary:        Python bindings for GConf
 Group:          Development/Libraries/Python
 Requires:       python-gobject2
-%py_requires
+Provides:       python2-gconf = %{version}
 
 %description -n python-gconf
 This package contains Python bindings for GConf.
@@ -74,7 +70,7 @@
 Summary:        Python bindings for libgnomecanvas
 Group:          Development/Libraries/Python
 Requires:       python-gtk
-%py_requires
+Provides:       python2-gnomecanvas = %{version}
 
 %description -n python-gnomecanvas
 This package contains Python bindings for libgnomecanvas.
@@ -83,7 +79,7 @@
 Summary:        Python bindings for GNOME-VFS
 Group:          Development/Libraries/Python
 Requires:       python-gobject2
-%py_requires
+Provides:       python2-gnomevfs = %{version}
 
 %description -n python-gnomevfs
 This package contains Python bindings for GNOME-VFS.
@@ -94,14 +90,18 @@
 # This will bring in all subpackages
 Requires:       %{name} = %{version}
 Requires:       python-gtk-devel
+Provides:       python2-gnome-devel = %{version}
 
 %description devel
 Headers for python-gnome
 
 %prep
-%setup -q -n %{_name}-%{version}
+%setup -q -n gnome-python-%{version}
 cp -a %{S:1} .
 
+find examples -type f -name "*.py" -exec sed -i "s|#!/usr/bin/env 
python|#!/usr/bin/python2|" {} \;
+find examples -type f -name "*.py" -exec sed -i "s|#! /usr/bin/env 
python|#!/usr/bin/python2|" {} \;
+
 %build
 %configure --disable-static
 make %{?_smp_mflags}
@@ -109,49 +109,44 @@
 %install
 %makeinstall
 find %{buildroot}%{_libdir} -name '*.la' -type f -delete -print
-%fdupes %{buildroot}%{py_sitedir}
+%fdupes %{buildroot}%{python_sitearch}
 %fdupes %{buildroot}%{_datadir}
 
-%clean
-rm -rf %{buildroot}
-
-# python-gnome
-
 %files
 %defattr(-,root,root)
 %doc AUTHORS COPYING ChangeLog NEWS README.openSUSE
-%dir %{py_sitedir}/gtk-2.0/gnome
-%{py_sitedir}/gtk-2.0/gnome/__init__.py*
-%{py_sitedir}/gtk-2.0/gnome/_gnome.so
-%{py_sitedir}/gtk-2.0/gnome/ui.so
+%dir %{python_sitearch}/gtk-2.0/gnome
+%{python_sitearch}/gtk-2.0/gnome/__init__.py*
+%{python_sitearch}/gtk-2.0/gnome/_gnome.so
+%{python_sitearch}/gtk-2.0/gnome/ui.so
 
 %files -n python-bonobo
 %defattr(-,root,root)
 %doc COPYING
-%{py_sitedir}/gtk-2.0/bonobo/
+%{python_sitearch}/gtk-2.0/bonobo/
 
 %files -n python-gconf
 %defattr(-,root,root)
 %doc COPYING
-%{py_sitedir}/gtk-2.0/gconf.so
+%{python_sitearch}/gtk-2.0/gconf.so
 
 %files -n python-gnomecanvas
 %defattr(-,root,root)
 %doc COPYING
-%{py_sitedir}/gtk-2.0/gnome/canvas.py*
-%{py_sitedir}/gtk-2.0/gnomecanvas.so
+%{python_sitearch}/gtk-2.0/gnome/canvas.py*
+%{python_sitearch}/gtk-2.0/gnomecanvas.so
 
 %files -n python-gnomevfs
 %defattr(-,root,root)
 %doc COPYING
-%{py_sitedir}/gtk-2.0/gnome/vfs.py*
-%{py_sitedir}/gtk-2.0/gnomevfs/
+%{python_sitearch}/gtk-2.0/gnome/vfs.py*
+%{python_sitearch}/gtk-2.0/gnomevfs/
 %{_libdir}/gnome-vfs-2.0/modules/libpythonmethod.so
 
 %files devel
 %defattr(-,root,root)
 %doc examples/
-%{_includedir}/%{_name}-2.0/
+%{_includedir}/gnome-python-2.0/
 %{_libdir}/pkgconfig/gnome-python-2.0.pc
 # while in theory, this directory should be created and owned by python-gtk,
 # there's nothing else using it, so we just own it here


Reply via email to