Fix py2 build

epel8
Ankur Sinha (Ankur Sinha Gmail) 6 years ago
parent 5611096d99
commit 88260747cc
No known key found for this signature in database
GPG Key ID: F8D8C0BEBAC898BD

@ -91,6 +91,7 @@ cp -a . %{py3dir}
%if %{with python2}
%py2_build
%endif # with python2
%if %{with python3}
pushd %{py3dir}
%py3_build
@ -105,6 +106,8 @@ popd
%endif # with python3
%if %{with python2}
%py2_install
# Remove py3 only async module
rm -f $RPM_BUILD_ROOT/%{python2_sitelib}/%{modname}/_async.py
%endif # with python2
%check
@ -136,6 +139,7 @@ nosetests-%{python2_version} tests/
* Sun Nov 11 2018 Ankur Sinha <ankursinha AT fedoraproject DOT org> - 0.3.11-1
- Update to latest upstream release
- Disable py2 on F30+
- Fix py2 build
* Sat Jul 14 2018 Fedora Release Engineering <releng@fedoraproject.org> - 0.3.8-11
- Rebuilt for https://fedoraproject.org/wiki/Fedora_29_Mass_Rebuild

Loading…
Cancel
Save