fix pyver support [release 1.0.1-2mamba;Sat Nov 28 2020]

This commit is contained in:
Silvan Calarco 2024-01-05 16:43:04 +01:00
parent a99bb1c9d6
commit 5a74cf413c

View File

@ -1,6 +1,6 @@
Name: python-sphinxcontrib-jsmath Name: python-sphinxcontrib-jsmath
Version: 1.0.1 Version: 1.0.1
Release: 1mamba Release: 2mamba
Summary: A sphinx extension which renders display math in HTML via JavaScript Summary: A sphinx extension which renders display math in HTML via JavaScript
Group: System/Libraries Group: System/Libraries
Vendor: openmamba Vendor: openmamba
@ -11,8 +11,7 @@ Source: https://pypi.debian.net/sphinxcontrib-jsmath/sphinxcontrib-jsmath
License: BSD License: BSD
## AUTOBUILDREQ-BEGIN ## AUTOBUILDREQ-BEGIN
## AUTOBUILDREQ-END ## AUTOBUILDREQ-END
BuildRequires: libpython36-devel BuildRequires: libpython3-devel
Requires: python36 >= %python36_version
BuildRoot: %{_tmppath}/%{name}-%{version}-root BuildRoot: %{_tmppath}/%{name}-%{version}-root
%description %description
@ -26,15 +25,15 @@ BuildRoot: %{_tmppath}/%{name}-%{version}-root
%setup -q -n sphinxcontrib-jsmath-%{version} %setup -q -n sphinxcontrib-jsmath-%{version}
%build %build
CFLAGS="%{optflags}" %{__python36} setup.py build CFLAGS="%{optflags}" %{__python} setup.py build
%install %install
[ "%{buildroot}" != / ] && rm -rf "%{buildroot}" [ "%{buildroot}" != / ] && rm -rf "%{buildroot}"
%{__python36} setup.py install \ %{__python} setup.py install \
-O1 --skip-build \ -O1 --skip-build \
--root="%{buildroot}" \ --root="%{buildroot}" \
--install-headers=%{python36_inc} \ --install-headers=%{python_inc} \
--install-lib=%{python36_sitearch} \ --install-lib=%{python_sitearch} \
--record=%{name}.filelist --record=%{name}.filelist
sed -i "s,.*/man/.*,&.gz," %{name}.filelist sed -i "s,.*/man/.*,&.gz," %{name}.filelist
@ -44,5 +43,8 @@ sed -i "s,.*/man/.*,&.gz," %{name}.filelist
%doc LICENSE %doc LICENSE
%changelog %changelog
* Sat Nov 28 2020 Silvan Calarco <silvan.calarco@mambasoft.it> 1.0.1-2mamba
- fix pyver support
* Thu May 16 2019 Silvan Calarco <silvan.calarco@mambasoft.it> 1.0.1-1mamba * Thu May 16 2019 Silvan Calarco <silvan.calarco@mambasoft.it> 1.0.1-1mamba
- package created using the webbuild interface - package created using the webbuild interface