diff --git a/python-marshmallow.changes b/python-marshmallow.changes index dc3a8d6..a9fa9a1 100644 --- a/python-marshmallow.changes +++ b/python-marshmallow.changes @@ -1,3 +1,12 @@ +------------------------------------------------------------------- +Tue Mar 26 12:35:03 UTC 2024 - John Paul Adrian Glaubitz + +- Switch build system from setuptools to pyproject.toml + + Add python-pip and python-wheel to BuildRequires + + Replace %python_build with %pyproject_wheel + + Replace %python_install with %pyproject_install +- Limit Python files matched in %files section + ------------------------------------------------------------------- Tue Jan 16 15:06:21 UTC 2024 - Dirk Müller diff --git a/python-marshmallow.spec b/python-marshmallow.spec index b1acbf7..43f59a5 100644 --- a/python-marshmallow.spec +++ b/python-marshmallow.spec @@ -29,7 +29,9 @@ Source: https://files.pythonhosted.org/packages/source/m/marshmallow/mar Patch0: python-marshmallow-no-version-warning.patch BuildRequires: %{python_module autodocsumm} BuildRequires: %{python_module base >= 3.8} +BuildRequires: %{python_module pip} BuildRequires: %{python_module setuptools} +BuildRequires: %{python_module wheel} BuildRequires: fdupes BuildRequires: python-rpm-macros Suggests: %{name}-doc @@ -76,12 +78,12 @@ HTML Documentation and examples for %{name}. %autopatch -p1 %build -%python_build +%pyproject_wheel sphinx-build docs/ docs/_build/html rm -r docs/_build/html/.buildinfo docs/_build/html/.doctrees %install -%python_install +%pyproject_install %python_expand %fdupes %{buildroot}%{$python_sitelib} %check @@ -90,7 +92,8 @@ rm -r docs/_build/html/.buildinfo docs/_build/html/.doctrees %files %{python_files} %doc AUTHORS.rst CHANGELOG.rst README.rst %license LICENSE NOTICE -%{python_sitelib}/* +%{python_sitelib}/marshmallow +%{python_sitelib}/marshmallow-*.dist-info %if 0%{?suse_version} > 1500 %files -n %{name}-doc