Compare commits
1 Commits
Author | SHA1 | Date | |
---|---|---|---|
|
e16047e707 |
@ -1,4 +1,4 @@
|
||||
%if 0%{?fedora}
|
||||
%if 0%{?fedora} || 0%{?rhel} > 7
|
||||
%global with_python3 1
|
||||
%endif
|
||||
|
||||
@ -6,7 +6,7 @@
|
||||
|
||||
Name: python-%{srcname}
|
||||
Version: 4.4.2
|
||||
Release: 3%{?dist}
|
||||
Release: 4%{?dist}
|
||||
Summary: Scalable, non-blocking web server and tools
|
||||
|
||||
Group: Development/Libraries
|
||||
@ -24,17 +24,10 @@ Patch2: update-warning-config-to-fix-tests-on-python-3.6-nightly.patch
|
||||
|
||||
BuildRequires: python2-devel
|
||||
BuildRequires: python2-backports_abc
|
||||
%if 0%{?fedora} < 22
|
||||
BuildRequires: python-backports-ssl_match_hostname
|
||||
%endif
|
||||
BuildRequires: python2-singledispatch
|
||||
%if 0%{?with_python3}
|
||||
BuildRequires: python3-setuptools
|
||||
BuildRequires: python3-devel
|
||||
%if 0%{?fedora} < 24
|
||||
# Only needed for python < 3.5
|
||||
BuildRequires: python3-backports_abc
|
||||
%endif
|
||||
%endif
|
||||
|
||||
%description
|
||||
@ -51,9 +44,6 @@ ideal for real-time web services.
|
||||
Summary: Scalable, non-blocking web server and tools
|
||||
%{?python_provide:%python_provide python2-%{srcname}}
|
||||
|
||||
%if 0%{?fedora} < 22
|
||||
Requires: python-backports-ssl_match_hostname
|
||||
%endif
|
||||
Requires: python-pycurl
|
||||
Requires: python2-backports_abc
|
||||
Requires: python2-singledispatch
|
||||
@ -83,10 +73,6 @@ server and and tools. This package contains some example applications.
|
||||
Summary: Scalable, non-blocking web server and tools
|
||||
%{?python_provide:%python_provide python3-%{srcname}}
|
||||
Requires: python3-pycurl
|
||||
%if 0%{?fedora} < 24
|
||||
# Only needed for python < 3.5
|
||||
Requires: python3-backports_abc
|
||||
%endif
|
||||
|
||||
%description -n python3-%{srcname}
|
||||
Tornado is an open source version of the scalable, non-blocking web
|
||||
@ -145,6 +131,9 @@ ideal for real-time web services.
|
||||
|
||||
|
||||
%changelog
|
||||
* Fri Sep 29 2017 Troy Dawson <tdawson@redhat.com> - 4.4.2-4
|
||||
- Cleanup spec file conditionals
|
||||
|
||||
* Sat Feb 11 2017 Fedora Release Engineering <releng@fedoraproject.org> - 4.4.2-3
|
||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_26_Mass_Rebuild
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user