From bd13ffe3ce5d03e9e20bfaa4e5855975ca30b724 Mon Sep 17 00:00:00 2001 From: tianwei Date: Wed, 5 Aug 2020 20:13:17 +0800 Subject: [PATCH] update python-threadpoolctl.spec. --- python-threadpoolctl.spec | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/python-threadpoolctl.spec b/python-threadpoolctl.spec index 74cdb0e..87b9f96 100644 --- a/python-threadpoolctl.spec +++ b/python-threadpoolctl.spec @@ -9,7 +9,7 @@ License: BSD 3-Clause URL: https://github.com/joblib/threadpoolctl/ Source0: https://github.com/joblib/threadpoolctl/archive/%{version}/%{pypi_name}-%{version}.tar.gz BuildArch: noarch -BuildRequires: python3-devel python3-flit python3-pip +BuildRequires: python3-devel %if %{with test} BuildRequires: python3-pytest @@ -35,10 +35,10 @@ Summary: %{summary} %autosetup -n %{pypi_name}-%{version} %build -FLIT_NO_NETWORK=1 FLIT_ROOT_INSTALL=1 flit build --format=wheel +%py3_build %install -%py3_install_wheel threadpoolctl-*.whl +%py3_install %if %{with test} %check -- Gitee