[python-gevent] Update to 1.0

Orion Poplawski orion at fedoraproject.org
Wed Jan 22 23:36:08 UTC 2014


commit 0bc9b47c062a13af880e23573a8c05334a934ba9
Author: Orion Poplawski <orion at nwra.com>
Date:   Wed Jan 22 16:36:29 2014 -0700

    Update to 1.0

 .gitignore         |    1 +
 python-gevent.spec |   16 +++++++++++-----
 sources            |    2 +-
 3 files changed, 13 insertions(+), 6 deletions(-)
---
diff --git a/.gitignore b/.gitignore
index 1549526..dbf17b3 100644
--- a/.gitignore
+++ b/.gitignore
@@ -3,3 +3,4 @@ gevent-0.13.0.tar.gz
 /gevent-0.13.3.tar.gz
 /gevent-0.13.6.tar.gz
 /gevent-0.13.8.tar.gz
+/gevent-1.0.tar.gz
diff --git a/python-gevent.spec b/python-gevent.spec
index 452a9a2..8091b77 100644
--- a/python-gevent.spec
+++ b/python-gevent.spec
@@ -7,8 +7,8 @@
 %global upstream_name gevent
 
 Name:           python-%{upstream_name}
-Version:        0.13.8
-Release:        3%{?dist}
+Version:        1.0
+Release:        1%{?dist}
 Summary:        A coroutine-based Python networking library
 
 Group:          Development/Languages
@@ -17,8 +17,9 @@ URL:            http://www.gevent.org/
 Source0:        http://pypi.python.org/packages/source/g/gevent/gevent-%{version}.tar.gz
 BuildRoot:      %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
 
-BuildRequires:  python-devel
-BuildRequires:  libevent-devel >= 1.4.0
+BuildRequires:  python2-devel
+BuildRequires:  c-ares-devel
+BuildRequires:  libev-devel
 Requires:       python-greenlet
 
 %description
@@ -36,9 +37,11 @@ Features include:
 
 %prep
 %setup -q -n %{upstream_name}-%{version}
+# Remove bundled libraries
+rm -r c-ares libev
 
 %build
-CFLAGS="%{optflags}" %{__python} setup.py build
+CFLAGS="%{optflags} -I%{_includedir}/libev" %{__python} setup.py build
 
 %install
 rm -rf %{buildroot}
@@ -56,6 +59,9 @@ rm -rf %{buildroot}
 %{python_sitearch}/%{upstream_name}-%{version}-*.egg-info
 
 %changelog
+* Wed Jan 22 2014 Orion Poplawski <orion at cora.nwra.com> - 1.0-1
+- Update to 1.0
+
 * Sun Aug 04 2013 Fedora Release Engineering <rel-eng at lists.fedoraproject.org> - 0.13.8-3
 - Rebuilt for https://fedoraproject.org/wiki/Fedora_20_Mass_Rebuild
 
diff --git a/sources b/sources
index f14793d..bbc2096 100644
--- a/sources
+++ b/sources
@@ -1 +1 @@
-ca9dcaa7880762d8ebbc266b11252960  gevent-0.13.8.tar.gz
+33aef51a06268f5903fea378e1388e4d  gevent-1.0.tar.gz


More information about the scm-commits mailing list