rdobuilder 5ea4c7
%global srcname waitress
rdobuilder 5ea4c7
rdobuilder 5ea4c7
%global _docdir_fmt %{name}
rdobuilder 5ea4c7
rdobuilder 5ea4c7
Name:           python-%{srcname}
rdobuilder 5ea4c7
Version:        2.1.2
rdobuilder 5ea4c7
Release:        1%{?dist}
rdobuilder 5ea4c7
Summary:        Waitress WSGI server
rdobuilder 5ea4c7
rdobuilder 5ea4c7
License:        ZPLv2.1
rdobuilder 5ea4c7
URL:            https://github.com/Pylons/%{srcname}
rdobuilder 5ea4c7
Source0:        v%{version}-nodocs.tar.gz
rdobuilder 5ea4c7
# Upstream ships non free docs files.
rdobuilder 5ea4c7
# We do not even want them in our src.rpms
rdobuilder 5ea4c7
# So we remove them before uploading.
rdobuilder 5ea4c7
#
rdobuilder 5ea4c7
# Download the upstream tarball and invoke this script while in the
rdobuilder 5ea4c7
# tarball's directory:
rdobuilder 5ea4c7
# ./generate-tarball.sh 1.0
rdobuilder 5ea4c7
#
rdobuilder 5ea4c7
Source1: generate-tarball.sh
rdobuilder 5ea4c7
rdobuilder 5ea4c7
BuildArch:      noarch
rdobuilder 5ea4c7
rdobuilder 5ea4c7
# No docs as we don't have packaged pylons theme for sphinx
rdobuilder 5ea4c7
rdobuilder 5ea4c7
%global _description \
rdobuilder 5ea4c7
Waitress is meant to be a production-quality pure-Python WSGI server with\
rdobuilder 5ea4c7
very acceptable performance. It has no dependencies except ones which live\
rdobuilder 5ea4c7
in the Python standard library. It runs on CPython on Unix and Windows under\
rdobuilder 5ea4c7
Python 2.6+ and Python 3.3+. It is also known to run on PyPy 1.6.0+ on UNIX.\
rdobuilder 5ea4c7
It supports HTTP/1.0 and HTTP/1.1.
rdobuilder 5ea4c7
rdobuilder 5ea4c7
%description %{_description}
rdobuilder 5ea4c7
rdobuilder 5ea4c7
%package -n python3-%{srcname}
rdobuilder 5ea4c7
Summary:        Waitress WSGI server
rdobuilder 5ea4c7
BuildRequires:  python3-devel
rdobuilder 5ea4c7
BuildRequires:  python3-setuptools
rdobuilder 5ea4c7
rdobuilder 5ea4c7
%description -n python3-%{srcname} %{_description}
rdobuilder 5ea4c7
rdobuilder 5ea4c7
Python 3 version.
rdobuilder 5ea4c7
rdobuilder 5ea4c7
%prep
rdobuilder 5ea4c7
%autosetup -n %{srcname}-%{version}-nodocs
rdobuilder 5ea4c7
rdobuilder 5ea4c7
%build
rdobuilder 5ea4c7
%py3_build
rdobuilder 5ea4c7
rdobuilder 5ea4c7
%install
rdobuilder 5ea4c7
%py3_install
rdobuilder 5ea4c7
rdobuilder 5ea4c7
#check
rdobuilder 5ea4c7
# disable checks for now as they fail trying to lookup localhost in koji.
rdobuilder 5ea4c7
#
rdobuilder 5ea4c7
rdobuilder 5ea4c7
%files -n python3-%{srcname}
rdobuilder 5ea4c7
%license COPYRIGHT.txt LICENSE.txt
rdobuilder 5ea4c7
%doc README.rst CHANGES.txt
rdobuilder 5ea4c7
%{_bindir}/waitress-serve
rdobuilder 5ea4c7
%{python3_sitelib}/%{srcname}/
rdobuilder 5ea4c7
%{python3_sitelib}/%{srcname}-*.egg-info/
rdobuilder 5ea4c7
rdobuilder 5ea4c7
%changelog
rdobuilder 5ea4c7
* Tue Aug 02 2022 Alfredo Moralejo <amoralej@redhat.com> - 2.1.2-1
rdobuilder 5ea4c7
- Update to 2.1.2 Fixes rhbz#2091729
rdobuilder 5ea4c7
rdobuilder 5ea4c7
* Fri Jul 22 2022 Fedora Release Engineering <releng@fedoraproject.org> - 2.1.1-3
rdobuilder 5ea4c7
- Rebuilt for https://fedoraproject.org/wiki/Fedora_37_Mass_Rebuild
rdobuilder 5ea4c7
rdobuilder 5ea4c7
* Mon Jun 13 2022 Python Maint <python-maint@redhat.com> - 2.1.1-2
rdobuilder 5ea4c7
- Rebuilt for Python 3.11
rdobuilder 5ea4c7
rdobuilder 5ea4c7
* Mon May 30 2022 Kevin Fenzi <kevin@scrye.com> - 2.1.1-1
rdobuilder 5ea4c7
- Update to 2.1.1. Fixes rhbz#2051348
rdobuilder 5ea4c7
rdobuilder 5ea4c7
* Fri Jan 21 2022 Fedora Release Engineering <releng@fedoraproject.org> - 1.4.4-6
rdobuilder 5ea4c7
- Rebuilt for https://fedoraproject.org/wiki/Fedora_36_Mass_Rebuild
rdobuilder 5ea4c7
rdobuilder 5ea4c7
* Fri Jul 23 2021 Fedora Release Engineering <releng@fedoraproject.org> - 1.4.4-5
rdobuilder 5ea4c7
- Rebuilt for https://fedoraproject.org/wiki/Fedora_35_Mass_Rebuild
rdobuilder 5ea4c7
rdobuilder 5ea4c7
* Thu Jun 03 2021 Python Maint <python-maint@redhat.com> - 1.4.4-4
rdobuilder 5ea4c7
- Rebuilt for Python 3.10
rdobuilder 5ea4c7
rdobuilder 5ea4c7
* Wed Jan 27 2021 Fedora Release Engineering <releng@fedoraproject.org> - 1.4.4-3
rdobuilder 5ea4c7
- Rebuilt for https://fedoraproject.org/wiki/Fedora_34_Mass_Rebuild
rdobuilder 5ea4c7
rdobuilder 5ea4c7
* Fri Jan 15 2021 Troy Dawson <tdawson@redhat.com> - 1.4.4-2
rdobuilder 5ea4c7
- Remove test BuildRequires until tests are working
rdobuilder 5ea4c7
rdobuilder 5ea4c7
* Thu Sep 10 2020 Joel Capitao <jcapitao@redhat.com> - 1.4.4-1
rdobuilder 5ea4c7
- Update to 1.4.4
rdobuilder 5ea4c7
rdobuilder 5ea4c7
* Wed Jul 29 2020 Fedora Release Engineering <releng@fedoraproject.org> - 1.4.3-3
rdobuilder 5ea4c7
- Rebuilt for https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild
rdobuilder 5ea4c7
rdobuilder 5ea4c7
* Sat May 23 2020 Miro Hrončok <mhroncok@redhat.com> - 1.4.3-2
rdobuilder 5ea4c7
- Rebuilt for Python 3.9
rdobuilder 5ea4c7
rdobuilder 5ea4c7
* Fri Feb 07 2020 Lorenzo Gil Sanchez <lorenzo.gil.sanchez@gmail.com> - 1.4.3-1
rdobuilder 5ea4c7
- Update to 1.4.3 Fixes bug #1785591
rdobuilder 5ea4c7
rdobuilder 5ea4c7
* Thu Jan 30 2020 Fedora Release Engineering <releng@fedoraproject.org> - 1.4.2-2
rdobuilder 5ea4c7
- Rebuilt for https://fedoraproject.org/wiki/Fedora_32_Mass_Rebuild
rdobuilder 5ea4c7
rdobuilder 5ea4c7
* Mon Jan 20 2020 Lorenzo Gil Sanchez <lorenzo.gil.sanchez@gmail.com> - 1.4.2-1
rdobuilder 5ea4c7
- Update to 1.4.2 Fixes bugs #1785591 #1789807 #1789809 #1789810 #1791415
rdobuilder 5ea4c7
  #1791416 #1791417 #1791420 #1791421 #1791422 #1791423
rdobuilder 5ea4c7
rdobuilder 5ea4c7
* Thu Jan 16 2020 Lorenzo Gil Sanchez <lorenzo.gil.sanchez@gmail.com> - 1.4.1-1
rdobuilder 5ea4c7
- Update to 1.4.1 Fixes bug #1785591
rdobuilder 5ea4c7
rdobuilder 5ea4c7
* Wed Dec 25 2019 Lorenzo Gil Sanchez <lorenzo.gil.sanchez@gmail.com> - 1.4.0-1
rdobuilder 5ea4c7
- Update to 1.4.0 Fixes bug #1785591
rdobuilder 5ea4c7
rdobuilder 5ea4c7
* Sun Oct 06 2019 Kevin Fenzi <kevin@scrye.com> - 1.3.1-1
rdobuilder 5ea4c7
- Update to 1.3.1. Fixes bug #1747075
rdobuilder 5ea4c7
rdobuilder 5ea4c7
* Mon Sep 09 2019 Miro Hrončok <mhroncok@redhat.com> - 1.2.1-5
rdobuilder 5ea4c7
- Subpackage python2-waitress has been removed
rdobuilder 5ea4c7
  See https://fedoraproject.org/wiki/Changes/Mass_Python_2_Package_Removal
rdobuilder 5ea4c7
rdobuilder 5ea4c7
* Sat Aug 17 2019 Miro Hrončok <mhroncok@redhat.com> - 1.2.1-4
rdobuilder 5ea4c7
- Rebuilt for Python 3.8
rdobuilder 5ea4c7
rdobuilder 5ea4c7
* Fri Jul 26 2019 Fedora Release Engineering <releng@fedoraproject.org> - 1.2.1-3
rdobuilder 5ea4c7
- Rebuilt for https://fedoraproject.org/wiki/Fedora_31_Mass_Rebuild
rdobuilder 5ea4c7
rdobuilder 5ea4c7
* Sat Jun 29 2019 Kevin Fenzi <kevin@scrye.com> - 1.2.1-2
rdobuilder 5ea4c7
- Remove non free docs from src.rpm and provide script to do so before upload.
rdobuilder 5ea4c7
- Fixes bug #1684335
rdobuilder 5ea4c7
rdobuilder 5ea4c7
* Tue Feb 05 2019 Lorenzo Gil Sanchez <lorenzo.gil.sanchez@gmail.com> - 1.2.1-1
rdobuilder 5ea4c7
- Update to 1.2.1 (#1667466)
rdobuilder 5ea4c7
rdobuilder 5ea4c7
* Sat Feb 02 2019 Fedora Release Engineering <releng@fedoraproject.org> - 1.1.0-5
rdobuilder 5ea4c7
- Rebuilt for https://fedoraproject.org/wiki/Fedora_30_Mass_Rebuild
rdobuilder 5ea4c7
rdobuilder 5ea4c7
* Sat Jul 14 2018 Fedora Release Engineering <releng@fedoraproject.org> - 1.1.0-4
rdobuilder 5ea4c7
- Rebuilt for https://fedoraproject.org/wiki/Fedora_29_Mass_Rebuild
rdobuilder 5ea4c7
rdobuilder 5ea4c7
* Sun Jun 17 2018 Miro Hrončok <mhroncok@redhat.com> - 1.1.0-3
rdobuilder 5ea4c7
- Rebuilt for Python 3.7
rdobuilder 5ea4c7
rdobuilder 5ea4c7
* Fri Feb 09 2018 Fedora Release Engineering <releng@fedoraproject.org> - 1.1.0-2
rdobuilder 5ea4c7
- Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild
rdobuilder 5ea4c7
rdobuilder 5ea4c7
* Sat Nov 11 2017 Lorenzo Gil Sanchez <lorenzo.gil.sanchez@gmail.com> - 1.1.0-1
rdobuilder 5ea4c7
- Update to 1.1.0 (#1504455)
rdobuilder 5ea4c7
rdobuilder 5ea4c7
* Thu Jul 27 2017 Fedora Release Engineering <releng@fedoraproject.org> - 1.0.2-2
rdobuilder 5ea4c7
- Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Mass_Rebuild
rdobuilder 5ea4c7
rdobuilder 5ea4c7
* Sat Feb 18 2017 Lorenzo Gil Sanchez <lorenzo.gil.sanchez@gmail.com> - 1.0.2-1
rdobuilder 5ea4c7
- Update to 1.0.2. Fixes bug #1419297
rdobuilder 5ea4c7
rdobuilder 5ea4c7
* Sat Feb 11 2017 Fedora Release Engineering <releng@fedoraproject.org> - 1.0.1-3
rdobuilder 5ea4c7
- Rebuilt for https://fedoraproject.org/wiki/Fedora_26_Mass_Rebuild
rdobuilder 5ea4c7
rdobuilder 5ea4c7
* Mon Dec 19 2016 Miro Hrončok <mhroncok@redhat.com> - 1.0.1-2
rdobuilder 5ea4c7
- Rebuild for Python 3.6
rdobuilder 5ea4c7
rdobuilder 5ea4c7
* Tue Oct 25 2016 Kevin Fenzi <kevin@scrye.com> - 1.0.1-1
rdobuilder 5ea4c7
- Update to 1.0.1. Fixes bug #1387885
rdobuilder 5ea4c7
rdobuilder 5ea4c7
* Sat Sep 03 2016 Kevin Fenzi <kevin@scrye.com> - 1.0.0-1
rdobuilder 5ea4c7
- Update to 1.0.0. Fixes bug #1372330
rdobuilder 5ea4c7
rdobuilder 5ea4c7
* Tue Jul 19 2016 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.9.0-4
rdobuilder 5ea4c7
- https://fedoraproject.org/wiki/Changes/Automatic_Provides_for_Python_RPM_Packages
rdobuilder 5ea4c7
rdobuilder 5ea4c7
* Wed Jun 29 2016 Igor Gnatenko <ignatenko@redhat.com> - 0.9.0-3
rdobuilder 5ea4c7
- Modernize spec to comply with new packaging guidelines
rdobuilder 5ea4c7
rdobuilder 5ea4c7
* Thu May 26 2016 Lorenzo Gil Sanchez <lorenzo.gil.sanchez@gmail.com> - 0.9.0-2
rdobuilder 5ea4c7
- Fixed Source0 to point to new PyPi predictable URL format
rdobuilder 5ea4c7
rdobuilder 5ea4c7
* Thu May 5 2016 Lorenzo Gil Sanchez <lorenzo.gil.sanchez@gmail.com> - 0.9.0-1
rdobuilder 5ea4c7
- Update to 0.9.0
rdobuilder 5ea4c7
- Fixed 2 warnings from fedpkg lint
rdobuilder 5ea4c7
rdobuilder 5ea4c7
* Sun Apr 10 2016 Kevin Fenzi <kevin@scrye.com> - 0.9.0b1-1
rdobuilder 5ea4c7
- Update to 0.9.0b1. Fixes bug #1325661
rdobuilder 5ea4c7
rdobuilder 5ea4c7
* Mon Mar 21 2016 Lorenzo Gil Sanchez <lorenzo.gil.sanchez@gmail.com> - 0.9.0b0-1
rdobuilder 5ea4c7
- New (beta) version
rdobuilder 5ea4c7
rdobuilder 5ea4c7
* Thu Feb 04 2016 Fedora Release Engineering <releng@fedoraproject.org> - 0.8.10-3
rdobuilder 5ea4c7
- Rebuilt for https://fedoraproject.org/wiki/Fedora_24_Mass_Rebuild
rdobuilder 5ea4c7
rdobuilder 5ea4c7
* Tue Nov 10 2015 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.8.10-2
rdobuilder 5ea4c7
- Rebuilt for https://fedoraproject.org/wiki/Changes/python3.5
rdobuilder 5ea4c7
rdobuilder 5ea4c7
* Wed Sep 16 2015 Ralph Bean <rbean@redhat.com> - 0.8.10-1
rdobuilder 5ea4c7
- new version
rdobuilder 5ea4c7
rdobuilder 5ea4c7
* Thu Jun 18 2015 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.8.9-6
rdobuilder 5ea4c7
- Rebuilt for https://fedoraproject.org/wiki/Fedora_23_Mass_Rebuild
rdobuilder 5ea4c7
rdobuilder 5ea4c7
* Mon Apr 27 2015 Ralph Bean <rbean@redhat.com> - 0.8.9-5
rdobuilder 5ea4c7
- Conditionalize the python3 subpackage.
rdobuilder 5ea4c7
rdobuilder 5ea4c7
* Mon Jul 14 2014 Lorenzo Gil Sanchez <lorenzo.gil.sanchez@gmail.com> - 0.8.9-4
rdobuilder 5ea4c7
- Fix comment in description section about versioned directory for docs
rdobuilder 5ea4c7
- Use __python2 macro instead of __python
rdobuilder 5ea4c7
rdobuilder 5ea4c7
* Sat Jun 14 2014 Lorenzo Gil Sanchez <lorenzo.gil.sanchez@gmail.com> - 0.8.9-3
rdobuilder 5ea4c7
- Run the tests with nose to avoid unclosed socket errors
rdobuilder 5ea4c7
rdobuilder 5ea4c7
* Sun Jun 08 2014 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.8.9-2
rdobuilder 5ea4c7
- Rebuilt for https://fedoraproject.org/wiki/Fedora_21_Mass_Rebuild
rdobuilder 5ea4c7
rdobuilder 5ea4c7
* Sun May 25 2014 Lorenzo Gil Sanchez <lorenzo.gil.sanchez@gmail.com> - 0.8.9-1
rdobuilder 5ea4c7
- Update to upstream
rdobuilder 5ea4c7
rdobuilder 5ea4c7
* Wed May 14 2014 Bohuslav Kabrda <bkabrda@redhat.com> - 0.8.8-2
rdobuilder 5ea4c7
- Rebuilt for https://fedoraproject.org/wiki/Changes/Python_3.4
rdobuilder 5ea4c7
rdobuilder 5ea4c7
* Sun Dec 22 2013 Lorenzo Gil Sanchez <lorenzo.gil.sanchez@gmail.com> - 0.8.8-1
rdobuilder 5ea4c7
- Update to upstream
rdobuilder 5ea4c7
rdobuilder 5ea4c7
* Sun Dec 8 2013 Lorenzo Gil Sanchez <lorenzo.gil.sanchez@gmail.com> - 0.8.5-3
rdobuilder 5ea4c7
- Remove python3 dependency on the python-waitress python2 package
rdobuilder 5ea4c7
rdobuilder 5ea4c7
* Wed Aug 7 2013 Lorenzo Gil Sanchez <lorenzo.gil.sanchez@gmail.com> - 0.8.5-2
rdobuilder 5ea4c7
- Update description to use the new Fedora 20 _pkgdocdir macro, which
rdobuilder 5ea4c7
  is also defined for backwards cmompatibility
rdobuilder 5ea4c7
rdobuilder 5ea4c7
* Wed Jul 31 2013 Lorenzo Gil Sanchez <lorenzo.gil.sanchez@gmail.com> - 0.8.5-1
rdobuilder 5ea4c7
- Update to upstream
rdobuilder 5ea4c7
rdobuilder 5ea4c7
* Sat Jul 6 2013 Lorenzo Gil Sanchez <lorenzo.gil.sanchez@gmail.com> - 0.8.4-1
rdobuilder 5ea4c7
- Update to upstream
rdobuilder 5ea4c7
- Added waitress-serve as a binary executable in /usr/bin
rdobuilder 5ea4c7
rdobuilder 5ea4c7
* Sun May 12 2013 Lorenzo Gil Sanchez <lorenzo.gil.sanchez@gmail.com> - 0.8.3-1
rdobuilder 5ea4c7
- Update to upstream
rdobuilder 5ea4c7
rdobuilder 5ea4c7
* Thu Feb 14 2013 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.8.2-4
rdobuilder 5ea4c7
- Rebuilt for https://fedoraproject.org/wiki/Fedora_19_Mass_Rebuild
rdobuilder 5ea4c7
rdobuilder 5ea4c7
* Wed Nov 28 2012 Lorenzo Gil Sanchez <lorenzo.gil.sanchez@gmail.com> - 0.8.2-3
rdobuilder 5ea4c7
- Use version macro in the Source0 to avoid duplicates
rdobuilder 5ea4c7
* Sat Nov 24 2012 Lorenzo Gil Sanchez <lorenzo.gil.sanchez@gmail.com> - 0.8.2-2
rdobuilder 5ea4c7
- Point to the local docs directory in the description for the documentation
rdobuilder 5ea4c7
- Remove py3dir before copying the files to it in the prep phase
rdobuilder 5ea4c7
- Remove -O1 in the build phase as it is not used anymore in the Fedora
rdobuilder 5ea4c7
  Packaging guidelines
rdobuilder 5ea4c7
- Remove files rpmlint doesn't like
rdobuilder 5ea4c7
* Mon Nov 19 2012 Lorenzo Gil Sanchez <lorenzo.gil.sanchez@gmail.com> - 0.8.2-1
rdobuilder 5ea4c7
- New package.