update to 1.2.6 [release 1.2.6-1mamba;Sat Nov 11 2023]

This commit is contained in:
Silvan Calarco 2024-01-05 16:43:33 +01:00
parent 36155886d5
commit 60356a5a32

View File

@ -1,16 +1,19 @@
%define pkgname %(echo %name | cut -d- -f2- | tr - _)
Name: python-sphinxcontrib-websupport Name: python-sphinxcontrib-websupport
Version: 1.2.4 Version: 1.2.6
Release: 4mamba Release: 1mamba
Summary: Sphinx documentation generator Summary: Sphinx documentation generator
Group: System/Libraries Group: System/Libraries
Vendor: openmamba Vendor: openmamba
Distribution: openmamba Distribution: openmamba
Packager: Silvan Calarco <silvan.calarco@mambasoft.it> Packager: Silvan Calarco <silvan.calarco@mambasoft.it>
URL: https://www.sphinx-doc.org/en/master/ URL: https://www.sphinx-doc.org/en/master/
Source: http://pypi.debian.net/sphinxcontrib-websupport/sphinxcontrib-websupport-%{version}.tar.gz Source: http://pypi.debian.net/sphinxcontrib-websupport/sphinxcontrib_websupport-%{version}.tar.gz
License: BSD License: BSD
## AUTOBUILDREQ-BEGIN ## AUTOBUILDREQ-BEGIN
BuildRequires: libpython311-devel BuildRequires: libpython311-devel
BuildRequires: python3.11dist(jinja2)
BuildRequires: python3.11dist(sphinx)
BuildRequires: python3.11dist(sphinxcontrib-serializinghtml) BuildRequires: python3.11dist(sphinxcontrib-serializinghtml)
## AUTOBUILDREQ-END ## AUTOBUILDREQ-END
BuildRequires: python3-devel >= 3.11.5-3mamba BuildRequires: python3-devel >= 3.11.5-3mamba
@ -23,29 +26,34 @@ BuildRequires: python3-devel >= 3.11.5-3mamba
%endif %endif
%prep %prep
%setup -q -n sphinxcontrib-websupport-%{version} %setup -q -n sphinxcontrib_websupport-%{version}
%build %build
CFLAGS="%{optflags}" %{__python} setup.py build CFLAGS="%{optflags}" %{__python} -m build --no-isolation --wheel
%install %install
[ "%{buildroot}" != / ] && rm -rf "%{buildroot}" [ "%{buildroot}" != / ] && rm -rf "%{buildroot}"
%{__python} setup.py install \ %{__python} -m installer --destdir=%{buildroot} dist/*.whl
-O1 --skip-build \
--root="%{buildroot}" \
--install-headers=%{python_inc} \
--install-lib=%{python_sitearch} \
--record=%{name}.filelist
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) %defattr(-,root,root)
%dir %{python_sitearch}/sphinxcontrib_websupport-%{version}-py*.egg-info %dir %{python_sitelib}/%{pkgname}-%{version}.dist-info
%{python_sitearch}/sphinxcontrib_websupport-%{version}-py*.egg-info/* %{python_sitelib}/%{pkgname}-%{version}.dist-info/*
%dir %{python_sitelib}/sphinxcontrib/websupport
%{python_sitelib}/sphinxcontrib/websupport/*
%doc LICENSE %doc LICENSE
%changelog %changelog
* Sat Nov 11 2023 Silvan Calarco <silvan.calarco@mambasoft.it> 1.2.6-1mamba
- update to 1.2.6
* Wed Sep 27 2023 Automatic Build System <autodist@mambasoft.it> 1.2.4-4mamba * Wed Sep 27 2023 Automatic Build System <autodist@mambasoft.it> 1.2.4-4mamba
- rebuilt by autoport with build requirements: python3-devel>=3.11.5-3mamba - rebuilt by autoport with build requirements: python3-devel>=3.11.5-3mamba