From 40b6f6a0e4d8c7e2c417ca0375a24d9d3fd7f669 Mon Sep 17 00:00:00 2001 From: Maxwell G Date: Mon, 10 Oct 2022 17:05:03 -0500 Subject: [PATCH] Use flit_core to build the wheel python3-flit is too old in EPEL 8. It's not necessary in Fedora, either. It just pulls in extra dependencies. --- python-testpath.spec | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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