Hello community, here is the log from the commit of package python-subprocess32 for openSUSE:Factory checked in at 2018-06-08 23:17:21 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/python-subprocess32 (Old) and /work/SRC/openSUSE:Factory/.python-subprocess32.new (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Package is "python-subprocess32" Fri Jun 8 23:17:21 2018 rev:2 rq:614609 version:3.5.1 Changes: -------- --- /work/SRC/openSUSE:Factory/python-subprocess32/python-subprocess32.changes 2017-04-07 13:54:29.465440325 +0200 +++ /work/SRC/openSUSE:Factory/.python-subprocess32.new/python-subprocess32.changes 2018-06-08 23:17:28.403712726 +0200 @@ -1,0 +2,17 @@ +Wed Jun 6 16:41:05 UTC 2018 - mcepl@suse.com + +- Clean SPEC file + - switched to py2k-only (the package is a backport of py3k + functionality, so we don't want to promote its use in py3k-world). + - switched on rather comprehensive tests. + - upgrade to 3.5.1: + - backport of functionality from all versions up to 3.5 + - a lot of bugfixes + complete changelog is packaged as ChangeLog + +------------------------------------------------------------------- +Thu Aug 24 13:55:35 UTC 2017 - jmatejek@suse.com + +- singlespec auto-conversion + +------------------------------------------------------------------- @@ -4,0 +22 @@ + Old: ---- subprocess32-3.2.7.tar.gz New: ---- subprocess32-3.5.1.tar.gz ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ python-subprocess32.spec ++++++ --- /var/tmp/diff_new_pack.L5KQVA/_old 2018-06-08 23:17:29.375677618 +0200 +++ /var/tmp/diff_new_pack.L5KQVA/_new 2018-06-08 23:17:29.379677473 +0200 @@ -1,7 +1,7 @@ # # spec file for package python-subprocess32 # -# Copyright (c) 2017 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 @@ -16,20 +16,23 @@ # -# Note: this package is python 2.x-only. +# is desired. +%define skip_python3 1 +%{?!python_module:%define python_module() python-%{**} python3-%{**}} +# Note: this package is python 2.x-only. Name: python-subprocess32 -Version: 3.2.7 +Version: 3.5.1 Release: 0 Summary: A backport of the subprocess module from Python 3.2/3.3 for use on 2.x License: Python-2.0 Group: Development/Languages/Python -Url: https://github.com/google/python-subprocess32 +URL: https://github.com/google/python-subprocess32 Source: https://files.pythonhosted.org/packages/source/s/subprocess32/subprocess32-%{version}.tar.gz -BuildRequires: python-devel -BuildRequires: python-setuptools -Provides: python2-subprocess32 = %{version} -BuildRoot: %{_tmppath}/%{name}-%{version}-build +BuildRequires: %{python_module devel} +BuildRequires: %{python_module setuptools} +BuildRequires: python-rpm-macros +%python_subpackages %description This is a backport of the subprocess standard library module from @@ -45,15 +48,19 @@ %build export CFLAGS="%{optflags}" -python setup.py build +%python_build %install -python setup.py install --root=%{buildroot} --prefix=%{_prefix} +%python_install + +%check +%python_exec setup.py test -v -%files -%defattr(-,root,root,-) -%doc ChangeLog LICENSE README.md -%{python_sitearch}/_posixsubprocess.so +%files %{python_files} +%license LICENSE +%doc ChangeLog README.md +%{python_sitearch}/_posixsubprocess32.so +%pycache_only %{python_sitearch}/__pycache__/* %{python_sitearch}/subprocess32.py* %{python_sitearch}/subprocess32-%{version}-py*.egg-info ++++++ subprocess32-3.2.7.tar.gz -> subprocess32-3.5.1.tar.gz ++++++ ++++ 6895 lines of diff (skipped)