From afc94aa28f8d3361bfe24d5690dd127daeaa1c90 Mon Sep 17 00:00:00 2001 From: Silvan Calarco Date: Fri, 5 Jan 2024 16:42:41 +0100 Subject: [PATCH] update to 1.0.5 [release 1.0.5-1mamba;Sat Nov 11 2023] --- python-sphinxcontrib-devhelp.spec | 37 ++++++++++++++++++------------- 1 file changed, 22 insertions(+), 15 deletions(-) diff --git a/python-sphinxcontrib-devhelp.spec b/python-sphinxcontrib-devhelp.spec index 3d1c860..08d3ef6 100644 --- a/python-sphinxcontrib-devhelp.spec +++ b/python-sphinxcontrib-devhelp.spec @@ -1,16 +1,18 @@ +%define pkgname %(echo %name | cut -d- -f2- | tr - _) Name: python-sphinxcontrib-devhelp -Version: 1.0.2 -Release: 5mamba +Version: 1.0.5 +Release: 1mamba Summary: A sphinx extension which outputs Devhelp_ document Group: System/Libraries Vendor: openmamba Distribution: openmamba Packager: Silvan Calarco URL: https://www.sphinx-doc.org/en/master/ -Source: https://pypi.debian.net/sphinxcontrib-devhelp/sphinxcontrib-devhelp-%{version}.tar.gz +Source: https://pypi.debian.net/sphinxcontrib-devhelp/sphinxcontrib_devhelp-%{version}.tar.gz License: BSD ## AUTOBUILDREQ-BEGIN BuildRequires: libpython311-devel +BuildRequires: python3.11dist(sphinx) ## AUTOBUILDREQ-END BuildRequires: python3-devel >= 3.11.5-3mamba @@ -22,29 +24,34 @@ BuildRequires: python3-devel >= 3.11.5-3mamba %endif %prep -%setup -q -n sphinxcontrib-devhelp-%{version} +%setup -q -n sphinxcontrib_devhelp-%{version} %build -CFLAGS="%{optflags}" %{__python} setup.py build +CFLAGS="%{optflags}" %{__python} -m build --no-isolation --wheel %install [ "%{buildroot}" != / ] && rm -rf "%{buildroot}" -%{__python} setup.py install \ - -O1 --skip-build \ - --root="%{buildroot}" \ - --install-headers=%{python_inc} \ - --install-lib=%{python_sitearch} \ - --record=%{name}.filelist +%{__python} -m installer --destdir=%{buildroot} dist/*.whl -sed -i "\,\.egg-info/,d;s,.*/man/.*,&.gz," %{name}.filelist +#%if "%{?with_pyver}" != "3" +## Rename any conflicting file outside of python site packages tree +#for f in %{_bindir}/pdm; do +# mv %{buildroot}${f}{,-%{?pyappend}} +#done +#%endif -%files %{?pyappend} -f %{name}.filelist +%files %{?pyappend} %defattr(-,root,root) -%dir %{python_sitearch}/sphinxcontrib_devhelp-%{version}-py*.egg-info -%{python_sitearch}/sphinxcontrib_devhelp-%{version}-py*.egg-info/* +%dir %{python_sitelib}/%{pkgname}-%{version}.dist-info +%{python_sitelib}/%{pkgname}-%{version}.dist-info/* +%dir %{python_sitelib}/sphinxcontrib/devhelp +%{python_sitelib}/sphinxcontrib/devhelp/* %doc LICENSE %changelog +* Sat Nov 11 2023 Silvan Calarco 1.0.5-1mamba +- update to 1.0.5 + * Tue Sep 26 2023 Automatic Build System 1.0.2-5mamba - rebuilt by autoport with build requirements: python3-devel>=3.11.5-3mamba