[packages/python-mccabe] - fix test deps
baggins
baggins at pld-linux.org
Mon Mar 10 15:10:31 CET 2025
commit f17853ce434e562e298541ec3a13d9e16401300a
Author: Jan Rękorajski <baggins at pld-linux.org>
Date: Mon Mar 10 15:27:46 2025 +0100
- fix test deps
python-mccabe.spec | 8 ++++----
1 file changed, 4 insertions(+), 4 deletions(-)
---
diff --git a/python-mccabe.spec b/python-mccabe.spec
index 20ccef6..c459989 100644
--- a/python-mccabe.spec
+++ b/python-mccabe.spec
@@ -4,13 +4,13 @@
%bcond_without python2 # CPython 2.x module
%bcond_without python3 # CPython 3.x module
-%define module mccabe
+%define module mccabe
Summary: McCabe checker, plugin for flake8
Summary(pl.UTF-8): Wtyczka flake8 do sprawdzania złożoności McCabe'a
Name: python-%{module}
# keep 0.6.x here for python2 support and flake8 compatibility
Version: 0.6.1
-Release: 8
+Release: 9
License: Expat/MIT
Group: Libraries/Python
#Source0Download: https://pypi.org/simple/mccabe/
@@ -21,18 +21,18 @@ BuildRequires: rpm-pythonprov
BuildRequires: rpmbuild(macros) >= 1.714
%if %{with python2}
BuildRequires: python-devel >= 1:2.7
-BuildRequires: python-pytest-runner
BuildRequires: python-setuptools
%if %{with tests}
BuildRequires: python-pytest
+BuildRequires: python-pytest-runner
%endif
%endif
%if %{with python3}
BuildRequires: python3-devel >= 1:3.3
-BuildRequires: python3-pytest-runner
BuildRequires: python3-setuptools
%if %{with tests}
BuildRequires: python3-pytest
+BuildRequires: python3-pytest-runner
%endif
%endif
Requires: python-modules >= 1:2.7
================================================================
---- gitweb:
http://git.pld-linux.org/gitweb.cgi/packages/python-mccabe.git/commitdiff/f17853ce434e562e298541ec3a13d9e16401300a
More information about the pld-cvs-commit
mailing list