diff --git a/python-testpath.spec b/python-testpath.spec index c591ea3..6fa9b64 100644 --- a/python-testpath.spec +++ b/python-testpath.spec @@ -16,7 +16,7 @@ BuildArch: noarch BuildRequires: python3-pip BuildRequires: python3-devel -BuildRequires: python3-flit +BuildRequires: python3-flit-core %if %{with docs} BuildRequires: python3-sphinx @@ -62,7 +62,7 @@ rm -f %{pypi_name}/*.exe # and upstream does not want one # https://github.com/takluyver/flit/issues/74 # we use flit to create a wheel from sources -flit build --format wheel +%{python3} -m flit_core.wheel %if %{with docs} # generate html docs