diff --git a/doc8-1.1.2.tar.gz b/doc8-1.1.2.tar.gz deleted file mode 100644 index 07a8035a1c9267a4d9a3510a072aa03c223682a8..0000000000000000000000000000000000000000 Binary files a/doc8-1.1.2.tar.gz and /dev/null differ diff --git a/doc8-2.0.0.tar.gz b/doc8-2.0.0.tar.gz new file mode 100644 index 0000000000000000000000000000000000000000..68e78c9716fe76d8b2592cb72c0bda0615080b8c Binary files /dev/null and b/doc8-2.0.0.tar.gz differ diff --git a/python-doc8.spec b/python-doc8.spec index 46ff815a257031e7ae4246fc08d2a94b9f892f17..2441bab6fc20566b169c121a02c805aa6847d421 100644 --- a/python-doc8.spec +++ b/python-doc8.spec @@ -1,12 +1,11 @@ %global _empty_manifest_terminate_build 0 Name: python-doc8 -Version: 1.1.2 +Version: 2.0.0 Release: 1 Summary: Style checker for Sphinx (or other) RST documentation License: Apache-2.0 URL: https://github.com/pycqa/doc8 -Source0: https://files.pythonhosted.org/packages/11/28/b0a576233730b756ca1ebb422bc6199a761b826b86e93e5196dfa85331ea/doc8-1.1.2.tar.gz -Source1: setup.py +Source0: https://files.pythonhosted.org/packages/92/91/88bb55225046a2ee9c2243d47346c78d2ed861c769168f451568625ad670/doc8-2.0.0.tar.gz BuildArch: noarch %description doc8 is an opinionated style checker for rst (with basic support for plain text) @@ -54,13 +53,14 @@ styles of documentation. %prep %autosetup -n doc8-%{version} -cp %{SOURCE1} ./ + +sed -i "s/dynamic = \[\"version\"\]/version = \"2.0.0\"/g" pyproject.toml %build -%py3_build +%pyproject_build %install -%py3_install +%pyproject_install install -d -m755 %{buildroot}/%{_pkgdocdir} if [ -d doc ]; then cp -arf doc %{buildroot}/%{_pkgdocdir}; fi @@ -98,7 +98,13 @@ pytest %files help -f doclist.lst %{_docdir}/* +%exclude %{python3_sitelib}/doc8/__pycache__/*.pyc +%exclude %{python3_sitelib}/doc8/tests/__pycache__/*.pyc + %changelog +* Fri Aug 01 2025 tzing - 2.0.0-1 +- Update to version 2.0.0 + * Fri Sep 6 2024 liutao1 - 1.1.2-1 - Update package to version 1.1.2 - Clean up build dependencies diff --git a/setup.py b/setup.py deleted file mode 100644 index 22dc3ecd5fe5da6b47c3b3ef7e0bfbf8cfcda044..0000000000000000000000000000000000000000 --- a/setup.py +++ /dev/null @@ -1,4 +0,0 @@ -from setuptools import setup - -setup(install_requires=["setuptools>=42"]) -