Hello community,

here is the log from the commit of package python-compizconfig for 
openSUSE:Leap:15.2 checked in at 2020-02-19 18:48:20
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Leap:15.2/python-compizconfig (Old)
 and      /work/SRC/openSUSE:Leap:15.2/.python-compizconfig.new.26092 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "python-compizconfig"

Wed Feb 19 18:48:20 2020 rev:11 rq:776510 version:0.8.16

Changes:
--------
--- 
/work/SRC/openSUSE:Leap:15.2/python-compizconfig/python-compizconfig.changes    
    2020-01-15 15:47:57.119409219 +0100
+++ 
/work/SRC/openSUSE:Leap:15.2/.python-compizconfig.new.26092/python-compizconfig.changes
     2020-02-19 18:48:22.819010058 +0100
@@ -1,0 +2,28 @@
+Mon Apr  8 20:48:22 UTC 2019 - Alexei Sorokin <[email protected]>
+
+- Fix Python 3.7 compatibility issues by removing pre-generated
+  compizconfig.c (glc#compiz/compiz-core#146).
+
+-------------------------------------------------------------------
+Sun Nov 11 18:15:12 UTC 2018 - [email protected]
+
+- Update to version 0.8.16:
+  * No changelog available.
+- Add a licence file to the package.
+
+-------------------------------------------------------------------
+Mon Jun 25 14:50:52 UTC 2018 - [email protected]
+
+- Use %python_expand.
+
+-------------------------------------------------------------------
+Tue May 22 09:08:08 UTC 2018 - [email protected]
+
+- Clean up the SPEC file.
+
+-------------------------------------------------------------------
+Thu Aug 24 13:34:34 UTC 2017 - [email protected]
+
+- singlespec auto-conversion
+
+-------------------------------------------------------------------
@@ -171 +198,0 @@
-

Old:
----
  compizconfig-python-0.8.14.tar.xz

New:
----
  compizconfig-python-0.8.16.tar.xz

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

Other differences:
------------------
++++++ python-compizconfig.spec ++++++
--- /var/tmp/diff_new_pack.Y0Q7ma/_old  2020-02-19 18:48:23.223010488 +0100
+++ /var/tmp/diff_new_pack.Y0Q7ma/_new  2020-02-19 18:48:23.223010488 +0100
@@ -1,7 +1,7 @@
 #
 # spec file for package python-compizconfig
 #
-# Copyright (c) 2017 SUSE LINUX GmbH, Nuernberg, Germany.
+# Copyright (c) 2019 SUSE LINUX GmbH, Nuernberg, Germany.
 #
 # All modifications and additions to the file contributed by third parties
 # remain the property of their copyright owners, unless otherwise agreed
@@ -12,94 +12,70 @@
 # 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/
 #
 
 
+%{?!python_module:%define python_module() python-%{**} python3-%{**}}
+%define _rev    fd7870f01f72f594bc6f284ae5719d38
 %define _name   compizconfig-python
 Name:           python-compizconfig
-Version:        0.8.14
+Version:        0.8.16
 Release:        0
 Summary:        Python bindings for libraries for compizconfig-settings
-License:        GPL-2.0+
+License:        GPL-2.0-or-later
 Group:          Development/Languages/Python
-Url:            https://github.com/compiz-reloaded/compizconfig-python
-Source:         
https://github.com/compiz-reloaded/%{_name}/releases/download/v%{version}/%{_name}-%{version}.tar.xz
+URL:            https://gitlab.com/compiz/compizconfig-python
+Source:         
https://gitlab.com/compiz/compizconfig-python/uploads/%{_rev}/%{_name}-%{version}.tar.xz
+BuildRequires:  %{python_module Cython}
+BuildRequires:  %{python_module devel}
 BuildRequires:  autoconf
 BuildRequires:  automake
 BuildRequires:  libtool
 BuildRequires:  pkgconfig
-BuildRequires:  python-devel
+BuildRequires:  python-rpm-macros
 BuildRequires:  python3-Cython
 BuildRequires:  python3-devel
 BuildRequires:  pkgconfig(glib-2.0)
 BuildRequires:  pkgconfig(libcompizconfig) < 0.9
 BuildRequires:  pkgconfig(x11)
 Requires:       compiz < 0.9
+%ifpython2
 Obsoletes:      ccs-python < %{version}
 Provides:       ccs-python = %{version}
-%if 0%{?suse_version} > 1320
-BuildRequires:  python2-Cython
-%else
-BuildRequires:  python-Cython
 %endif
+%python_subpackages
 
 %description
 Python bindings for libraries/plugins for compizconfig-settings.
 
-%if 0%{?suse_version} > 1320 || 0%{?sle_version} > 120200
-%package -n python2-compizconfig
-Summary:        Python bindings for libraries for compizconfig-settings
-# python-compizconfig was last used in openSUSE Leap 14.2.
-Group:          Development/Libraries/Python
-Provides:       python-compizconfig = %{version}
-Obsoletes:      python-compizconfig < %{version}
-
-%description -n python2-compizconfig
-Python bindings for libraries/plugins for compizconfig-settings.
-%endif
-
-%package -n python3-compizconfig
-Summary:        Python bindings for libraries for compizconfig-settings
-Group:          Development/Libraries/Python
-
-%description -n python3-compizconfig
-Python bindings for libraries/plugins for compizconfig-settings.
-
 %prep
 %setup -q -n %{_name}-%{version}
 
+rm src/compizconfig.c
+
 %build
 NOCONFIGURE=1 ./autogen.sh
 %global _configure ../configure
-for pyver in %{py_ver} %{py3_ver}; do
-    mkdir -p "build-py$pyver"
-    pushd "build-py$pyver"
-    export PYTHON="python$pyver"
-    %configure \
+%{python_expand mkdir -p "build-$python"
+pushd "build-$python"
+export PYTHON="$python"
+%configure \
       --disable-static              \
-      --with-cython="cython-$pyver"
-    make %{?_smp_mflags} V=1
-    popd
-done
+  --with-cython="cython-%{$python_version}"
+make %{?_smp_mflags} V=1
+popd
+}
 
 %install
-%make_install -C build-py%{py_ver}
-%make_install -C build-py%{py3_ver}
+%python_expand %make_install -C "build-$python"
 
 find %{buildroot} -type f -name "*.la" -delete -print
 rm -r %{buildroot}%{_libdir}/pkgconfig/
 
-%if 0%{?suse_version} > 1320 || 0%{?sle_version} > 120200
-%files -n python2-compizconfig
-%else
-%files
-%endif
-%defattr(-,root,root)
+%files %{python_files}
+%license COPYING
+%doc NEWS README.md
 %{python_sitearch}/compizconfig*
 
-%files -n python3-compizconfig
-%defattr(-,root,root)
-%{python3_sitearch}/compizconfig*
-
 %changelog

++++++ compizconfig-python-0.8.14.tar.xz -> compizconfig-python-0.8.16.tar.xz 
++++++
++++ 11551 lines of diff (skipped)


Reply via email to