[python-redis] Run the test suite in %check
Luke Macken
lmacken at fedoraproject.org
Sat Jul 27 19:44:40 UTC 2013
commit cc38e707901d1bbbfe3b9931201c225d1c0cf495
Author: Luke Macken <lmacken at redhat.com>
Date: Sat Jul 27 15:36:42 2013 -0400
Run the test suite in %check
python-redis.spec | 5 +++++
1 files changed, 5 insertions(+), 0 deletions(-)
---
diff --git a/python-redis.spec b/python-redis.spec
index 376f698..32e6420 100644
--- a/python-redis.spec
+++ b/python-redis.spec
@@ -15,6 +15,7 @@ BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
BuildArch: noarch
BuildRequires: python-devel
+BuildRequires: python-py
%description
This is a Python interface to the Redis key-value store.
@@ -32,6 +33,9 @@ rm -rf %{buildroot}
%clean
rm -rf %{buildroot}
+%check
+%{__python} setup.py test
+
%files
%defattr(-,root,root,-)
%doc CHANGES LICENSE README.md
@@ -41,6 +45,7 @@ rm -rf %{buildroot}
%changelog
* Sat Jul 27 2013 Luke Macken <lmacken at redhat.com> - 2.7.6-1
- Update to 2.7.6
+- Run the test suite
* Thu Feb 14 2013 Fedora Release Engineering <rel-eng at lists.fedoraproject.org> - 2.7.2-2
- Rebuilt for https://fedoraproject.org/wiki/Fedora_19_Mass_Rebuild
More information about the scm-commits
mailing list