summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorChris St. Pierre <chris.a.st.pierre@gmail.com>2012-04-12 12:49:52 -0400
committerChris St. Pierre <chris.a.st.pierre@gmail.com>2012-04-13 11:57:13 -0400
commite89e879c2089a95678120e07a0e0f7eddd2d70bb (patch)
tree65f81fbea4bbf9081986b764cd0a2230f760d3ef
parent87496aea6810448b2a2d809f6776f159e154caec (diff)
downloadbcfg2-e89e879c2089a95678120e07a0e0f7eddd2d70bb.tar.gz
bcfg2-e89e879c2089a95678120e07a0e0f7eddd2d70bb.tar.bz2
bcfg2-e89e879c2089a95678120e07a0e0f7eddd2d70bb.zip
bcfg2-test requires nose
-rw-r--r--misc/bcfg2.spec1
-rw-r--r--redhat/bcfg2.spec.in1
-rwxr-xr-xsetup.py2
3 files changed, 3 insertions, 1 deletions
diff --git a/misc/bcfg2.spec b/misc/bcfg2.spec
index 9fa119edf..5daad341b 100644
--- a/misc/bcfg2.spec
+++ b/misc/bcfg2.spec
@@ -51,6 +51,7 @@ BuildRequires: python-sphinx10
BuildRequires: python-sphinx >= 0.6
%endif
+Requires: python-nose
Requires: python-lxml >= 0.9
%if 0%{?rhel_version}
# the debian init script needs redhat-lsb.
diff --git a/redhat/bcfg2.spec.in b/redhat/bcfg2.spec.in
index 881296533..64adbe5c2 100644
--- a/redhat/bcfg2.spec.in
+++ b/redhat/bcfg2.spec.in
@@ -44,6 +44,7 @@ Requires: python-elementtree
%else if "%{py_ver}" < "2.5"
Requires: python-lxml
%endif
+Requires: python-nose
Requires: initscripts
Requires(post): /sbin/chkconfig
Requires(preun): /sbin/chkconfig
diff --git a/setup.py b/setup.py
index 188a2964f..64dcdeb50 100755
--- a/setup.py
+++ b/setup.py
@@ -116,7 +116,7 @@ try:
except ImportError:
pass
-inst_reqs = ["lxml"]
+inst_reqs = ["lxml", "nose"]
if need_m2crypto:
inst_reqs.append("M2Crypto")