Hello community, here is the log from the commit of package python-compizconfig for openSUSE:Factory checked in at 2017-05-16 14:46:06 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/python-compizconfig (Old) and /work/SRC/openSUSE:Factory/.python-compizconfig.new (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "python-compizconfig" Tue May 16 14:46:06 2017 rev:6 rq:494987 version:0.8.14 Changes: -------- --- /work/SRC/openSUSE:Factory/python-compizconfig/python-compizconfig.changes 2016-04-28 17:00:52.000000000 +0200 +++ /work/SRC/openSUSE:Factory/.python-compizconfig.new/python-compizconfig.changes 2017-05-16 14:46:59.195690384 +0200 @@ -1,0 +2,8 @@ +Tue Apr 18 11:10:04 UTC 2017 - sor.ale...@meowr.ru + +- Update to version 0.8.14: + * Better Python handling. + * Add Python3 support. +- Build for Python2 and Python3 both. + +------------------------------------------------------------------- Old: ---- compizconfig-python-0.8.12.1.tar.xz New: ---- compizconfig-python-0.8.14.tar.xz ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ python-compizconfig.spec ++++++ --- /var/tmp/diff_new_pack.aA187J/_old 2017-05-16 14:46:59.739613967 +0200 +++ /var/tmp/diff_new_pack.aA187J/_new 2017-05-16 14:46:59.743613404 +0200 @@ -1,7 +1,7 @@ # # spec file for package python-compizconfig # -# Copyright (c) 2016 SUSE LINUX GmbH, Nuernberg, Germany. +# Copyright (c) 2017 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 @@ -18,7 +18,7 @@ %define _name compizconfig-python Name: python-compizconfig -Version: 0.8.12.1 +Version: 0.8.14 Release: 0 Summary: Python bindings for libraries for compizconfig-settings License: GPL-2.0+ @@ -28,35 +28,78 @@ BuildRequires: autoconf BuildRequires: automake BuildRequires: libtool -BuildRequires: pkg-config -BuildRequires: python-Cython +BuildRequires: pkgconfig BuildRequires: python-devel +BuildRequires: python3-Cython +BuildRequires: python3-devel BuildRequires: pkgconfig(glib-2.0) BuildRequires: pkgconfig(libcompizconfig) < 0.9 BuildRequires: pkgconfig(x11) Requires: compiz < 0.9 Obsoletes: ccs-python < %{version} Provides: ccs-python = %{version} +%if 0%{?suse_version} > 1320 || 0%{?sle_version} > 120200 +BuildRequires: python2-Cython +%else +BuildRequires: python-Cython +%endif %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 +Group: Development/Libraries/Python +# python-compizconfig was last used in openSUSE Leap 14.2. +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} %build NOCONFIGURE=1 ./autogen.sh -%configure \ - --disable-static -make %{?_smp_mflags} +%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 \ + --disable-static \ + --with-cython="cython-$pyver" + make %{?_smp_mflags} V=1 + popd +done %install -%make_install +%make_install -C build-py%{py_ver} +%make_install -C build-py%{py3_ver} + find %{buildroot} -type f -name "*.la" -delete -print -rm -rf %{buildroot}%{_libdir}/pkgconfig/ +rm -r %{buildroot}%{_libdir}/pkgconfig/ +%if 0%{?suse_version} > 1320 || 0%{?sle_version} > 120200 +%files -n python2-compizconfig +%else %files +%endif %defattr(-,root,root) %{python_sitearch}/compizconfig* +%files -n python3-compizconfig +%defattr(-,root,root) +%{python3_sitearch}/compizconfig* + %changelog ++++++ compizconfig-python-0.8.12.1.tar.xz -> compizconfig-python-0.8.14.tar.xz ++++++ ++++ 18643 lines of diff (skipped)