From 2a73396bbaf171b9b69bf5679307975bc2e9813a Mon Sep 17 00:00:00 2001 From: Silvan Calarco Date: Fri, 5 Jan 2024 16:42:48 +0100 Subject: [PATCH] fix support for multiple python versions build [release 1.0.3-2mamba;Sat Nov 28 2020] --- python-sphinxcontrib-htmlhelp.spec | 16 +++++++++------- 1 file changed, 9 insertions(+), 7 deletions(-) diff --git a/python-sphinxcontrib-htmlhelp.spec b/python-sphinxcontrib-htmlhelp.spec index 54270e3..7c4405a 100644 --- a/python-sphinxcontrib-htmlhelp.spec +++ b/python-sphinxcontrib-htmlhelp.spec @@ -1,6 +1,6 @@ Name: python-sphinxcontrib-htmlhelp Version: 1.0.3 -Release: 1mamba +Release: 2mamba Summary: A sphinx extension which renders HTML help files Group: System/Libraries Vendor: openmamba @@ -11,8 +11,7 @@ Source: https://pypi.debian.net/sphinxcontrib-htmlhelp/sphinxcontrib-html License: BSD ## AUTOBUILDREQ-BEGIN ## AUTOBUILDREQ-END -BuildRequires: libpython36-devel -Requires: python36 >= %python36_version +BuildRequires: libpython3-devel BuildRoot: %{_tmppath}/%{name}-%{version}-root %description @@ -26,15 +25,15 @@ BuildRoot: %{_tmppath}/%{name}-%{version}-root %setup -q -n sphinxcontrib-htmlhelp-%{version} %build -CFLAGS="%{optflags}" %{__python36} setup.py build +CFLAGS="%{optflags}" %{__python} setup.py build %install [ "%{buildroot}" != / ] && rm -rf "%{buildroot}" -%{__python36} setup.py install \ +%{__python} setup.py install \ -O1 --skip-build \ --root="%{buildroot}" \ - --install-headers=%{python36_inc} \ - --install-lib=%{python36_sitearch} \ + --install-headers=%{python_inc} \ + --install-lib=%{python_sitearch} \ --record=%{name}.filelist sed -i "s,.*/man/.*,&.gz," %{name}.filelist @@ -44,6 +43,9 @@ sed -i "s,.*/man/.*,&.gz," %{name}.filelist %doc LICENSE %changelog +* Sat Nov 28 2020 Silvan Calarco 1.0.3-2mamba +- fix support for multiple python versions build + * Sat Feb 22 2020 Automatic Build System 1.0.3-1mamba - automatic version update by autodist