From 51fdc73b3c6175fe4b799f0428e2abbb4a776e1e Mon Sep 17 00:00:00 2001 From: Kevin Fenzi Date: Fri, 6 Mar 2020 18:04:23 -0800 Subject: [PATCH] Re-add python2 package for f30. Fixes bug #1809127 --- python-waitress.spec | 24 +++++++++++++++++++++++- 1 file changed, 23 insertions(+), 1 deletion(-) diff --git a/python-waitress.spec b/python-waitress.spec index 752f3dc..196ecd7 100644 --- a/python-waitress.spec +++ b/python-waitress.spec @@ -4,7 +4,7 @@ Name: python-%{srcname} Version: 1.4.3 -Release: 1%{?dist} +Release: 1%{?dist}.1 Summary: Waitress WSGI server License: ZPLv2.1 @@ -33,6 +33,18 @@ It supports HTTP/1.0 and HTTP/1.1. %description %{_description} +%package -n python2-%{srcname} +Summary: %{summary} +%{?python_provide:%python_provide python2-%{srcname}} +BuildRequires: python2-devel +BuildRequires: python2-setuptools +BuildRequires: python2-nose +BuildRequires: python2-coverage + +%description -n python2-%{srcname} %{_description} + +Python 2 version. + %package -n python3-%{srcname} Summary: Waitress WSGI server BuildRequires: python3-devel @@ -48,14 +60,21 @@ Python 3 version. %autosetup -n %{srcname}-%{version}-nodocs %build +%py2_build %py3_build %install +%py2_install %py3_install #check # disable checks for now as they fail trying to lookup localhost in koji. # +%files -n python2-%{srcname} +%license COPYRIGHT.txt LICENSE.txt +%doc README.rst CHANGES.txt +%{python2_sitelib}/%{srcname}/ +%{python2_sitelib}/%{srcname}-*.egg-info/ %files -n python3-%{srcname} %license COPYRIGHT.txt LICENSE.txt @@ -65,6 +84,9 @@ Python 3 version. %{python3_sitelib}/%{srcname}-*.egg-info/ %changelog +* Fri Mar 06 2020 Kevin Fenzi - 1.4.3-1.fc30.1 +- Re-add python2 package for f30. Fixes bug #1809127 + * Fri Feb 07 2020 Lorenzo Gil Sanchez - 1.4.3-1 - Update to 1.4.3 Fixes bug #1785591