Matej Cepl 2023-08-29 18:06:34 +00:00 committed by Git OBS Bridge
parent 62c8337909
commit 31fe14f295
2 changed files with 10 additions and 4 deletions

View File

@ -1,3 +1,8 @@
-------------------------------------------------------------------
Tue Aug 29 18:06:26 UTC 2023 - Matej Cepl <mcepl@suse.com>
- Clean up the SPEC file
------------------------------------------------------------------- -------------------------------------------------------------------
Mon Aug 28 11:32:57 UTC 2023 - Markéta Machová <mmachova@suse.com> Mon Aug 28 11:32:57 UTC 2023 - Markéta Machová <mmachova@suse.com>

View File

@ -16,8 +16,8 @@
# #
%{?sle15_python_module_pythons}
%define skip_python2 1 %define skip_python2 1
%{?!python_module:%define python_module() python-%{**} python3-%{**}}
%global flavor @BUILD_FLAVOR@%{nil} %global flavor @BUILD_FLAVOR@%{nil}
%if "%{flavor}" == "test" %if "%{flavor}" == "test"
%define psuffix -test %define psuffix -test
@ -26,7 +26,6 @@
%define psuffix %{nil} %define psuffix %{nil}
%bcond_with test %bcond_with test
%endif %endif
%{?sle15_python_module_pythons}
Name: python-sphinxcontrib-htmlhelp%{psuffix} Name: python-sphinxcontrib-htmlhelp%{psuffix}
Version: 2.0.4 Version: 2.0.4
Release: 0 Release: 0
@ -34,7 +33,7 @@ Summary: Sphinx contrib extension to generate html help files
License: BSD-2-Clause License: BSD-2-Clause
Group: Development/Languages/Python Group: Development/Languages/Python
URL: https://github.com/sphinx-doc/sphinxcontrib-htmlhelp URL: https://github.com/sphinx-doc/sphinxcontrib-htmlhelp
Source: https://files.pythonhosted.org/packages/source/s/sphinxcontrib-htmlhelp/sphinxcontrib_htmlhelp-%{version}.tar.gz Source: https://files.pythonhosted.org/packages/source/s/sphinxcontrib_htmlhelp/sphinxcontrib_htmlhelp-%{version}.tar.gz
BuildRequires: %{python_module flit-core} BuildRequires: %{python_module flit-core}
BuildRequires: %{python_module pip} BuildRequires: %{python_module pip}
BuildRequires: %{python_module wheel} BuildRequires: %{python_module wheel}
@ -74,7 +73,9 @@ Html help generating extension.
%files %{python_files} %files %{python_files}
%doc README.rst CHANGES %doc README.rst CHANGES
%license LICENSE %license LICENSE
%{python_sitelib}/* %dir %{python_sitelib}/sphinxcontrib
%{python_sitelib}/sphinxcontrib/htmlhelp
%{python_sitelib}/sphinxcontrib_htmlhelp-%{version}*-info
%endif %endif
%changelog %changelog