Accepting request 1072125 from home:dirkmueller:acdc
- Clean up the SPEC file. OBS-URL: https://build.opensuse.org/request/show/1072125 OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-gevent?expand=0&rev=83
This commit is contained in:
parent
1e86137035
commit
38c415fde9
@ -1,3 +1,8 @@
|
|||||||
|
-------------------------------------------------------------------
|
||||||
|
Wed Mar 8 15:30:19 UTC 2023 - Matej Cepl <mcepl@suse.com>
|
||||||
|
|
||||||
|
- Clean up the SPEC file.
|
||||||
|
|
||||||
-------------------------------------------------------------------
|
-------------------------------------------------------------------
|
||||||
Sun Oct 16 17:41:54 UTC 2022 - Dirk Müller <dmueller@suse.com>
|
Sun Oct 16 17:41:54 UTC 2022 - Dirk Müller <dmueller@suse.com>
|
||||||
|
|
||||||
|
@ -1,7 +1,7 @@
|
|||||||
#
|
#
|
||||||
# spec file for package python-gevent
|
# spec file for package python-gevent
|
||||||
#
|
#
|
||||||
# Copyright (c) 2022 SUSE LLC
|
# Copyright (c) 2023 SUSE LLC
|
||||||
#
|
#
|
||||||
# All modifications and additions to the file contributed by third parties
|
# All modifications and additions to the file contributed by third parties
|
||||||
# remain the property of their copyright owners, unless otherwise agreed
|
# remain the property of their copyright owners, unless otherwise agreed
|
||||||
@ -16,22 +16,20 @@
|
|||||||
#
|
#
|
||||||
|
|
||||||
|
|
||||||
|
%define modname gevent
|
||||||
# on TW, gevent is able to use system libev, Leaps et.al. need the bundled version
|
# on TW, gevent is able to use system libev, Leaps et.al. need the bundled version
|
||||||
%if 0%{?suse_version} <= 1500
|
%if 0%{?suse_version} <= 1500
|
||||||
%define use_bundled_libev 1
|
%define use_bundled_libev 1
|
||||||
%else
|
%else
|
||||||
%define use_bundled_libev 0
|
%define use_bundled_libev 0
|
||||||
%endif
|
%endif
|
||||||
|
|
||||||
%{?!python_module:%define python_module() python-%{**} python3-%{**}}
|
|
||||||
%define modname gevent
|
|
||||||
Name: python-gevent
|
Name: python-gevent
|
||||||
Version: 22.10.1
|
Version: 22.10.1
|
||||||
Release: 0
|
Release: 0
|
||||||
Summary: Python network library that uses greenlet and libevent
|
Summary: Python network library that uses greenlet and libevent
|
||||||
License: MIT
|
License: MIT
|
||||||
Group: Development/Languages/Python
|
Group: Development/Languages/Python
|
||||||
URL: http://www.gevent.org/
|
URL: https://www.gevent.org/
|
||||||
# Source: https://files.pythonhosted.org/packages/source/g/gevent/gevent-%%{version}.tar.gz
|
# Source: https://files.pythonhosted.org/packages/source/g/gevent/gevent-%%{version}.tar.gz
|
||||||
Source0: https://github.com/gevent/%{modname}/archive/%{version}.tar.gz#/%{modname}-%{version}.tar.gz
|
Source0: https://github.com/gevent/%{modname}/archive/%{version}.tar.gz#/%{modname}-%{version}.tar.gz
|
||||||
Source100: %{name}-rpmlintrc
|
Source100: %{name}-rpmlintrc
|
||||||
@ -58,9 +56,6 @@ BuildRequires: pkgconfig
|
|||||||
BuildRequires: python-rpm-macros
|
BuildRequires: python-rpm-macros
|
||||||
BuildRequires: python3-testsuite
|
BuildRequires: python3-testsuite
|
||||||
BuildRequires: pkgconfig(libcares)
|
BuildRequires: pkgconfig(libcares)
|
||||||
%if ! 0%{use_bundled_libev}
|
|
||||||
BuildRequires: pkgconfig(libev)
|
|
||||||
%endif
|
|
||||||
BuildRequires: pkgconfig(libuv)
|
BuildRequires: pkgconfig(libuv)
|
||||||
Requires: python-cffi
|
Requires: python-cffi
|
||||||
Requires: python-dnspython
|
Requires: python-dnspython
|
||||||
@ -68,6 +63,9 @@ Requires: python-greenlet
|
|||||||
Requires: python-requests
|
Requires: python-requests
|
||||||
Requires: python-zope.event
|
Requires: python-zope.event
|
||||||
Requires: python-zope.interface
|
Requires: python-zope.interface
|
||||||
|
%if ! 0%{use_bundled_libev}
|
||||||
|
BuildRequires: pkgconfig(libev)
|
||||||
|
%endif
|
||||||
%if 0%{?suse_version} || 0%{?fedora_version} || 0%{?rhel} >= 8
|
%if 0%{?suse_version} || 0%{?fedora_version} || 0%{?rhel} >= 8
|
||||||
Recommends: python-psutil
|
Recommends: python-psutil
|
||||||
%else
|
%else
|
||||||
@ -170,8 +168,8 @@ fi
|
|||||||
%files %{python_files}
|
%files %{python_files}
|
||||||
%doc AUTHORS README.rst TODO CHANGES.rst CONTRIBUTING.rst
|
%doc AUTHORS README.rst TODO CHANGES.rst CONTRIBUTING.rst
|
||||||
%license LICENSE*
|
%license LICENSE*
|
||||||
%{python_sitearch}/gevent-%{version}-py*.egg-info
|
%{python_sitearch}/gevent-%{version}*-info
|
||||||
%{python_sitearch}/gevent/
|
%{python_sitearch}/gevent
|
||||||
|
|
||||||
%files -n python-gevent-doc
|
%files -n python-gevent-doc
|
||||||
%license LICENSE*
|
%license LICENSE*
|
||||||
|
Loading…
x
Reference in New Issue
Block a user