diff --git a/python-sphinx-notfound-page.spec b/python-sphinx-notfound-page.spec index 708222a783270c50a8633f5cc786e1f97e4728c2..c5ad4724357e646ee90016d4ae892f9809dbf484 100644 --- a/python-sphinx-notfound-page.spec +++ b/python-sphinx-notfound-page.spec @@ -2,16 +2,15 @@ %global srcname sphinx_notfound_page %global importname notfound %global project_owner readthedocs -%global github_name sphinx-notfound-page %global desc Create a custom 404 page with absolute URLs hardcoded Name: python-%{pypi_name} -Version: 1.0.0 +Version: 1.0.4 Release: 1 Summary: Create a custom 404 page with absolute URLs hardcoded License: MIT URL: https://pypi.python.org/pypi/%{pypi_name} -Source0: https://github.com/%{project_owner}/%{github_name}/archive/%{version}/%{github_name}-%{version}.tar.gz +Source0: https://github.com/%{project_owner}/%{pypi_name}/archive/%{version}/%{pypi_name}-%{version}.tar.gz BuildArch: noarch @@ -42,7 +41,7 @@ Requires: python%{python3_pkgversion}-sphinx %pyproject_build %install -%pyproject_install sphinx-notfound-page==%{version} +%pyproject_install %check PYTHONPATH=$PWD py.test-%{python3_version} -v . @@ -54,6 +53,17 @@ PYTHONPATH=$PWD py.test-%{python3_version} -v . %{python3_sitelib}/%{importname}/ %changelog +* Thu Aug 29 2024 yaoxin - 1.0.4-1 +- Update to 1.0.4: + * fix: Error with sphinx-notfound-page 1.0.3 - 'tuple' object has no attribute 'default' + * fix: check prefix starts and ends with / + * fix _Opt deprecation warning + * fix: Set proper notfound_urls_prefix option types + * Filter all code over pyupgrade --py38-plus and ruff + * do not create 404 page for embedded (e.g. ePub) + * Do not hardcode CSS/JS checksums + * Fix quotes + * Tue Mar 19 2024 jiangxinyu - 1.0.0-1 - Update package to version 1.0.0 - Dependencies: use pip-tools + GH Action to keep dependencies updated diff --git a/python-sphinx-notfound-page.yaml b/python-sphinx-notfound-page.yaml new file mode 100644 index 0000000000000000000000000000000000000000..4a23e639e43efdd946f028f417e8cef5fac5c474 --- /dev/null +++ b/python-sphinx-notfound-page.yaml @@ -0,0 +1,4 @@ +version_control: github +src_repo: readthedocs/sphinx-notfound-page +tag_pattern: "^" +seperator: "." diff --git a/sphinx-notfound-page-1.0.0.tar.gz b/sphinx-notfound-page-1.0.0.tar.gz deleted file mode 100644 index 01ff12084dad61ed5a69cd6dd5d4f0156e410990..0000000000000000000000000000000000000000 Binary files a/sphinx-notfound-page-1.0.0.tar.gz and /dev/null differ diff --git a/sphinx-notfound-page-1.0.4.tar.gz b/sphinx-notfound-page-1.0.4.tar.gz new file mode 100644 index 0000000000000000000000000000000000000000..2ab55496d3be80e1ee962b778ab63062e2f3e7fc Binary files /dev/null and b/sphinx-notfound-page-1.0.4.tar.gz differ