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/0.8.3.tar.gz b/0.8.3.tar.gz new file mode 100644 index 0000000000000000000000000000000000000000..e048aa591e7931045e01266ac0333ad149fafeac Binary files /dev/null and b/0.8.3.tar.gz differ diff --git a/0001-add-setup.py.patch b/0001-add-setup.py.patch new file mode 100644 index 0000000000000000000000000000000000000000..6e50afb96fa3d4d496d15710cbad953f60a5132c --- /dev/null +++ b/0001-add-setup.py.patch @@ -0,0 +1,41 @@ +--- a/setup.py 1970-01-01 08:00:00.000000000 +0800 ++++ b/setup.py 2022-10-25 13:51:33.908767146 +0800 +@@ -0,0 +1,38 @@ ++import notfound ++import setuptools ++ ++ ++with open('README.rst', 'r') as fh: ++ long_description = fh.read() ++ ++setuptools.setup( ++ name='sphinx-notfound-page', ++ version=notfound.__version__, ++ author='Manuel Kaufmann', ++ author_email='humitos@gmail.com', ++ description='Sphinx extension to build a 404 page with absolute URLs', ++ url='https://github.com/readthedocs/sphinx-notfound-page', ++ license='MIT', ++ packages=setuptools.find_packages(), ++ long_description=long_description, ++ long_description_content_type='text/x-rst', ++ include_package_data=True, ++ zip_safe=False, ++ classifiers=[ ++ 'Development Status :: 5 - Production/Stable', ++ 'Framework :: Sphinx', ++ 'Framework :: Sphinx :: Extension', ++ 'License :: OSI Approved :: MIT License', ++ 'Operating System :: OS Independent', ++ 'Programming Language :: Python :: 2.7', ++ 'Programming Language :: Python :: 3', ++ 'Topic :: Documentation :: Sphinx', ++ 'Topic :: Software Development :: Documentation', ++ ], ++ keywords='notfound 404 page sphinx', ++ project_urls={ ++ 'Documentation': 'https://sphinx-notfound-page.readthedocs.io/', ++ 'Source': 'https://github.com/readthedocs/sphinx-notfound-page', ++ 'Tracker': 'https://github.com/readthedocs/sphinx-notfound-page/issues', ++ }, ++) diff --git a/python-sphinx-notfound-page.spec b/python-sphinx-notfound-page.spec index 943153ed8333ab06fcf04e46499f0a904b97c36f..44e6964a18529ee050d67717f13fef9592f6c845 100644 --- a/python-sphinx-notfound-page.spec +++ b/python-sphinx-notfound-page.spec @@ -6,13 +6,14 @@ %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 +Patch0: 0001-add-setup.py.patch BuildArch: noarch @@ -38,6 +39,7 @@ Requires: python%{python3_pkgversion}-sphinx %prep %autosetup -n %{pypi_name}-%{version} -p1 +%patch0 %build %py3_build @@ -56,6 +58,9 @@ PYTHONPATH=$PWD py.test-%{python3_version} -v . %{python3_sitelib}/%{importname}/ %changelog +* Tue Oct 25 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