Hello community, here is the log from the commit of package python-espeak for openSUSE:Factory checked in at 2018-06-27 10:21:32 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/python-espeak (Old) and /work/SRC/openSUSE:Factory/.python-espeak.new (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "python-espeak" Wed Jun 27 10:21:32 2018 rev:8 rq:618965 version:0.5 Changes: -------- --- /work/SRC/openSUSE:Factory/python-espeak/python-espeak.changes 2014-01-27 11:43:42.000000000 +0100 +++ /work/SRC/openSUSE:Factory/.python-espeak.new/python-espeak.changes 2018-06-27 10:21:34.375706216 +0200 @@ -1,0 +2,10 @@ +Mon Jun 25 13:19:42 UTC 2018 - mc...@suse.com + +- Clean SPEC file + +------------------------------------------------------------------- +Thu Aug 24 13:38:19 UTC 2017 - jmate...@suse.com + +- singlespec auto-conversion + +------------------------------------------------------------------- @@ -18,0 +29 @@ + ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ python-espeak.spec ++++++ --- /var/tmp/diff_new_pack.pBFoXn/_old 2018-06-27 10:21:34.947685354 +0200 +++ /var/tmp/diff_new_pack.pBFoXn/_new 2018-06-27 10:21:34.951685208 +0200 @@ -1,7 +1,7 @@ # # spec file for package python-espeak # -# Copyright (c) 2014 SUSE LINUX Products GmbH, Nuernberg, Germany. +# Copyright (c) 2018 SUSE LINUX GmbH, Nuernberg, Germany. # Copyright (c) 2012 Malcolm J Lewis <malcolmle...@opensuse.org> # # All modifications and additions to the file contributed by third parties @@ -17,21 +17,22 @@ # +%{!?python_sitearch: %global python_sitearch %(python -c "from distutils.sysconfig import get_python_lib; print(get_python_lib(1))")} +%{?!python_module:%define python_module() python-%{**} python3-%{**}} Name: python-espeak Version: 0.5 Release: 0 Summary: Python bindings for espeak -License: GPL-3.0+ +License: GPL-3.0-or-later Group: Development/Languages/Python -Url: https://launchpad.net/python-espeak +URL: https://launchpad.net/python-espeak Source0: https://launchpad.net/python-espeak/trunk/0.5/+download/python-espeak-0.5.tar.gz +BuildRequires: %{python_module devel} BuildRequires: espeak-devel BuildRequires: fdupes BuildRequires: gcc-c++ -BuildRequires: python-devel -BuildRoot: %{_tmppath}/%{name}-%{version}-build -%py_requires -%{!?python_sitearch: %global python_sitearch %(%{__python} -c "from distutils.sysconfig import get_python_lib; print(get_python_lib(1))")} +BuildRequires: python-rpm-macros +%python_subpackages %description Simple to use yet complete Python bindings for the eSpeak speech synthesizer. @@ -40,16 +41,17 @@ %setup -q %build -CFLAGS="%{optflags}" python setup.py build +export CFLAGS="%{optflags}" +%python_build %install -python setup.py install -O1 --skip-build --prefix=%{_prefix} --root=%{buildroot} +%python_install %fdupes %{buildroot} -%files -%defattr(-,root,root) -%doc COPYING NEWS +%files %{python_files} +%license COPYING +%doc NEWS %{python_sitearch}/espeak/ -%{python_sitearch}/python_espeak-%{version}-py%{py_ver}.egg-info +%{python_sitearch}/python_espeak-%{version}-py%{python_version}.egg-info %changelog