Hello community, here is the log from the commit of package python-six for openSUSE:Factory checked in at 2019-06-18 14:49:05 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/python-six (Old) and /work/SRC/openSUSE:Factory/.python-six.new.4811 (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "python-six" Tue Jun 18 14:49:05 2019 rev:32 rq:709049 version:1.12.0 Changes: -------- --- /work/SRC/openSUSE:Factory/python-six/python-six.changes 2019-01-28 20:49:02.913866952 +0100 +++ /work/SRC/openSUSE:Factory/.python-six.new.4811/python-six.changes 2019-06-18 14:49:07.813688923 +0200 @@ -1,0 +2,6 @@ +Tue Jun 11 06:58:13 UTC 2019 - Tomáš Chvátal <[email protected]> + +- Fix pytest call +- Fixdocumentation package generating + +------------------------------------------------------------------- ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ python-six.spec ++++++ --- /var/tmp/diff_new_pack.jKps6z/_old 2019-06-18 14:49:09.185688597 +0200 +++ /var/tmp/diff_new_pack.jKps6z/_new 2019-06-18 14:49:09.213688590 +0200 @@ -21,15 +21,11 @@ # because of cyclical dependencies between six and Sphinx. %global flavor @BUILD_FLAVOR@%{nil} %if "%{flavor}" == "test" -%define test 1 %bcond_without test +%define psuffix -test %else %bcond_with test -%endif -%if %{with test} -Name: python-six-%{flavor} -%else -Name: python-six +%define psuffix %{nil} %endif Version: 1.12.0 Release: 0 @@ -41,12 +37,13 @@ BuildRequires: %{python_module base} BuildRequires: fdupes BuildRequires: python-rpm-macros +BuildArch: noarch +Name: python-six%{psuffix} %if %{with test} BuildRequires: %{python_module pytest} BuildRequires: %{python_module py} BuildRequires: python3-Sphinx %endif -BuildArch: noarch %python_subpackages %description @@ -57,9 +54,9 @@ what is provided. %package -n python-six-doc -Provides: %{python_module six-doc = %{version}} -Summary: Documentation files for %name +Summary: Documentation files for %{name} Group: Documentation/HTML +Provides: %{python_module six-doc = %{version}} %description -n python-six-doc Six is a Python 2 and 3 compatibility library. It provides utility @@ -69,7 +66,6 @@ This package provides documentation for %{name}. - %prep %setup -q -n six-%{version} @@ -91,7 +87,7 @@ mkdir test cp test_six.py test pushd test -%python_exec %{_bindir}/py.test test_six.py +%pytest test_six.py popd rm -rf test %endif @@ -103,15 +99,17 @@ rm -rf %{python_sitelib}/six-*-py%{python_version}.egg-info fi +%if !%{with test} %files %{python_files} %license LICENSE %doc README.rst CHANGES -%if %{with test} -%doc documentation/_build/html -%else %{python_sitelib}/six.py* %pycache_only %{python3_sitelib}/__pycache__/* %{python_sitelib}/six-%{version}-py*.egg-info +%else +%files -n python-six-doc +%license LICENSE +%doc documentation/_build/html %endif %changelog
