diff --git a/python-pycodestyle.spec b/python-pycodestyle.spec index f30d4e722677d0c90246f59b530df4ef211c1e3f..4d78e6a888485b179b926f70b6a947c6c9c53148 100644 --- a/python-pycodestyle.spec +++ b/python-pycodestyle.spec @@ -2,8 +2,8 @@ Summary: Python style guide checker Name: python-%{module_name} -Version: 2.8.0 -Release: 6%{?dist} +Version: 2.11.0 +Release: 1%{?dist} License: MIT URL: https://pypi.python.org/pypi/%{module_name} Source0: %{pypi_source %{module_name}} @@ -34,7 +34,7 @@ sed --in-place "s:#!\s*/usr.*::" pycodestyle.py %build %py3_build -make -C docs man SPHINXBUILD=sphinx-build +#make -C docs man SPHINXBUILD=sphinx-build %install %py3_install @@ -42,23 +42,24 @@ mv %{buildroot}%{_bindir}/pycodestyle %{buildroot}%{_bindir}/pycodestyle-%{pytho ln -s ./pycodestyle-%{python3_version} %{buildroot}%{_bindir}/pycodestyle-3 ln -s ./pycodestyle-3 %{buildroot}%{_bindir}/pycodestyle -install -D docs/_build/man/%{module_name}.1 %{buildroot}%{_mandir}/man1/%{module_name}.1 +#install -D docs/_build/man/%{module_name}.1 %{buildroot}%{_mandir}/man1/%{module_name}.1 %check -%{__python3} pycodestyle.py --max-doc-length=72 --testsuite testsuite -%{__python3} pycodestyle.py --max-doc-length=72 --doctest +%{__python3} setup.py test %files -n python%{python3_pkgversion}-pycodestyle %license LICENSE -%doc README.rst CHANGES.txt +%doc README.rst %{_bindir}/pycodestyle %{_bindir}/pycodestyle-3 %{_bindir}/pycodestyle-%{python3_version} %pycached %{python3_sitelib}/%{module_name}.py %{python3_sitelib}/%{module_name}-%{version}-*.egg-info/ -%{_mandir}/man1/%{module_name}.1.gz %changelog +* Tue Sep 26 2023 cunshunxia - 2.11.0-1 +- Upgrade to version 2.11.0 + * Tue Sep 19 2023 OpenCloudOS Release Engineering - 2.8.0-6 - Rebuilt for python 3.11 diff --git a/sources b/sources index d4e532074033b0518efbe8fd374675a74507cc0a..0d7bacdd35a72e60c533986323792325e90cdfe2 100644 --- a/sources +++ b/sources @@ -1 +1 @@ -SHA512 (pycodestyle-2.8.0.tar.gz) = 0098be44451bc173507e2b396aaf342ccf7f25a6a1f5d5c1f802079a76a66e6bedf9f358b5e07b27bee66e3b279c72a6b72f63e5984f58ae83b7fc5806880fc1 +SHA512 (pycodestyle-2.11.0.tar.gz) = 6e8a53dbf3e290b4aded3ef8b31c5905b5638c898969230ac8801cd1efe41c410d1165b3b0181d6a7a812af49501f73723528f2d081e53b94c6bb379df0d6d9f