[python-feedcache] Run the test suite during %check
Luke Macken
lmacken at fedoraproject.org
Wed Aug 27 22:27:48 UTC 2014
commit 7fda3e8a2576591be918b0aadc9860db4885206c
Author: Luke Macken <lmacken at redhat.com>
Date: Wed Aug 27 16:27:30 2014 -0600
Run the test suite during %check
python-feedcache.spec | 8 ++++++++
1 files changed, 8 insertions(+), 0 deletions(-)
---
diff --git a/python-feedcache.spec b/python-feedcache.spec
index 66f3413..069ed15 100644
--- a/python-feedcache.spec
+++ b/python-feedcache.spec
@@ -16,6 +16,9 @@ BuildArch: noarch
BuildRequires: python-devel
BuildRequires: python-setuptools
+BuildRequires: python-nose
+BuildRequires: python-feedparser
+BuildRequires: python-shove
Requires: python-feedparser
@@ -42,6 +45,10 @@ done
%{__python} setup.py build
+%check
+PYTHONPATH=. nosetests
+
+
%install
rm -rf %{buildroot}
%{__python} setup.py install --skip-build --root %{buildroot}
@@ -60,6 +67,7 @@ rm -rf %{buildroot}
* Wed Aug 27 2014 Luke Macken <lmacken at redhat.com> - 1.4.1-1
- Update to 1.4.1 (#810833)
- Update the URLs
+- Enable the test suite
* Mon Jun 30 2014 Toshio Kuratomi <toshio at fedoraproject.org> - 1.3.1-7
- Replace python-setuptools-devel BR with python-setuptools
More information about the scm-commits
mailing list