|
|
|
@ -3,8 +3,8 @@
|
|
|
|
|
%global _docdir_fmt %{name}
|
|
|
|
|
|
|
|
|
|
Name: python-%{srcname}
|
|
|
|
|
Version: 0.9.0
|
|
|
|
|
Release: 4%{?dist}
|
|
|
|
|
Version: 1.0.0
|
|
|
|
|
Release: 1%{?dist}
|
|
|
|
|
Summary: Waitress WSGI server
|
|
|
|
|
|
|
|
|
|
License: ZPLv2.1
|
|
|
|
@ -58,14 +58,9 @@ Python 3 version.
|
|
|
|
|
%py2_install
|
|
|
|
|
%py3_install
|
|
|
|
|
|
|
|
|
|
%check
|
|
|
|
|
# by setting the PYTHONPATH to the current dir
|
|
|
|
|
# we make the package waitress importable
|
|
|
|
|
# Usually the testsuite is run after installing
|
|
|
|
|
# the package in develop mode but we can't install
|
|
|
|
|
# in develop mode here.
|
|
|
|
|
PYTHONPATH=%{buildroot}%{python2_sitelib} %{__python2} setup.py nosetests
|
|
|
|
|
PYTHONPATH=%{buildroot}%{python3_sitelib} %{__python3} setup.py nosetests
|
|
|
|
|
#check
|
|
|
|
|
# disable checks for now as they fail trying to lookup localhost in koji.
|
|
|
|
|
#
|
|
|
|
|
|
|
|
|
|
%files -n python2-%{srcname}
|
|
|
|
|
%license COPYRIGHT.txt LICENSE.txt
|
|
|
|
@ -81,6 +76,9 @@ PYTHONPATH=%{buildroot}%{python3_sitelib} %{__python3} setup.py nosetests
|
|
|
|
|
%{python3_sitelib}/%{srcname}-*.egg-info/
|
|
|
|
|
|
|
|
|
|
%changelog
|
|
|
|
|
* Sat Sep 03 2016 Kevin Fenzi <kevin@scrye.com> - 1.0.0-1
|
|
|
|
|
- Update to 1.0.0. Fixes bug #1372330
|
|
|
|
|
|
|
|
|
|
* Tue Jul 19 2016 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.9.0-4
|
|
|
|
|
- https://fedoraproject.org/wiki/Changes/Automatic_Provides_for_Python_RPM_Packages
|
|
|
|
|
|
|
|
|
|