forked from pool/python-eventlet
Clean up the SPEC file
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-eventlet?expand=0&rev=51
This commit is contained in:
@@ -23,7 +23,7 @@ Release: 0
|
||||
Summary: Concurrent networking library for Python
|
||||
License: MIT
|
||||
Group: Development/Languages/Python
|
||||
Url: http://eventlet.net
|
||||
URL: http://eventlet.net
|
||||
Source: https://files.pythonhosted.org/packages/source/e/eventlet/eventlet-%{version}.tar.gz
|
||||
Patch0: 0001-Fix-SSL-connection-reset-errors.patch
|
||||
# PATCH-FIX-UPSTREAM PR-459.patch -- https://github.com/eventlet/eventlet/pull/459
|
||||
@@ -33,14 +33,13 @@ BuildRequires: %{python_module greenlet}
|
||||
BuildRequires: %{python_module setuptools}
|
||||
BuildRequires: fdupes
|
||||
BuildRequires: python-rpm-macros
|
||||
%if %python_version_nodots < 34
|
||||
Requires: python-enum34
|
||||
%endif
|
||||
# eventlet parses /etc/protocols which is not available in normal build envs
|
||||
Requires: netcfg
|
||||
Requires: python-greenlet >= 0.3
|
||||
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
||||
BuildArch: noarch
|
||||
%if %{python_version_nodots} < 34
|
||||
Requires: python-enum34
|
||||
%endif
|
||||
%python_subpackages
|
||||
|
||||
%description
|
||||
@@ -78,12 +77,11 @@ sed -i "s|^#!.*||" eventlet/support/greendns.py # Fix non-executable script
|
||||
%fdupes %{buildroot}%{_prefix}
|
||||
|
||||
%files %{python_files}
|
||||
%defattr(-,root,root,-)
|
||||
%doc AUTHORS LICENSE NEWS README.rst
|
||||
%license LICENSE
|
||||
%doc AUTHORS NEWS README.rst
|
||||
%{python_sitelib}/*
|
||||
|
||||
%files %{python_files doc}
|
||||
%defattr(-,root,root,-)
|
||||
%doc build/sphinx/html examples
|
||||
|
||||
%changelog
|
||||
|
Reference in New Issue
Block a user