Re-add python2 package for f30. Fixes bug #1809127

This commit is contained in:
Kevin Fenzi 2020-03-06 18:04:23 -08:00
commit 51fdc73b3c

View file

@ -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 <kevin@scrye.com> - 1.4.3-1.fc30.1
- Re-add python2 package for f30. Fixes bug #1809127
* Fri Feb 07 2020 Lorenzo Gil Sanchez <lorenzo.gil.sanchez@gmail.com> - 1.4.3-1
- Update to 1.4.3 Fixes bug #1785591