From 396d62c3236e63311543dca4f93a90de4f4847bf Mon Sep 17 00:00:00 2001 From: Tomas Hrnciar Date: Sep 04 2020 09:38:07 +0000 Subject: Use extra with test dependency --- diff --git a/python-colorzero.spec b/python-colorzero.spec index 4723646..716c3b0 100644 --- a/python-colorzero.spec +++ b/python-colorzero.spec @@ -21,7 +21,6 @@ which aims to be reasonably simple to use and "pythonic" in nature.} Summary: %{summary} BuildRequires: pyproject-rpm-macros BuildRequires: python3-devel -#BuildRequires: python3-pytest %description -n python3-%{srcname} %_description @@ -29,7 +28,7 @@ BuildRequires: python3-devel %autosetup -n %{srcname}-release-%{version} %generate_buildrequires -%pyproject_buildrequires -r +%pyproject_buildrequires -x test %build %pyproject_wheel @@ -44,7 +43,6 @@ BuildRequires: python3-devel %files -n python3-%{srcname} -f %{pyproject_files} %license LICENSE.txt %doc README.rst -%{python3_sitelib}/%{srcname}/ %changelog * Fri Sep 04 2020 Tomas Hrnciar - 1.1-4