diff --git a/0.7.1.tar.gz b/0.7.1.tar.gz deleted file mode 100644 index d799f699342d46debe6da1ad1327e85c248967d2..0000000000000000000000000000000000000000 Binary files a/0.7.1.tar.gz and /dev/null differ diff --git a/0001-add-setup.py.patch b/0001-add-setup.py.patch new file mode 100644 index 0000000000000000000000000000000000000000..b32246e1f542ca420a1cba0b8e57e212d8f629fa --- /dev/null +++ b/0001-add-setup.py.patch @@ -0,0 +1,9 @@ +--- a/setup.py 1970-01-01 08:00:00.000000000 +0800 ++++ b/setup.py 2022-10-19 09:38:57.746598491 +0800 +@@ -0,0 +1,6 @@ ++#!/usr/bin/env python ++ ++from setuptools import setup ++ ++if __name__ == "__main__": ++ setup() diff --git a/python-sphinx-notfound-page.spec b/python-sphinx-notfound-page.spec index 943153ed8333ab06fcf04e46499f0a904b97c36f..e8947df87972258e06d3a2cfc2d05b3e6b459542 100644 --- a/python-sphinx-notfound-page.spec +++ b/python-sphinx-notfound-page.spec @@ -6,13 +6,15 @@ %global desc Create a custom 404 page with absolute URLs hardcoded Name: python-%{pypi_name} -Version: 0.7.1 +Version: 0.8.3 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}.tar.gz +#Source0: https://github.com/%{project_owner}/%{github_name}/archive/%{version}.tar.gz +Source0: https://files.pythonhosted.org/packages/c7/63/6b4de20781ad009eed7b4a25ea2bcc5858ed34b336ff83a5fd7fd8c1e224/sphinx-notfound-page-0.8.3.tar.gz +Patch0: 0001-add-setup.py.patch BuildArch: noarch @@ -38,6 +40,7 @@ Requires: python%{python3_pkgversion}-sphinx %prep %autosetup -n %{pypi_name}-%{version} -p1 +%patch0 %build %py3_build @@ -56,6 +59,9 @@ PYTHONPATH=$PWD py.test-%{python3_version} -v . %{python3_sitelib}/%{importname}/ %changelog +* Thu Oct 20 2022 wangjunqi - 0.8.3-1 +- Update version to 0.8.3 + * Thu Jun 23 2022 SimpleUpdate Robot - 0.7.1-1 - Upgrade to version 0.7.1 diff --git a/sphinx-notfound-page-0.8.3.tar.gz b/sphinx-notfound-page-0.8.3.tar.gz new file mode 100644 index 0000000000000000000000000000000000000000..365c771d4199511e378419265468ef287005a14f Binary files /dev/null and b/sphinx-notfound-page-0.8.3.tar.gz differ