rpms/python-stomper/F-11 python-stomper-uuid.patch, NONE, 1.1 python-stomper.spec, 1.1, 1.2

Luke Macken lmacken at fedoraproject.org
Fri Sep 18 23:28:17 UTC 2009


Author: lmacken

Update of /cvs/pkgs/rpms/python-stomper/F-11
In directory cvs1.fedora.phx.redhat.com:/tmp/cvs-serv29043/F-11

Modified Files:
	python-stomper.spec 
Added Files:
	python-stomper-uuid.patch 
Log Message:
* Thu Sep 03 2009 Luke Macken <lmacken at redhat.com> - 0.2.2-9
- Require python-uuid when using Python2.4 only
- Run the test suite in %%check


python-stomper-uuid.patch:
 setup.py |    1 -
 1 file changed, 1 deletion(-)

--- NEW FILE python-stomper-uuid.patch ---
--- setup.py.orig	2009-06-02 13:24:33.000000000 -0400
+++ setup.py	2009-06-02 13:24:44.000000000 -0400
@@ -46,7 +46,6 @@
 
 
 needed = [
-    'uuid>=1.2',
 ]
 
 setup(


Index: python-stomper.spec
===================================================================
RCS file: /cvs/pkgs/rpms/python-stomper/F-11/python-stomper.spec,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -p -r1.1 -r1.2
--- python-stomper.spec	11 Apr 2009 18:44:37 -0000	1.1
+++ python-stomper.spec	18 Sep 2009 23:28:16 -0000	1.2
@@ -2,18 +2,25 @@
 
 Name:           python-stomper
 Version:        0.2.2
-Release:        7%{?dist}
+Release:        9%{?dist}
 Summary:        A python client implementation of the STOMP protocol
 
 Group:          Development/Languages
 License:        ASL 2.0
 URL:            http://code.google.com/p/stomper/
 Source0:        http://stomper.googlecode.com/files/stomper-%{version}.tar.gz
+Patch0:         %{name}-uuid.patch
 BuildRoot:      %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
 
 BuildArch:      noarch
 BuildRequires:  python-devel
 BuildRequires:  python-setuptools
+BuildRequires:  python-nose
+
+%if 0%{?el5}
+BuildRequires:  python-uuid
+Requires:       python-uuid
+%endif
 
 %description
 This is a python client implementation of the STOMP protocol. The client is
@@ -22,6 +29,7 @@ create and parse STOMP messages in a pro
 
 %prep
 %setup -q -n stomper-%{version}
+%patch0 -p0 -b .uuid
 
 %build
 %{__python} setup.py build
@@ -32,6 +40,9 @@ rm -rf $RPM_BUILD_ROOT
 rm -rf $RPM_BUILD_ROOT%{python_sitelib}/stomper/examples
 rm -rf $RPM_BUILD_ROOT%{python_sitelib}/stomper/tests
 
+%check
+PYTHONPATH=$(pwd) nosetests
+
 %clean
 rm -rf $RPM_BUILD_ROOT
 
@@ -41,6 +52,13 @@ rm -rf $RPM_BUILD_ROOT
 %{python_sitelib}/*
 
 %changelog
+* Thu Sep 03 2009 Luke Macken <lmacken at redhat.com> - 0.2.2-9
+- Require python-uuid when using Python2.4 only
+- Run the test suite in %%check
+
+* Sun Jul 26 2009 Fedora Release Engineering <rel-eng at lists.fedoraproject.org> - 0.2.2-8
+- Rebuilt for https://fedoraproject.org/wiki/Fedora_12_Mass_Rebuild
+
 * Thu Apr 09 2009 Silas Sewell <silas at sewell ch> - 0.2.2-7
 - Remove Python version dependency
 




More information about the fedora-extras-commits mailing list