#7 [WIP][DO NOT MERGE] Update to 2.0.4 + modernize packaging
Opened a month ago by ksurma. Modified a month ago
rpms/ ksurma/python-sphinxcontrib-htmlhelp 2.0.4  into  rawhide

file modified
+1
@@ -1,1 +1,2 @@ 

  /sphinxcontrib-htmlhelp-*.tar.gz

+ /sphinxcontrib_htmlhelp-*.tar.gz

@@ -1,48 +1,38 @@ 

- %global pypi_name sphinxcontrib-htmlhelp

- 

  # when bootstrapping sphinx, we cannot even run an import check

  %bcond check 1

  # RHEL does not include html5lib, without which the tests fail

  %bcond tests %[%{with check} && %{undefined rhel}]

  

- Name:           python-%{pypi_name}

- Version:        2.0.3

+ Name:           python-sphinxcontrib-htmlhelp

+ Version:        2.0.4

  Release:        1%{?dist}

  Summary:        Sphinx extension for HTML help files

  License:        BSD-2-Clause

  URL:            http://sphinx-doc.org/

- Source0:        %{pypi_source}

+ Source:         %{pypi_source sphinxcontrib_htmlhelp}

  BuildArch:      noarch

  

  BuildRequires:  gettext

  BuildRequires:  python%{python3_pkgversion}-devel

  

- %if %{with check}

- BuildRequires:  python%{python3_pkgversion}-sphinx >= 1:2

- %if %{with tests}

- BuildRequires:  python%{python3_pkgversion}-pytest

- BuildRequires:  python%{python3_pkgversion}-html5lib

- %endif

- %endif

  

  %generate_buildrequires

- %pyproject_buildrequires

+ %pyproject_buildrequires %{?without_check: -R} %{?with_tests: -x test}

  

  

  %description

  sphinxcontrib-htmlhelp is a sphinx extension which renders HTML help files.

  

  

- %package -n     python%{python3_pkgversion}-%{pypi_name}

+ %package -n     python%{python3_pkgversion}-sphinxcontrib-htmlhelp

  Summary:        %{summary}

- %{?python_provide:%python_provide python%{python3_pkgversion}-%{pypi_name}}

  

- %description -n python%{python3_pkgversion}-%{pypi_name}

+ %description -n python%{python3_pkgversion}-sphinxcontrib-htmlhelp

  sphinxcontrib-htmlhelp is a sphinx extension which renders HTML help files.

  

  

  %prep

- %autosetup -p1 -n %{pypi_name}-%{version}

+ %autosetup -p1 -n sphinxcontrib_htmlhelp-%{version}

  find -name '*.mo' -delete

  

  
@@ -81,7 +71,7 @@ 

  %endif

  

  

- %files -n python%{python3_pkgversion}-%{pypi_name} -f sphinxcontrib.htmlhelp.lang

+ %files -n python%{python3_pkgversion}-sphinxcontrib-htmlhelp -f sphinxcontrib.htmlhelp.lang

  %license LICENSE

  %doc README.rst

  %{python3_sitelib}/sphinxcontrib/
@@ -89,6 +79,10 @@ 

  

  

  %changelog

+ * Thu Aug 24 2023 Karolina Surma <ksurma@redhat.com> - 2.0.4-1

+ - update to 2.0.4

+ Resolves: rhbz#2231932

+ 

  * Fri Aug 11 2023 Tom Callaway <spot@fedoraproject.org> - 2.0.3-1

  - update to 2.0.3

  

file modified
+1 -1
@@ -1,1 +1,1 @@ 

- SHA512 (sphinxcontrib-htmlhelp-2.0.3.tar.gz) = b405d222eaf07974fafee6cf2e20dc2dbdfe076b4fb63ac159402ad6198bccb53a23b3761bed958fa8269624d447950c27f59adfa31e6a072efb1a625f759487

+ SHA512 (sphinxcontrib_htmlhelp-2.0.4.tar.gz) = 5f1c4619b986060fb6213e23b5339b7b5d57abdb8f6034473116c9ea7c3d04cf0985115141c5325cb93bac330eb6109d2e81327f53fda78838c9ed5435469b29

no initial comment

Build succeeded.
https://fedora.softwarefactory-project.io/zuul/buildset/cf83cf9b1232497c837bb24c9fd14a90

Build succeeded.
https://fedora.softwarefactory-project.io/zuul/buildset/1b479892ef6f49e18b7497f67178f9ca