Upgrade version to 3.0.3

Signed-off-by: cherry530 <707078654@qq.com>
This commit is contained in:
cherry530 2023-12-19 09:53:27 +08:00
parent 54280a88ad
commit c7c0b91097
4 changed files with 10 additions and 4 deletions

BIN
pylint-3.0.3.tar.gz Normal file

Binary file not shown.

View File

@ -1,10 +1,10 @@
Name: pylint Name: pylint
Version: 2.17.5 Version: 3.0.3
Release: 1 Release: 1
Summary: Analyzes Python code looking for bugs and signs of poor quality Summary: Analyzes Python code looking for bugs and signs of poor quality
License: GPLv2+ License: GPLv2+
URL: http://www.pylint.org/ URL: http://www.pylint.org/
Source0: https://github.com/pylint-dev/pylint/archive/refs/tags/v%{version}.tar.gz Source0: https://github.com/pylint-dev/%{name}/archive/v%{version}/%{name}-%{version}.tar.gz
BuildArch: noarch BuildArch: noarch
BuildRequires: python3-devel BuildRequires: python3-devel
@ -74,7 +74,7 @@ Additionally, it is possible to write plugins to add your own checks.
rm -rf %{buildroot}%{python3_sitelib}/pylint/test rm -rf %{buildroot}%{python3_sitelib}/pylint/test
# Add -%%{python3_version} to the binaries and manpages for backwards compatibility # Add -%%{python3_version} to the binaries and manpages for backwards compatibility
for NAME in epylint pylint pyreverse symilar; do for NAME in pylint pyreverse symilar; do
mv %{buildroot}%{_bindir}/{$NAME,${NAME}-%{python3_version}} mv %{buildroot}%{_bindir}/{$NAME,${NAME}-%{python3_version}}
ln -s ${NAME}-%{python3_version} %{buildroot}%{_bindir}/${NAME}-3 ln -s ${NAME}-%{python3_version} %{buildroot}%{_bindir}/${NAME}-3
ln -s ${NAME}-%{python3_version} %{buildroot}%{_bindir}/${NAME} ln -s ${NAME}-%{python3_version} %{buildroot}%{_bindir}/${NAME}
@ -83,7 +83,6 @@ done
%files %files
%doc CONTRIBUTORS.txt %doc CONTRIBUTORS.txt
%license LICENSE %license LICENSE
%{_bindir}/epylint
%{_bindir}/pylint %{_bindir}/pylint
%{_bindir}/pylint-config %{_bindir}/pylint-config
%{_bindir}/pyreverse %{_bindir}/pyreverse
@ -97,6 +96,9 @@ done
%{_bindir}/*-%{python3_version} %{_bindir}/*-%{python3_version}
%changelog %changelog
* Tue Sep 19 2023 xu_ping <707078654@qq.com> - 3.0.3-1
- update to 3.0.3
* Wed Aug 9 2023 shangjiwei <cyrus_shang@163.com> - 2.17.5-1 * Wed Aug 9 2023 shangjiwei <cyrus_shang@163.com> - 2.17.5-1
- update to 2.17.5 - update to 2.17.5

4
pylint.yaml Normal file
View File

@ -0,0 +1,4 @@
version_control: github
src_repo: pylint-dev/pylint
tag_prefix: "^v"
separator: "."

Binary file not shown.