diff --git a/pylint-3.0.3.tar.gz b/pylint-3.0.3.tar.gz new file mode 100644 index 0000000..ad5e33b Binary files /dev/null and b/pylint-3.0.3.tar.gz differ diff --git a/pylint.spec b/pylint.spec index 75bab1e..51c314e 100644 --- a/pylint.spec +++ b/pylint.spec @@ -1,10 +1,10 @@ Name: pylint -Version: 2.17.5 +Version: 3.0.3 Release: 1 Summary: Analyzes Python code looking for bugs and signs of poor quality License: GPLv2+ 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 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 # 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}} ln -s ${NAME}-%{python3_version} %{buildroot}%{_bindir}/${NAME}-3 ln -s ${NAME}-%{python3_version} %{buildroot}%{_bindir}/${NAME} @@ -83,7 +83,6 @@ done %files %doc CONTRIBUTORS.txt %license LICENSE -%{_bindir}/epylint %{_bindir}/pylint %{_bindir}/pylint-config %{_bindir}/pyreverse @@ -97,6 +96,9 @@ done %{_bindir}/*-%{python3_version} %changelog +* Tue Sep 19 2023 xu_ping <707078654@qq.com> - 3.0.3-1 +- update to 3.0.3 + * Wed Aug 9 2023 shangjiwei - 2.17.5-1 - update to 2.17.5 diff --git a/pylint.yaml b/pylint.yaml new file mode 100644 index 0000000..a1970d1 --- /dev/null +++ b/pylint.yaml @@ -0,0 +1,4 @@ +version_control: github +src_repo: pylint-dev/pylint +tag_prefix: "^v" +separator: "." diff --git a/v2.17.5.tar.gz b/v2.17.5.tar.gz deleted file mode 100644 index 0fd5ee6..0000000 Binary files a/v2.17.5.tar.gz and /dev/null differ