diff --git a/python-flit-core.changes b/python-flit-core.changes index ab9389c..cf0b5fb 100644 --- a/python-flit-core.changes +++ b/python-flit-core.changes @@ -1,3 +1,10 @@ +------------------------------------------------------------------- +Fri Oct 7 12:16:47 UTC 2022 - Ben Greiner + +- Make sure the 15.4 tests also have python3-packaging +- Revert python_exec change, one pure wheel built by python3 is + enough + ------------------------------------------------------------------- Fri Sep 30 11:52:39 UTC 2022 - Dirk Müller diff --git a/python-flit-core.spec b/python-flit-core.spec index 60ada89..bc51fdb 100644 --- a/python-flit-core.spec +++ b/python-flit-core.spec @@ -58,12 +58,14 @@ BuildRequires: python-rpm-macros BuildArch: noarch %if %{with test} BuildRequires: %{python_module flit-core = %{version}} +BuildRequires: %{python_module packaging} BuildRequires: %{python_module pytest} BuildRequires: %{python_module testpath} -%endif +%else # SECTION boo#1186870: we are a transitive build dependency of python-packaging which is used by pythondistdeps.py normally creating this entry #!BuildIgnore: %{primary_python}-packaging #!BuildIgnore: python3-packaging +%endif Provides: %{mypython}%{python_version}dist(%{modname}) = %{version} %if "%{python_flavor}" == "python3" || "%{python_provides}" == "python3" Provides: %{mypython}3-%{modname} = %{version}-%{release} @@ -83,7 +85,7 @@ The only public interface is the API specified by PEP 517, at flit_core.buildapi %if !%{with test} %build # https://flit.readthedocs.io/en/latest/bootstrap.html -%python_exec -m flit_core.wheel +python3 -m flit_core.wheel %install %{python_expand #