diff --git a/0001-add-setup.patch b/0001-add-setup.patch new file mode 100644 index 0000000000000000000000000000000000000000..1bc18e948a02bea2ef002455720009c21167ff8f --- /dev/null +++ b/0001-add-setup.patch @@ -0,0 +1,10 @@ +--- c/setup.py 1970-01-01 08:00:00.000000000 +0800 ++++ a/setup.py 2023-03-20 13:54:52.181728332 +0800 +@@ -0,0 +1,7 @@ ++from setuptools import setup ++ ++ ++setup( ++ name="sphinxcontrib-htmlhelp", ++ version="2.0.1", ++ ) diff --git a/python-sphinxcontrib-htmlhelp.spec b/python-sphinxcontrib-htmlhelp.spec index 34f8b3e412acd4390e84047940921be1a035cec3..f4adf9c601112e2b19b31c0349352bfd3428ab1e 100644 --- a/python-sphinxcontrib-htmlhelp.spec +++ b/python-sphinxcontrib-htmlhelp.spec @@ -1,40 +1,35 @@ -%global pypi_name sphinxcontrib-htmlhelp - +%global _empty_manifest_terminate_build 0 %bcond_without check -Name: python-%{pypi_name} -Version: 2.0.0 -Release: 2 -Summary: Sphinx extension for HTML help files -License: BSD-2-Clause -URL: http://sphinx-doc.org/ -Source0: https://files.pythonhosted.org/packages/source/s/sphinxcontrib-htmlhelp/sphinxcontrib-htmlhelp-%{version}.tar.gz -BuildArch: noarch - -BuildRequires: gettext -BuildRequires: python3-devel -BuildRequires: python3-setuptools - -%if %{with check} -BuildRequires: python3-pytest -BuildRequires: python3-sphinx -BuildRequires: python3-html5lib -%endif +Name: python-sphinxcontrib-htmlhelp +Version: 2.0.1 +Release: 1 +Summary: Sphinx extension for HTML help files +License: BSD-2-Clause +URL: http://sphinx-doc.org/ +Source0: https://files.pythonhosted.org/packages/b3/47/64cff68ea3aa450c373301e5bebfbb9fce0a3e70aca245fcadd4af06cd75/sphinxcontrib-htmlhelp-2.0.1.tar.gz +Patch0: 0001-add-setup.patch +BuildArch: noarch %description sphinxcontrib-htmlhelp is a sphinx extension which renders HTML help files. - -%package -n python3-%{pypi_name} -Summary: %{summary} -%{?python_provide:%python_provide python3-%{pypi_name}} - -%description -n python3-%{pypi_name} +%package -n python3-sphinxcontrib-htmlhelp +Summary: Sphinx extension for HTML help files +Provides: python-sphinxcontrib-htmlhelp = %{version}-%{release} +BuildRequires: gettext +BuildRequires: python3-devel +BuildRequires: python3-setuptools +%if %{with check} +BuildRequires: python3-pytest +BuildRequires: python3-sphinx +BuildRequires: python3-html5lib +%endif +%description -n python3-sphinxcontrib-htmlhelp sphinxcontrib-htmlhelp is a sphinx extension which renders HTML help files. - %prep -%autosetup -n %{pypi_name}-%{version} +%autosetup -n sphinxcontrib-htmlhelp-%{version} find -name '*.mo' -delete @@ -69,16 +64,17 @@ popd %{__python3} tests/conftest.py %endif - -%files -n python3-%{pypi_name} -f sphinxcontrib.htmlhelp.lang +%files -n python3-sphinxcontrib-htmlhelp -f sphinxcontrib.htmlhelp.lang %license LICENSE %doc README.rst %{python3_sitelib}/sphinxcontrib/ -%{python3_sitelib}/sphinxcontrib_htmlhelp-%{version}-py%{python3_version}-*.pth %{python3_sitelib}/sphinxcontrib_htmlhelp-%{version}-py%{python3_version}.egg-info/ %changelog +* Mon Mar 20 2023 wangjunqi - 2.0.1-1 +- Update package to version 2.0.1 + * Tue May 10 2022 yangping - 2.0.0-2 - License compliance rectification diff --git a/sphinxcontrib-htmlhelp-2.0.0.tar.gz b/sphinxcontrib-htmlhelp-2.0.0.tar.gz deleted file mode 100644 index 894519423552d91eb60314c1733cc5890615e789..0000000000000000000000000000000000000000 Binary files a/sphinxcontrib-htmlhelp-2.0.0.tar.gz and /dev/null differ diff --git a/sphinxcontrib-htmlhelp-2.0.1.tar.gz b/sphinxcontrib-htmlhelp-2.0.1.tar.gz new file mode 100644 index 0000000000000000000000000000000000000000..16452c46ecf92c181d035b113be64502b1fe324e Binary files /dev/null and b/sphinxcontrib-htmlhelp-2.0.1.tar.gz differ