Update to 1.0.4
This commit is contained in:
parent
28473e44a7
commit
9bb805c52e
@ -3,7 +3,7 @@
|
|||||||
%bcond_without check
|
%bcond_without check
|
||||||
|
|
||||||
Name: python-%{pypi_name}
|
Name: python-%{pypi_name}
|
||||||
Version: 1.0.2
|
Version: 1.0.4
|
||||||
Release: 1
|
Release: 1
|
||||||
Summary: Sphinx extension for Apple help books
|
Summary: Sphinx extension for Apple help books
|
||||||
License: BSD
|
License: BSD
|
||||||
@ -14,6 +14,8 @@ BuildArch: noarch
|
|||||||
BuildRequires: gettext
|
BuildRequires: gettext
|
||||||
BuildRequires: python3-devel
|
BuildRequires: python3-devel
|
||||||
BuildRequires: python3-setuptools
|
BuildRequires: python3-setuptools
|
||||||
|
BuildRequires: python3-pip
|
||||||
|
BuildRequires: python3-wheel
|
||||||
|
|
||||||
%if %{with check}
|
%if %{with check}
|
||||||
BuildRequires: python3-pytest
|
BuildRequires: python3-pytest
|
||||||
@ -41,11 +43,11 @@ find -name '*.mo' -delete
|
|||||||
for po in $(find -name '*.po'); do
|
for po in $(find -name '*.po'); do
|
||||||
msgfmt --output-file=${po%.po}.mo ${po}
|
msgfmt --output-file=${po%.po}.mo ${po}
|
||||||
done
|
done
|
||||||
%py3_build
|
%pyproject_build
|
||||||
|
|
||||||
|
|
||||||
%install
|
%install
|
||||||
%py3_install
|
%pyproject_install sphinxcontrib-applehelp==%{version}
|
||||||
|
|
||||||
pushd %{buildroot}%{python3_sitelib}
|
pushd %{buildroot}%{python3_sitelib}
|
||||||
for lang in `find sphinxcontrib/applehelp/locales -maxdepth 1 -mindepth 1 -type d -not -path '*/\.*' -printf "%f "`;
|
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
|
%files -n python3-%{pypi_name} -f sphinxcontrib.applehelp.lang
|
||||||
%license LICENSE
|
%license LICENSE
|
||||||
%doc README.rst
|
%doc README.rst
|
||||||
%{python3_sitelib}/sphinxcontrib/
|
%{python3_sitelib}/*
|
||||||
%{python3_sitelib}/sphinxcontrib_applehelp-%{version}-py%{python3_version}-*.pth
|
|
||||||
%{python3_sitelib}/sphinxcontrib_applehelp-%{version}-py%{python3_version}.egg-info/
|
|
||||||
|
|
||||||
|
|
||||||
%changelog
|
%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
|
* Fri Jul 31 2020 tianwei <tianwei12@huawei.com> - 1.0.2-1
|
||||||
- Package Init
|
- Package Init
|
||||||
|
|||||||
Binary file not shown.
BIN
sphinxcontrib-applehelp-1.0.4.tar.gz
Normal file
BIN
sphinxcontrib-applehelp-1.0.4.tar.gz
Normal file
Binary file not shown.
Loading…
x
Reference in New Issue
Block a user