Remove python3 dependency on the python-waitress python2 package

epel9
Lorenzo Gil Sanchez 11 years ago
parent 9618347917
commit c40d74bcc1

@ -2,7 +2,7 @@
Name: python-waitress Name: python-waitress
Version: 0.8.5 Version: 0.8.5
Release: 2%{?dist} Release: 3%{?dist}
Summary: Waitress WSGI server Summary: Waitress WSGI server
License: ZPLv2.1 License: ZPLv2.1
@ -66,12 +66,14 @@ pushd %{py3dir}
popd popd
%install %install
%{__python} setup.py install --skip-build --root $RPM_BUILD_ROOT # Run the Python 3 install first so that the Python 2 version
# of /usr/bin/waitress-server "wins":
pushd %{py3dir} pushd %{py3dir}
%{__python3} setup.py install --skip-build --root $RPM_BUILD_ROOT %{__python3} setup.py install --skip-build --root $RPM_BUILD_ROOT
popd popd
%{__python} setup.py install --skip-build --root $RPM_BUILD_ROOT
%check %check
# by setting the PYTHONPATH to the current dir # by setting the PYTHONPATH to the current dir
@ -94,13 +96,15 @@ popd
%files -n python3-waitress %files -n python3-waitress
%doc README.rst CHANGES.txt COPYRIGHT.txt LICENSE.txt docs %doc README.rst CHANGES.txt COPYRIGHT.txt LICENSE.txt docs
%{_bindir}/waitress-serve
%{python3_sitelib}/waitress %{python3_sitelib}/waitress
%{python3_sitelib}/waitress-%{version}-py3.?.egg-info %{python3_sitelib}/waitress-%{version}-py3.?.egg-info
%changelog %changelog
* Sun Dec 8 2013 Lorenzo Gil Sanchez <lorenzo.gil.sanchez@gmail.com> - 0.8.5-3
- Remove python3 dependency on the python-waitress python2 package
* Wed Aug 7 2013 Lorenzo Gil Sanchez <lorenzo.gil.sanchez@gmail.com> - 0.8.5-2 * Wed Aug 7 2013 Lorenzo Gil Sanchez <lorenzo.gil.sanchez@gmail.com> - 0.8.5-2
- Update description to use the new Fedora 20 _pkgdocdir macro, which - Update description to use the new Fedora 20 _pkgdocdir macro, which
is also defined for backwards cmompatibility is also defined for backwards cmompatibility

Loading…
Cancel
Save