From df0261269dfb12308e56bdcd67ed664998c834dd Mon Sep 17 00:00:00 2001 From: "Chris St. Pierre" Date: Thu, 12 Apr 2012 12:49:52 -0400 Subject: e89e879... bcfg2-test requires nose --- misc/bcfg2.spec | 1 + redhat/bcfg2.spec.in | 1 + setup.py | 2 +- 3 files changed, 3 insertions(+), 1 deletion(-) diff --git a/misc/bcfg2.spec b/misc/bcfg2.spec index f85169eec..9fd4c5a13 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 02420fe56..1b8ab5285 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 69c67c0b1..179981ca3 100755 --- a/setup.py +++ b/setup.py @@ -125,7 +125,7 @@ py3lib = 'src/lib/Bcfg2Py3Incompat.py' if sys.hexversion < 0x03000000 and os.path.exists(py3lib): os.remove(py3lib) -inst_reqs = ["lxml"] +inst_reqs = ["lxml", "nose"] if need_m2crypto: inst_reqs.append("M2Crypto") -- cgit v1.2.3-1-g7c22