rpms/jabberpy/EL-4 jabberpy-clean-sockets.patch, NONE, 1.1 jabberpy-no-init.patch, NONE, 1.1 jabberpy.spec, NONE, 1.1 sources, 1.1, 1.2
Michael Stahnke
stahnma at fedoraproject.org
Mon Nov 3 20:46:41 UTC 2008
- Previous message (by thread): rpms/jabberpy/EL-5 jabberpy-clean-sockets.patch, NONE, 1.1 jabberpy-no-init.patch, NONE, 1.1 jabberpy.spec, NONE, 1.1 sources, 1.1, 1.2
- Next message (by thread): rpms/jabberpy/F-8 jabberpy-clean-sockets.patch, NONE, 1.1 jabberpy-no-init.patch, NONE, 1.1 jabberpy.spec, NONE, 1.1 sources, 1.1, 1.2
- Messages sorted by:
[ date ]
[ thread ]
[ subject ]
[ author ]
Author: stahnma
Update of /cvs/extras/rpms/jabberpy/EL-4
In directory cvs1.fedora.phx.redhat.com:/tmp/cvs-serv15102/EL-4
Modified Files:
sources
Added Files:
jabberpy-clean-sockets.patch jabberpy-no-init.patch
jabberpy.spec
Log Message:
Commiting all branches.
jabberpy-clean-sockets.patch:
--- NEW FILE jabberpy-clean-sockets.patch ---
--- jabberpy-0.5-0-orig/jabber/xmlstream.py 2004-02-03 11:33:37.000000000 -0500
+++ jabberpy-0.5-0/jabber/xmlstream.py 2007-10-03 14:35:29.000000000 -0400
@@ -385,7 +385,6 @@
def disconnect(self):
"""Close the stream and socket"""
self.write ( u"</stream:stream>" )
- while self.process(): pass
self._sock.close()
self._sock = None
jabberpy-no-init.patch:
--- NEW FILE jabberpy-no-init.patch ---
diff -urN jabberpy-0.5-0-orig/jabber/__init__.py jabberpy-0.5-0/jabber/__init__.py
--- jabberpy-0.5-0-orig/jabber/__init__.py 1969-12-31 19:00:00.000000000 -0500
+++ jabberpy-0.5-0/jabber/__init__.py 2004-06-14 18:53:10.000000000 -0400
@@ -0,0 +1,10 @@
+__all__ = []
+
+import jabber
+
+for __s in dir(jabber):
+ __val = getattr(jabber, __s)
+ globals()[__s] = __val
+ __all__.append(__val)
+
+del __s, __val
Binary files jabberpy-0.5-0-orig/jabber/.__init__.py.swp and jabberpy-0.5-0/jabber/.__init__.py.swp differ
--- NEW FILE jabberpy.spec ---
%{!?python_sitelib: %define python_sitelib %(%{__python} -c "from distutils.sysconfig import get_python_lib; print get_python_lib()")}
Name: jabberpy
Version: 0.5
# Used like this because upstream releases like 0.5-0
Release: 0.17%{?dist}
Summary: Python xmlstream and jabber IM protocol libs
Group: Development/Libraries
License: LGPLv2+
URL: http://sourceforge.net/projects/jabberpy/
Source0: http://downloads.sf.net/sourceforge/%{name}/%{name}-%{version}-0.tar.gz
Patch0: jabberpy-no-init.patch
Patch1: jabberpy-clean-sockets.patch
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
BuildArch: noarch
BuildRequires: python-devel
Requires: python
%description
jabber.py is a Python module for the jabber instant messaging
protocol. jabber.py deals with the xml parsing and socket code,
leaving the programmer to concentrate on developing quality jabber
based applications with Python.
%prep
%setup -q -n %{name}-%{version}-0
chmod -x examples/*.py
%patch0 -p1 -b .no-init
%patch1 -p1 -b .clean-sockets
%build
%{__python} setup.py build
%install
rm -rf $RPM_BUILD_ROOT
%{__python} setup.py install --root=$RPM_BUILD_ROOT
%clean
rm -rf $RPM_BUILD_ROOT
%files
%defattr(-,root,root)
%doc examples README
%{python_sitelib}/*
%changelog
* Fri Oct 24 2008 Michael Stahnke <stahnma at fedoraproject.org> 0.5.0.17
- Minor Spec tweaks for review
* Mon Oct 10 2008 Michael Stahnke <stahnma at fedoraproject.org> 0.5-0.16
- Clean up for Fedora Review and submission
* Wed Sep 3 2008 Jesus Rodriguez <jesusr at redhat.com> 0.5-0.15
- remove reliance on external version file
* Tue Oct 09 2007 Pradeep Kilambi <pkilambi at redhat.com>
- clean dangling ports left out by jabberpy
* Mon Jun 14 2004 Mihai Ibanescu <misa at redhat.com>
- Initial build
- Patched to add a __init__ file
Index: sources
===================================================================
RCS file: /cvs/extras/rpms/jabberpy/EL-4/sources,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -r1.1 -r1.2
--- sources 31 Oct 2008 20:45:44 -0000 1.1
+++ sources 3 Nov 2008 20:46:11 -0000 1.2
@@ -0,0 +1 @@
+cbb9a1126bdc39ff49af605fb55c282e jabberpy-0.5-0.tar.gz
- Previous message (by thread): rpms/jabberpy/EL-5 jabberpy-clean-sockets.patch, NONE, 1.1 jabberpy-no-init.patch, NONE, 1.1 jabberpy.spec, NONE, 1.1 sources, 1.1, 1.2
- Next message (by thread): rpms/jabberpy/F-8 jabberpy-clean-sockets.patch, NONE, 1.1 jabberpy-no-init.patch, NONE, 1.1 jabberpy.spec, NONE, 1.1 sources, 1.1, 1.2
- Messages sorted by:
[ date ]
[ thread ]
[ subject ]
[ author ]
More information about the fedora-extras-commits
mailing list