Script 'mail_helper' called by obssrc Hello community, here is the log from the commit of package python-six for openSUSE:Factory checked in at 2023-05-09 13:06:18 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/python-six (Old) and /work/SRC/openSUSE:Factory/.python-six.new.1533 (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "python-six" Tue May 9 13:06:18 2023 rev:42 rq:1084885 version:1.16.0 Changes: -------- --- /work/SRC/openSUSE:Factory/python-six/python-six.changes 2021-07-10 22:53:41.932130683 +0200 +++ /work/SRC/openSUSE:Factory/.python-six.new.1533/python-six.changes 2023-05-09 13:06:24.840691064 +0200 @@ -1,0 +2,10 @@ +Sun Apr 23 23:24:03 UTC 2023 - Matej Cepl <[email protected]> + +- Switch documentation to be within the main package. + +------------------------------------------------------------------- +Fri Apr 21 12:34:10 UTC 2023 - Dirk Müller <[email protected]> + +- add sle15_python_module_pythons (jsc#PED-68) + +------------------------------------------------------------------- ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ python-six.spec ++++++ --- /var/tmp/diff_new_pack.AZTWi6/_old 2023-05-09 13:06:26.120698683 +0200 +++ /var/tmp/diff_new_pack.AZTWi6/_new 2023-05-09 13:06:26.168698968 +0200 @@ -1,7 +1,7 @@ # # spec file # -# Copyright (c) 2021 SUSE LLC +# Copyright (c) 2023 SUSE LLC # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed @@ -16,7 +16,6 @@ # -%{?!python_module:%define python_module() python-%{**} python3-%{**}} # This is not only because of dependency of testsuite, but mostly # because of cyclical dependencies between six and Sphinx. %global flavor @BUILD_FLAVOR@%{nil} @@ -29,6 +28,7 @@ %endif # in order to avoid rewriting for subpackage generator %define mypython python +%{?sle15_python_module_pythons} Name: python-six%{psuffix} Version: 1.16.0 Release: 0 @@ -38,6 +38,8 @@ URL: http://pypi.python.org/pypi/six/ Source: https://files.pythonhosted.org/packages/source/s/six/six-%{version}.tar.gz BuildRequires: %{python_module base} +BuildRequires: %{python_module pip} +BuildRequires: %{python_module wheel} BuildRequires: fdupes BuildRequires: python-rpm-macros BuildArch: noarch @@ -61,6 +63,7 @@ both Python versions. See the documentation for more information on what is provided. +%if 0%{?suse_version} > 1500 %package -n python-six-doc Summary: Documentation files for %{name} Group: Documentation/HTML @@ -73,25 +76,21 @@ both Python versions. This package provides documentation for %{name}. +%endif %prep %setup -q -n six-%{version} %build -%python_build +%pyproject_wheel %if %{with test} cd documentation && make html && rm _build/html/.buildinfo %endif %install %if ! %{with test} -%python_install +%pyproject_install %python_expand %fdupes %{buildroot}%{$python_sitelib} -# add the setuptools egg-info directory -%{python_expand rm %{buildroot}%{$python_sitelib}/six-%{version}-py%{$python_version}.egg-info -mkdir -p %{buildroot}%{$python_sitelib}/six-%{version}-py%{$python_version}.egg-info/ -cp six.egg-info/* %{buildroot}%{$python_sitelib}/six-%{version}-py%{$python_version}.egg-info/ -} %endif %check @@ -109,13 +108,15 @@ %files %{python_files} %license LICENSE %doc README.rst CHANGES -%{python_sitelib}/six.py* -%pycache_only %{python_sitelib}/__pycache__/* -%{python_sitelib}/six-%{version}-py*.egg-info +%{python_sitelib}/six.py +%pycache_only %{python_sitelib}/__pycache__/six*.pyc +%{python_sitelib}/six-%{version}*-info %else +%if 0%{?suse_version} > 1500 %files -n python-six-doc %license LICENSE +%endif %doc documentation/_build/html %endif
