fix multiple python versions build [release 1.0.3-2mamba;Sat Nov 28 2020]
This commit is contained in:
parent
7d5bd9dda8
commit
fe2f08567f
@ -1,6 +1,6 @@
|
|||||||
Name: python-sphinxcontrib-qthelp
|
Name: python-sphinxcontrib-qthelp
|
||||||
Version: 1.0.3
|
Version: 1.0.3
|
||||||
Release: 1mamba
|
Release: 2mamba
|
||||||
Summary: A sphinx extension which outputs QtHelp document
|
Summary: A sphinx extension which outputs QtHelp document
|
||||||
Group: System/Libraries
|
Group: System/Libraries
|
||||||
Vendor: openmamba
|
Vendor: openmamba
|
||||||
@ -11,8 +11,8 @@ Source: https://pypi.debian.net/sphinxcontrib-qthelp/sphinxcontrib-qthelp
|
|||||||
License: BSD
|
License: BSD
|
||||||
## AUTOBUILDREQ-BEGIN
|
## AUTOBUILDREQ-BEGIN
|
||||||
## AUTOBUILDREQ-END
|
## AUTOBUILDREQ-END
|
||||||
BuildRequires: libpython36-devel
|
BuildRequires: libpython3-devel
|
||||||
Requires: python36 >= %python_version
|
Requires: python3 >= %python_version
|
||||||
BuildRoot: %{_tmppath}/%{name}-%{version}-root
|
BuildRoot: %{_tmppath}/%{name}-%{version}-root
|
||||||
|
|
||||||
%description
|
%description
|
||||||
@ -26,15 +26,15 @@ BuildRoot: %{_tmppath}/%{name}-%{version}-root
|
|||||||
%setup -q -n sphinxcontrib-qthelp-%{version}
|
%setup -q -n sphinxcontrib-qthelp-%{version}
|
||||||
|
|
||||||
%build
|
%build
|
||||||
CFLAGS="%{optflags}" %{__python36} setup.py build
|
CFLAGS="%{optflags}" %{__python3} 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,6 +44,9 @@ 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.3-2mamba
|
||||||
|
- fix multiple python versions build
|
||||||
|
|
||||||
* Sun Mar 01 2020 Automatic Build System <autodist@mambasoft.it> 1.0.3-1mamba
|
* Sun Mar 01 2020 Automatic Build System <autodist@mambasoft.it> 1.0.3-1mamba
|
||||||
- automatic version update by autodist
|
- automatic version update by autodist
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user