|
|
|
@ -4,7 +4,7 @@
|
|
|
|
|
|
|
|
|
|
Name: python-%{srcname}
|
|
|
|
|
Version: 1.2.1
|
|
|
|
|
Release: 4%{?dist}
|
|
|
|
|
Release: 5%{?dist}
|
|
|
|
|
Summary: Waitress WSGI server
|
|
|
|
|
|
|
|
|
|
License: ZPLv2.1
|
|
|
|
@ -33,18 +33,6 @@ 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
|
|
|
|
@ -60,23 +48,15 @@ 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
|
|
|
|
|
%doc README.rst CHANGES.txt
|
|
|
|
@ -85,6 +65,10 @@ Python 3 version.
|
|
|
|
|
%{python3_sitelib}/%{srcname}-*.egg-info/
|
|
|
|
|
|
|
|
|
|
%changelog
|
|
|
|
|
* Mon Sep 09 2019 Miro Hrončok <mhroncok@redhat.com> - 1.2.1-5
|
|
|
|
|
- Subpackage python2-waitress has been removed
|
|
|
|
|
See https://fedoraproject.org/wiki/Changes/Mass_Python_2_Package_Removal
|
|
|
|
|
|
|
|
|
|
* Sat Aug 17 2019 Miro Hrončok <mhroncok@redhat.com> - 1.2.1-4
|
|
|
|
|
- Rebuilt for Python 3.8
|
|
|
|
|
|
|
|
|
|