From cc38e707901d1bbbfe3b9931201c225d1c0cf495 Mon Sep 17 00:00:00 2001 From: Luke Macken Date: Sat, 27 Jul 2013 15:36:42 -0400 Subject: [PATCH] Run the test suite in %check --- python-redis.spec | 5 +++++ 1 file changed, 5 insertions(+) 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 - 2.7.6-1 - Update to 2.7.6 +- Run the test suite * Thu Feb 14 2013 Fedora Release Engineering - 2.7.2-2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_19_Mass_Rebuild