rpms/python-stomper/EL-5 python-stomper-uuid.patch, NONE, 1.1 python-stomper.spec, 1.1, 1.2
Luke Macken
lmacken at fedoraproject.org
Sat Jun 27 21:56:39 UTC 2009
- Previous message (by thread): rpms/bullet/F-11 bullet.spec, NONE, 1.1 generate-tarball.sh, NONE, 1.1 import.log, NONE, 1.1 lib_suffix.patch, NONE, 1.1 .cvsignore, 1.1, 1.2 sources, 1.1, 1.2
- Next message (by thread): rpms/perl-CGI-Application-Plugin-ErrorPage/devel perl-CGI-Application-Plugin-ErrorPage.spec, 1.1, 1.2
- Messages sorted by:
[ date ]
[ thread ]
[ subject ]
[ author ]
Author: lmacken
Update of /cvs/pkgs/rpms/python-stomper/EL-5
In directory cvs1.fedora.phx.redhat.com:/tmp/cvs-serv4907
Modified Files:
python-stomper.spec
Added Files:
python-stomper-uuid.patch
Log Message:
* Tue Jun 02 2009 Luke Macken <lmacken at redhat.com> - 0.2.2-8
- Require python-uuid when using Python2.4 only
- Run the test suite in %%check
python-stomper-uuid.patch:
--- 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/EL-5/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 27 Jun 2009 21:56:09 -0000 1.2
@@ -2,18 +2,25 @@
Name: python-stomper
Version: 0.2.2
-Release: 7%{?dist}
+Release: 8%{?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%{?fedora} <= 6
+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
+* Tue Jun 02 2009 Luke Macken <lmacken at redhat.com> - 0.2.2-8
+- Require python-uuid when using Python2.4 only
+- Run the test suite in %%check
+
* Thu Apr 09 2009 Silas Sewell <silas at sewell ch> - 0.2.2-7
- Remove Python version dependency
- Previous message (by thread): rpms/bullet/F-11 bullet.spec, NONE, 1.1 generate-tarball.sh, NONE, 1.1 import.log, NONE, 1.1 lib_suffix.patch, NONE, 1.1 .cvsignore, 1.1, 1.2 sources, 1.1, 1.2
- Next message (by thread): rpms/perl-CGI-Application-Plugin-ErrorPage/devel perl-CGI-Application-Plugin-ErrorPage.spec, 1.1, 1.2
- Messages sorted by:
[ date ]
[ thread ]
[ subject ]
[ author ]
More information about the fedora-extras-commits
mailing list