diff --git a/python-sphinx-remove-toctrees.spec b/python-sphinx-remove-toctrees.spec index bc5da8b5459d2081e9b5b3486eb5baae61512a2b..93e22f085a877943f95421a16c6ac4fa91020413 100644 --- a/python-sphinx-remove-toctrees.spec +++ b/python-sphinx-remove-toctrees.spec @@ -7,12 +7,12 @@ if your documentation uses auto-generated API documentation, which generates a l This extension can be used to remove the sidebar links for just the pages you specify, speed up the build considerably.} Name: python-%{pypi_name} -Version: 0.0.3 +Version: 1.0.0 Release: 1 Summary: Reduce your documentation build size by selectively removing toctrees from pages. License: MIT URL: https://github.com/executablebooks/sphinx-remove-toctrees -Source0: %{url}/archive/%{version}/%{pypi_name}-%{version}.tar.gz +Source0: %{url}/archive/v%{version}/%{pypi_name}-%{version}.tar.gz BuildArch: noarch BuildRequires: python3-devel @@ -20,6 +20,7 @@ BuildRequires: python3-pip BuildRequires: python3-wheel BuildRequires: python3-setuptools BuildRequires: python3-setuptools_scm +BuildRequires: python3-hatchling %description %_description @@ -39,20 +40,25 @@ Help documents for the %{name} API %autosetup -n %{pypi_name}-%{version} %build -%py3_build +%pyproject_build %install -%py3_install +%pyproject_install %files -n python3-%{pypi_name} %license LICENSE %doc README.md %{python3_sitelib}/sphinx_remove_toctrees/ -%{python3_sitelib}/sphinx_remove_toctrees-*.egg-info/ +%{python3_sitelib}/sphinx_remove_toctrees-*.dist-info/ %files help %doc docs %changelog +* Sun Apr 7 2024 Dongxing Wang - 1.0.0-1 +- Update package with version 1.0.0 + Update build backend + Add pyproject.toml + * Fri Aug 18 2023 li-miaomiao_zhr - 0.0.3-1 - Package init diff --git a/sphinx-remove-toctrees-0.0.3.tar.gz b/sphinx-remove-toctrees-0.0.3.tar.gz deleted file mode 100644 index 0206aba98d8dd42d2476bb0c306dfddb83e70439..0000000000000000000000000000000000000000 Binary files a/sphinx-remove-toctrees-0.0.3.tar.gz and /dev/null differ diff --git a/sphinx-remove-toctrees-1.0.0.tar.gz b/sphinx-remove-toctrees-1.0.0.tar.gz new file mode 100644 index 0000000000000000000000000000000000000000..f69c9f7d1bb76028d80d8b975af2c77ad67c7d62 Binary files /dev/null and b/sphinx-remove-toctrees-1.0.0.tar.gz differ