[PATCH 08/35] abrt-python: add python-nose to buildrequires

Richard Marko rmarko at redhat.com
Mon May 13 11:05:17 UTC 2013


Signed-off-by: Richard Marko <rmarko at redhat.com>
---
 abrt.spec.in                  | 1 +
 src/python-problem/test       | 2 --
 src/python-problem/tests/test | 2 ++
 3 files changed, 3 insertions(+), 2 deletions(-)
 delete mode 100755 src/python-problem/test
 create mode 100755 src/python-problem/tests/test

diff --git a/abrt.spec.in b/abrt.spec.in
index 848d766..9c40f71 100644
--- a/abrt.spec.in
+++ b/abrt.spec.in
@@ -200,6 +200,7 @@ to the shell
 Summary: ABRT Python API
 Group: System Environment/Libraries
 Requires: %{name} = %{version}-%{release}
+BuildRequires: python-nose
 BuildRequires: python-sphinx
 BuildArch: noarch
 
diff --git a/src/python-problem/test b/src/python-problem/test
deleted file mode 100755
index 7413d47..0000000
--- a/src/python-problem/test
+++ /dev/null
@@ -1,2 +0,0 @@
-#!/bin/bash
-nosetests --with-coverage --cover-package=problem --nocapture --nologcapture --no-skip --verbose
diff --git a/src/python-problem/tests/test b/src/python-problem/tests/test
new file mode 100755
index 0000000..7413d47
--- /dev/null
+++ b/src/python-problem/tests/test
@@ -0,0 +1,2 @@
+#!/bin/bash
+nosetests --with-coverage --cover-package=problem --nocapture --nologcapture --no-skip --verbose
-- 
1.8.1.4



More information about the Crash-catcher mailing list