From 71775a369352e818e3400d1f62d16d69b06bc2d0 Mon Sep 17 00:00:00 2001 From: Funda Wang Date: Wed, 27 Aug 2025 13:44:32 +0800 Subject: [PATCH] cleanup buildrequires (cherry picked from commit 4e48fef0a475da91e071c5fe00164af572bb8d4c) --- pylint.spec | 24 ++++++++++-------------- 1 file changed, 10 insertions(+), 14 deletions(-) diff --git a/pylint.spec b/pylint.spec index 593eb03..738b696 100644 --- a/pylint.spec +++ b/pylint.spec @@ -1,9 +1,9 @@ Name: pylint Version: 3.3.8 -Release: 1 +Release: 2 Summary: Analyzes Python code looking for bugs and signs of poor quality License: GPL-2.0-or-later -URL: http://www.pylint.org/ +URL: https://www.pylint.org/ Source0: https://github.com/pylint-dev/%{name}/archive/v%{version}/%{name}-%{version}.tar.gz BuildArch: noarch @@ -16,14 +16,13 @@ BuildRequires: python3-editables BuildRequires: python3-hatch-vcs BuildRequires: python3-hatchling # For tests -BuildRequires: python3-astroid >= 2.15.5 -BuildRequires: python3-dill -BuildRequires: python3-isort -BuildRequires: python3-mccabe +BuildRequires: python3-astroid >= 3.3.8 +BuildRequires: python3-dill >= 0.3.6 +BuildRequires: python3-isort >= 4.2.5 +BuildRequires: python3-mccabe >= 0.6 BuildRequires: python3-pytest BuildRequires: python3-pytest-runner -BuildRequires: python3-tomlkit -BuildRequires: python3-six +BuildRequires: python3-tomlkit >= 0.10.1 # For the main pylint package Requires: python3-%{name} = %{version}-%{release} @@ -42,12 +41,6 @@ Additionally, it is possible to write plugins to add your own checks. %package -n python3-%{name} Summary: %{summary} -Requires: python3-astroid >= 2.15.5 -Requires: python3-dill -Requires: python3-setuptools -Requires: python3-mccabe -Requires: python3-isort -Requires: python3-tomlkit Obsoletes: python3-pylint-gui %{?python_provide:%python_provide python3-%{name}} @@ -96,6 +89,9 @@ done %{_bindir}/*-%{python3_version} %changelog +* Wed Aug 27 2025 Funda Wang - 3.3.8-2 +- cleanup buildrequires + * Wed Aug 20 2025 zhang_wenyu - 3.3.8-1 - update pylint to 3.3.8 * Fix false positives for possibly-used-before-assignment when variables are exhaustivelyassigned within a match block -- Gitee