rpms/python-stomper/F-10 python-stomper-uuid.patch, NONE, 1.1 python-stomper.spec, 1.2, 1.3
Luke Macken
lmacken at fedoraproject.org
Fri Sep 18 23:28:17 UTC 2009
Author: lmacken
Update of /cvs/pkgs/rpms/python-stomper/F-10
In directory cvs1.fedora.phx.redhat.com:/tmp/cvs-serv29043/F-10
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-10/python-stomper.spec,v
retrieving revision 1.2
retrieving revision 1.3
diff -u -p -r1.2 -r1.3
--- python-stomper.spec 26 Jul 2009 23:09:36 -0000 1.2
+++ python-stomper.spec 18 Sep 2009 23:28:15 -0000 1.3
@@ -2,18 +2,25 @@
Name: python-stomper
Version: 0.2.2
-Release: 8%{?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,10 @@ 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
More information about the fedora-extras-commits
mailing list