diff --git a/python-sphinxcontrib-applehelp.spec b/python-sphinxcontrib-applehelp.spec index 24d78db..0054e73 100644 --- a/python-sphinxcontrib-applehelp.spec +++ b/python-sphinxcontrib-applehelp.spec @@ -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 - 1.0.2-1 - Package Init diff --git a/sphinxcontrib-applehelp-1.0.2.tar.gz b/sphinxcontrib-applehelp-1.0.2.tar.gz deleted file mode 100644 index b7b48e3..0000000 Binary files a/sphinxcontrib-applehelp-1.0.2.tar.gz and /dev/null differ diff --git a/sphinxcontrib-applehelp-1.0.4.tar.gz b/sphinxcontrib-applehelp-1.0.4.tar.gz new file mode 100644 index 0000000..1f54bb7 Binary files /dev/null and b/sphinxcontrib-applehelp-1.0.4.tar.gz differ