!4 Update to 1.0.4

From: @wk333 
Reviewed-by: @cherry530 
Signed-off-by: @cherry530
This commit is contained in:
openeuler-ci-bot 2023-05-06 00:58:31 +00:00 committed by Gitee
commit 0c576677c4
No known key found for this signature in database
GPG Key ID: 173E9B9CA92EEF8F
3 changed files with 9 additions and 6 deletions

View File

@ -3,7 +3,7 @@
%bcond_without check
Name: python-%{pypi_name}
Version: 1.0.2
Version: 1.0.4
Release: 1
Summary: Sphinx extension for Apple help books
License: BSD
@ -14,6 +14,8 @@ BuildArch: noarch
BuildRequires: gettext
BuildRequires: python3-devel
BuildRequires: python3-setuptools
BuildRequires: python3-pip
BuildRequires: python3-wheel
%if %{with check}
BuildRequires: python3-pytest
@ -41,11 +43,11 @@ find -name '*.mo' -delete
for po in $(find -name '*.po'); do
msgfmt --output-file=${po%.po}.mo ${po}
done
%py3_build
%pyproject_build
%install
%py3_install
%pyproject_install sphinxcontrib-applehelp==%{version}
pushd %{buildroot}%{python3_sitelib}
for lang in `find sphinxcontrib/applehelp/locales -maxdepth 1 -mindepth 1 -type d -not -path '*/\.*' -printf "%f "`;
@ -72,11 +74,12 @@ export PYTHONPATH=%{buildroot}%{python3_sitelib}
%files -n python3-%{pypi_name} -f sphinxcontrib.applehelp.lang
%license LICENSE
%doc README.rst
%{python3_sitelib}/sphinxcontrib/
%{python3_sitelib}/sphinxcontrib_applehelp-%{version}-py%{python3_version}-*.pth
%{python3_sitelib}/sphinxcontrib_applehelp-%{version}-py%{python3_version}.egg-info/
%{python3_sitelib}/*
%changelog
* Fri May 05 2023 wangkai <13474090681@163.com> - 1.0.4-1
- Update to 1.0.4
* Fri Jul 31 2020 tianwei <tianwei12@huawei.com> - 1.0.2-1
- Package Init

Binary file not shown.

Binary file not shown.