diff --git a/python-flit-core.changes b/python-flit-core.changes index a628792..3dfdf89 100644 --- a/python-flit-core.changes +++ b/python-flit-core.changes @@ -1,3 +1,8 @@ +------------------------------------------------------------------- +Thu Jul 14 15:34:09 UTC 2022 - Ben Greiner + +- Remove devendoring of tomli, so that we can put this in Ring0 + ------------------------------------------------------------------- Fri Mar 25 12:10:11 UTC 2022 - Ben Greiner diff --git a/python-flit-core.spec b/python-flit-core.spec index eddb46a..28f0873 100644 --- a/python-flit-core.spec +++ b/python-flit-core.spec @@ -30,7 +30,7 @@ Name: python-flit-core%{psuffix} Version: 3.7.1 Release: 0 Summary: Distribution-building parts of Flit -License: BSD-3-Clause +License: BSD-3-Clause AND MIT URL: https://github.com/pypa/flit Source0: https://files.pythonhosted.org/packages/source/f/flit-core/flit_core-%{version}.tar.gz BuildRequires: %{python_module base >= 3.6} @@ -41,13 +41,12 @@ BuildRequires: %{python_module testpath} %endif BuildRequires: fdupes BuildRequires: python-rpm-macros -BuildRequires: unzip -Requires: python-tomli BuildArch: noarch %python_subpackages %description -Flit is a simple way to put Python packages and modules on PyPI. +This provides a PEP 517 build backend for packages using Flit. +The only public interface is the API specified by PEP 517, at flit_core.buildapi. %prep %setup -q -n flit_core-%{version} @@ -61,9 +60,6 @@ python3 -m flit_core.wheel %{python_expand # mkdir -p %{buildroot}%{$python_sitelib} $python bootstrap_install.py dist/flit_core-%{version}-py3-none-any.whl -i %{buildroot}%{$python_sitelib} -# debundle after the bootstrap. See vendor/README -sed -i 's/from .vendor import tomli/import tomli/' %{buildroot}%{$python_sitelib}/flit_core/config.py -rm -r %{buildroot}%{$python_sitelib}/flit_core/vendor # Don't package the tests rm -r %{buildroot}%{$python_sitelib}/flit_core/tests }