Hello community,

here is the log from the commit of package python-gobject2 for openSUSE:Factory 
checked in at 2020-04-19 21:46:50
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/python-gobject2 (Old)
 and      /work/SRC/openSUSE:Factory/.python-gobject2.new.2738 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "python-gobject2"

Sun Apr 19 21:46:50 2020 rev:24 rq:789149 version:2.28.7

Changes:
--------
--- /work/SRC/openSUSE:Factory/python-gobject2/python-gobject2.changes  
2018-07-31 15:53:56.682992823 +0200
+++ 
/work/SRC/openSUSE:Factory/.python-gobject2.new.2738/python-gobject2.changes    
    2020-04-19 21:47:11.075805669 +0200
@@ -1,0 +2,5 @@
+Mon Mar 23 13:29:38 UTC 2020 - Tomáš Chvátal <[email protected]>
+
+- Use python2_sitearch to fix build without extra macros
+
+-------------------------------------------------------------------
python3-gobject2.changes: same change

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

Other differences:
------------------
++++++ python-gobject2.spec ++++++
--- /var/tmp/diff_new_pack.rfRIzE/_old  2020-04-19 21:47:15.311814168 +0200
+++ /var/tmp/diff_new_pack.rfRIzE/_new  2020-04-19 21:47:15.311814168 +0200
@@ -1,7 +1,7 @@
 #
 # spec file for package python-gobject2
 #
-# Copyright (c) 2018 SUSE LINUX GmbH, Nuernberg, Germany.
+# Copyright (c) 2020 SUSE LLC
 #
 # All modifications and additions to the file contributed by third parties
 # remain the property of their copyright owners, unless otherwise agreed
@@ -12,7 +12,7 @@
 # license that conforms to the Open Source Definition (Version 1.9)
 # published by the Open Source Initiative.
 
-# Please submit bugfixes or comments via http://bugs.opensuse.org/
+# Please submit bugfixes or comments via https://bugs.opensuse.org/
 #
 
 
@@ -21,8 +21,8 @@
 %define local_py_requires Requires: python(abi) = %{py3_ver}
 %define local_py_sitedir  %{python3_sitearch}
 %else
-%define local_py_requires %{py_requires}
-%define local_py_sitedir  %{python_sitearch}
+%define local_py_requires %py_requires
+%define local_py_sitedir  %{python2_sitearch}
 %endif
 %define _name   pygobject
 Name:           python-gobject2
@@ -30,8 +30,7 @@
 Release:        0
 Summary:        Python bindings for GObject
 License:        LGPL-2.1-or-later
-Group:          Development/Libraries/Python
-URL:            http://ftp.gnome.org/pub/GNOME/sources/pygobject/
+URL:            https://ftp.gnome.org/pub/GNOME/sources/pygobject/
 Source:         
http://download.gnome.org/sources/pygobject/2.28/%{_name}-%{version}.tar.xz
 BuildRequires:  fdupes
 BuildRequires:  glib2-devel
@@ -53,9 +52,8 @@
 %package cairo
 %define cairo_real_package %(rpm -q --qf '%%{NAME}' --whatprovides cairo)
 Summary:        Python bindings for GObject -- Cairo bindings
-Group:          Development/Libraries/Python
 Requires:       %{name} = %{version}
-Supplements:    packageand(%{name}:%{cairo_real_package})
+Supplements:    (%{name} and %{cairo_real_package})
 
 %description cairo
 Pygobjects is an extension module for python that gives you access to
@@ -65,7 +63,6 @@
 
 %package devel
 Summary:        Python bindings for GObject
-Group:          Development/Libraries/Python
 Requires:       %{name} = %{version}
 %if %{build_for_python3}
 # Several files are conflicting between python2 and python3 builds
@@ -88,20 +85,18 @@
 export PYTHON=python3
 %endif
 %configure --disable-static --disable-introspection
-make %{?_smp_mflags} V=1
+%make_build
 
 %install
-%makeinstall
-find %{buildroot} -name '*.la' -delete -print
+%make_install
+find %{buildroot} -type f -name "*.la" -delete -print
 rm examples/Makefile*
 %fdupes %{buildroot}
 
 %post -p /sbin/ldconfig
-
 %postun -p /sbin/ldconfig
 
 %files
-%defattr(-,root,root)
 %doc AUTHORS NEWS README ChangeLog examples
 %{local_py_sitedir}/glib/
 %{local_py_sitedir}/gobject/
@@ -112,7 +107,6 @@
 %{_libdir}/*.so.*
 
 %files devel
-%defattr(-,root,root)
 %{_includedir}/pygtk-2.0/
 %{_libdir}/*.so
 %{_libdir}/pkgconfig/pygobject-2.0.pc

python3-gobject2.spec: same change

Reply via email to