Hello community, here is the log from the commit of package python-pycdio for openSUSE:Factory checked in at 2018-07-02 23:34:00 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/python-pycdio (Old) and /work/SRC/openSUSE:Factory/.python-pycdio.new (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Package is "python-pycdio" Mon Jul 2 23:34:00 2018 rev:2 rq:620213 version:2.0.0 Changes: -------- --- /work/SRC/openSUSE:Factory/python-pycdio/python-pycdio.changes 2015-02-18 12:08:32.000000000 +0100 +++ /work/SRC/openSUSE:Factory/.python-pycdio.new/python-pycdio.changes 2018-07-02 23:34:11.545194175 +0200 @@ -1,0 +2,9 @@ +Mon Jul 2 10:22:29 UTC 2018 - dmueller@suse.com + +- update to 2.0.0: + - Update to libcdio 2.0.0 API + - remove old compability code before 2.0.0 + - Update Python packaging info +- switch to singlespec + +------------------------------------------------------------------- Old: ---- pycdio-0.20.tar.gz New: ---- pycdio-2.0.0.tar.gz ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ python-pycdio.spec ++++++ --- /var/tmp/diff_new_pack.ErGxfr/_old 2018-07-02 23:34:12.709192735 +0200 +++ /var/tmp/diff_new_pack.ErGxfr/_new 2018-07-02 23:34:12.741192696 +0200 @@ -1,7 +1,7 @@ # # spec file for package python-pycdio # -# Copyright (c) 2015 SUSE LINUX GmbH, Nuernberg, Germany. +# Copyright (c) 2018 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 @@ -17,22 +17,19 @@ Name: python-pycdio -Version: 0.20 +Version: 2.0.0 Release: 0 Summary: Python Bindings for the CDIO Library -License: GPL-3.0+ +License: GPL-3.0-or-later Group: Development/Languages/Python Source: https://pypi.python.org/packages/source/p/pycdio/pycdio-%{version}.tar.gz Url: http://pypi.python.org/pypi/pycdio/ -BuildRoot: %{_tmppath}/%{name}-%{version}-build +BuildRequires: %{python_module devel} +BuildRequires: %{python_module setuptools} BuildRequires: libcdio-devel -BuildRequires: pkgconfig -BuildRequires: python-devel -BuildRequires: python-setuptools +BuildRequires: python-rpm-macros BuildRequires: swig -%if 0%{?suse_version} <= 1110 -%{!?python_sitearch: %global python_sitearch %(%{__python} -c "from distutils.sysconfig import get_python_lib; print get_python_lib(1)")} -%endif +%python_subpackages %description pycdio is a Python interface to the CD Input and Control library (libcdio). @@ -45,14 +42,15 @@ %setup -q -n pycdio-%{version} %build -CFLAGS="%{optflags}" python setup.py build +export CFLAGS="%{optflags}" +%python_build %install -python setup.py install --prefix=%{_prefix} --root=%{buildroot} +%python_install -%files -%defattr(-,root,root) -%doc ChangeLog COPYING README.txt THANKS +%files %{python_files} +%license COPYING +%doc ChangeLog README.rst THANKS %{python_sitearch} %changelog ++++++ pycdio-0.20.tar.gz -> pycdio-2.0.0.tar.gz ++++++ ++++ 5547 lines of diff (skipped)