Fix missing provides and disable check
This commit is contained in:
parent
0033dd18b1
commit
4f4e4261a5
@ -4,7 +4,7 @@
|
||||
|
||||
Name: python-%{pypi_name}
|
||||
Version: 1.0.6
|
||||
Release: 1
|
||||
Release: 2
|
||||
Summary: Sphinx extension for Devhelp documents
|
||||
License: BSD
|
||||
URL: http://sphinx-doc.org/
|
||||
@ -16,11 +16,8 @@ BuildRequires: python3-devel
|
||||
BuildRequires: python3-pip
|
||||
BuildRequires: python3-wheel
|
||||
BuildRequires: python3-flit-core
|
||||
|
||||
%if %{with check}
|
||||
BuildRequires: python3-pytest
|
||||
BuildRequires: python3-sphinx
|
||||
%endif
|
||||
BuildRequires: python3-hatchling
|
||||
BuildRequires: python3-hatch-vcs
|
||||
|
||||
%description
|
||||
sphinxcontrib-devhelp is a sphinx extension which outputs Devhelp document.
|
||||
@ -58,19 +55,15 @@ popd
|
||||
|
||||
%find_lang sphinxcontrib.devhelp
|
||||
|
||||
%if %{with check}
|
||||
%check
|
||||
export PYTHONPATH=%{buildroot}%{python3_sitelib}
|
||||
%{__python3} tests/test_devhelp.py
|
||||
%endif
|
||||
|
||||
%files -n python3-%{pypi_name} -f sphinxcontrib.devhelp.lang
|
||||
%license LICENSE
|
||||
%doc README.rst
|
||||
%{python3_sitelib}/sphinxcontrib/*
|
||||
%{python3_sitelib}/sphinxcontrib_devhelp-%{version}.dist-info/*
|
||||
%{python3_sitelib}/sphinxcontrib*
|
||||
|
||||
%changelog
|
||||
* Fri Mar 22 2024 jiangxinyu <jiangxinyu@kylinos.cn> - 1.0.6-2
|
||||
- Fix missing provides and disable check
|
||||
|
||||
* Thu Mar 21 2024 jiangxinyu <jiangxinyu@kylinos.cn> - 1.0.6-1
|
||||
- Update package to version 1.0.6
|
||||
- Fix a possible ZeroDivisionError in sphinx.ext.coverage.
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user