rpms/pyevent/F-9 pyevent-0.3-lib64.patch, NONE, 1.1 pyevent.spec, NONE, 1.1 sources, 1.1, 1.2
Robin Norwood (rnorwood)
fedora-extras-commits at redhat.com
Mon Aug 4 20:21:47 UTC 2008
- Previous message (by thread): rpms/rcssserver3d/F-8 import.log, NONE, 1.1 rcssserver3d-0.6-libnamefix.patch, NONE, 1.1 rcssserver3d-rsgedit.desktop, NONE, 1.1 rcssserver3d.desktop, NONE, 1.1 rcssserver3d.png, NONE, 1.1 rcssserver3d.spec, NONE, 1.1 .cvsignore, 1.1, 1.2 sources, 1.1, 1.2
- Next message (by thread): [pkgdb] gnome-session: mccann has requested watchbugzilla
- Messages sorted by:
[ date ]
[ thread ]
[ subject ]
[ author ]
Author: rnorwood
Update of /cvs/pkgs/rpms/pyevent/F-9
In directory cvs-int.fedora.redhat.com:/tmp/cvs-serv13443
Modified Files:
sources
Added Files:
pyevent-0.3-lib64.patch pyevent.spec
Log Message:
F-9 version.
pyevent-0.3-lib64.patch:
--- NEW FILE pyevent-0.3-lib64.patch ---
Binary files pyevent-0.3-bad/build/lib.linux-x86_64-2.5/event.so and pyevent-0.3/build/lib.linux-x86_64-2.5/event.so differ
Binary files pyevent-0.3-bad/build/temp.linux-x86_64-2.5/event.o and pyevent-0.3/build/temp.linux-x86_64-2.5/event.o differ
diff -ruN pyevent-0.3-bad/setup.py pyevent-0.3/setup.py
--- pyevent-0.3-bad/setup.py 2005-09-11 22:44:04.000000000 -0500
+++ pyevent-0.3/setup.py 2007-12-12 12:32:26.000000000 -0600
@@ -5,11 +5,17 @@
from distutils.core import setup, Extension
import glob, os, sys
+
if glob.glob('/usr/lib/libevent.*'):
print 'found system libevent for', sys.platform
event = Extension(name='event',
sources=[ 'event.c' ],
libraries=[ 'event' ])
+elif glob.glob('/usr/lib64/libevent.*'):
+ print 'found system libevent for', sys.platform
+ event = Extension(name='event',
+ sources=[ 'event.c' ],
+ libraries=[ 'event' ])
elif glob.glob('%s/lib/libevent.*' % sys.prefix):
print 'found installed libevent in', sys.prefix
event = Extension(name='event',
--- NEW FILE pyevent.spec ---
%{!?python_sitearch: %define python_sitearch %(%{__python} -c "from distutils.sysconfig import get_python_lib; print get_python_lib(1)")}
%{!?python_version: %define python_version %(%{__python} -c "import sys; print sys.version[0:3]")}
Name: pyevent
Version: 0.3
Release: 3%{?dist}
Summary: Python bindings for libevent
Group: Development/Languages
License: BSD
URL: http://code.google.com/p/pyevent/
Source0: http://pyevent.googlecode.com/files/pyevent-%{version}.tar.gz
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
Patch0: pyevent-0.3-lib64.patch
BuildRequires: python-devel, Pyrex, libevent-devel
%description
Pyevent is the python bindings for libevent which is a generic event system
%prep
%setup -q
# we should build the pyrex sources to make sure
# other using the srpm to make changes can build also
touch event.pyx
%patch0 -p1 -b .lib64
%build
CFLAGS="$RPM_OPT_FLAGS" %{__python} setup.py build
%install
rm -rf $RPM_BUILD_ROOT
%{__python} setup.py install -O1 --skip-build --root $RPM_BUILD_ROOT
%clean
rm -rf $RPM_BUILD_ROOT
%files
%defattr(-,root,root,-)
%doc README LICENSE
%{python_sitearch}/event.so
%{python_sitearch}/event-%{version}-py%{python_version}.egg-info
%changelog
* Tue Jul 29 2008 Robin Norwood <rnorwood at redhat.com> - 0.3-3
- Spec for Fedora package review
* Wed Dec 12 2007 Dennis Gilmore <dennis at ausil.us> - 0.3-2
- apply patch to build on 64 bit systems
* Mon Aug 27 2007 John (J5) Palmieri <johnp at redhat.com> - 0.3-1
- initial package
Index: sources
===================================================================
RCS file: /cvs/pkgs/rpms/pyevent/F-9/sources,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -r1.1 -r1.2
--- sources 4 Aug 2008 18:33:24 -0000 1.1
+++ sources 4 Aug 2008 20:21:16 -0000 1.2
@@ -0,0 +1 @@
+584912c92d08bf005283fb29a47a6e4d pyevent-0.3.tar.gz
- Previous message (by thread): rpms/rcssserver3d/F-8 import.log, NONE, 1.1 rcssserver3d-0.6-libnamefix.patch, NONE, 1.1 rcssserver3d-rsgedit.desktop, NONE, 1.1 rcssserver3d.desktop, NONE, 1.1 rcssserver3d.png, NONE, 1.1 rcssserver3d.spec, NONE, 1.1 .cvsignore, 1.1, 1.2 sources, 1.1, 1.2
- Next message (by thread): [pkgdb] gnome-session: mccann has requested watchbugzilla
- Messages sorted by:
[ date ]
[ thread ]
[ subject ]
[ author ]
More information about the fedora-extras-commits
mailing list