From 5cdcaefd2b65574e75927ae2461fb9d405ce8ce9 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Miro=20Hron=C4=8Dok?= Date: Tue, 21 Jun 2022 12:03:36 +0200 Subject: [PATCH] Don't BuildRequire unused pre-commit --- python-dask.spec | 2 ++ 1 file changed, 2 insertions(+) diff --git a/python-dask.spec b/python-dask.spec index 5fdedf6..5693474 100644 --- a/python-dask.spec +++ b/python-dask.spec @@ -127,6 +127,8 @@ Documentation for dask. %autosetup -n %{srcname}-%{version} -p1 cp -p '%{SOURCE1}' dask/array/ cp -p '%{SOURCE2}' ./ +# we don't use pre-commit when running tests +sed -i '/"pre-commit"/d' setup.py %generate_buildrequires