fix multi python build [release 1.1.4-2mamba;Sat Nov 28 2020]
This commit is contained in:
parent
797a32e8a3
commit
7fa594e2ac
@ -1,6 +1,6 @@
|
||||
Name: python-sphinxcontrib-serializinghtml
|
||||
Version: 1.1.4
|
||||
Release: 1mamba
|
||||
Release: 2mamba
|
||||
Summary: A sphinx extension which outputs "serialized" HTML files (json and pickle)
|
||||
Group: System/Libraries
|
||||
Vendor: openmamba
|
||||
@ -11,8 +11,7 @@ Source: https://pypi.debian.net/sphinxcontrib-serializinghtml/sphinxcontr
|
||||
License: BSD
|
||||
## AUTOBUILDREQ-BEGIN
|
||||
## AUTOBUILDREQ-END
|
||||
BuildRequires: libpython36-devel
|
||||
Requires: python36 >= %python_version
|
||||
BuildRequires: libpython3-devel
|
||||
BuildRoot: %{_tmppath}/%{name}-%{version}-root
|
||||
|
||||
%description
|
||||
@ -30,11 +29,11 @@ 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 <silvan.calarco@mambasoft.it> 1.1.4-2mamba
|
||||
- fix multi python build
|
||||
|
||||
* Sun Mar 01 2020 Automatic Build System <autodist@mambasoft.it> 1.1.4-1mamba
|
||||
- automatic version update by autodist
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user