diff --git a/.pylint.spec_liksh.swp b/.pylint.spec_liksh.swp deleted file mode 100644 index e11142a25560d149121a357c59525d403dfae936..0000000000000000000000000000000000000000 Binary files a/.pylint.spec_liksh.swp and /dev/null differ diff --git a/pylint-2.12.2.tar.gz b/pylint-2.12.2.tar.gz deleted file mode 100644 index dc71832feb678624db0021a72633c32d615612f9..0000000000000000000000000000000000000000 Binary files a/pylint-2.12.2.tar.gz and /dev/null differ diff --git a/pylint-2.14.5.tar.gz b/pylint-2.14.5.tar.gz new file mode 100644 index 0000000000000000000000000000000000000000..979c88bfbca1b2f5aa949e6bd3e2390f6ca4c337 Binary files /dev/null and b/pylint-2.14.5.tar.gz differ diff --git a/pylint.spec b/pylint.spec index 2de4802392021f08fa1a46eacef652cd98b5ca49..6c643e5136581c507e90cc15d332b3fbd33e888d 100644 --- a/pylint.spec +++ b/pylint.spec @@ -1,22 +1,21 @@ Name: pylint -Version: 2.12.2 +Version: 2.14.5 Release: 1 Summary: Analyzes Python code looking for bugs and signs of poor quality License: GPLv2+ URL: http://www.pylint.org/ -Source0: https://files.pythonhosted.org/packages/9d/6b/732db4470fb03760af3aada21189c95676c0ec514c3b044b42929e018224/pylint-2.12.2.tar.gz +Source0: https://files.pythonhosted.org/packages/82/e5/ae649803c4f3a4e47720337352af046089f8e9ff8a25958199df74268984/pylint-2.14.5.tar.gz BuildArch: noarch BuildRequires: python3-devel BuildRequires: python3-setuptools BuildRequires: python3-toml # For tests -BuildRequires: python3-astroid >= 2.0.2 +BuildRequires: python3-astroid BuildRequires: python3-isort BuildRequires: python3-mccabe BuildRequires: python3-pytest BuildRequires: python3-pytest-runner -BuildRequires: python3-six # For the main pylint package Requires: python3-%{name} = %{version}-%{release} @@ -35,11 +34,10 @@ Additionally, it is possible to write plugins to add your own checks. %package -n python3-%{name} Summary: %{summary} -Requires: python3-astroid >= 2.3.0 +Requires: python3-astroid Requires: python3-setuptools Requires: python3-mccabe Requires: python3-isort -Obsoletes: python3-pylint-gui < 1.7 %{?python_provide:%python_provide python3-%{name}} %description -n python3-%{name} @@ -55,7 +53,10 @@ and much more. Additionally, it is possible to write plugins to add your own checks. %prep -%autosetup -p1 +%autosetup -n pylint-%{version} + +# Convert DOS line endings to Unix +sed -i 's/\r//g' README.rst %build %py3_build @@ -64,29 +65,44 @@ Additionally, it is possible to write plugins to add your own checks. %py3_install rm -rf %{buildroot}%{python3_sitelib}/pylint/test +mkdir -pm 755 %{buildroot}%{_mandir}/man1 +install -pm 644 man/*.1 %{buildroot}%{_mandir}/man1/ + # Add -%%{python3_version} to the binaries and manpages for backwards compatibility for NAME in epylint pylint pyreverse symilar; do mv %{buildroot}%{_bindir}/{$NAME,${NAME}-%{python3_version}} ln -s ${NAME}-%{python3_version} %{buildroot}%{_bindir}/${NAME}-3 + mv %{buildroot}%{_mandir}/man1/{${NAME}.1,${NAME}-%{python3_version}.1} + ln -s ${NAME}-%{python3_version}.1 %{buildroot}%{_mandir}/man1/${NAME}-3.1 ln -s ${NAME}-%{python3_version} %{buildroot}%{_bindir}/${NAME} + ln -s ${NAME}-%{python3_version}.1 %{buildroot}%{_mandir}/man1/${NAME}.1 done %files -%doc CONTRIBUTORS.txt -%license LICENSE +%doc README.rst ChangeLog examples elisp +%license COPYING %{_bindir}/epylint %{_bindir}/pylint %{_bindir}/pyreverse %{_bindir}/symilar +%{_mandir}/man1/epylint.1* +%{_mandir}/man1/pylint.1* +%{_mandir}/man1/pyreverse.1* +%{_mandir}/man1/symilar.1* %files -n python3-%{name} -%license LICENSE +%license COPYING %{python3_sitelib}/pylint* # backwards compatible versioned executables and manpages: %{_bindir}/*-3 %{_bindir}/*-%{python3_version} +%{_mandir}/man1/*-3.1* +%{_mandir}/man1/*-%{python3_version}.1* %changelog +* Fri Nov 4 2022 - 2.14.5-1 +- Upgrade to v2.14.5 + * Wed Apr 27 2022 caodongxia - 2.12.2-1 - update to 2.12.2