[python-testtools] - Add missing runtime deps on unittest2 - Version the Python2 dependency on unittest2 to ensure we i
Michel Alexandre Salim
salimma at fedoraproject.org
Thu Nov 27 11:02:00 UTC 2014
commit e7aa9d099d03abd309f239ff8801ea96483336b6
Author: Michel Alexandre Salim <salimma at fedoraproject.org>
Date: Thu Nov 27 17:57:14 2014 +0700
- Add missing runtime deps on unittest2
- Version the Python2 dependency on unittest2 to ensure we install the
standalone package, not the old provide satisfied by the main Python package
python-testtools.spec | 4 +++-
1 files changed, 3 insertions(+), 1 deletions(-)
---
diff --git a/python-testtools.spec b/python-testtools.spec
index 0896fa2..9f51b2e 100644
--- a/python-testtools.spec
+++ b/python-testtools.spec
@@ -20,7 +20,7 @@ BuildRequires: python2-devel
BuildRequires: python-extras
BuildRequires: python-mimeparse >= 0.1.4
BuildRequires: python-setuptools
-BuildRequires: python-unittest2
+BuildRequires: python-unittest2 >= 0.8.0
%if 0%{?with_python3}
BuildRequires: python3-devel
BuildRequires: python3-extras
@@ -32,6 +32,7 @@ BuildRequires: python-sphinx
Requires: python-extras
Requires: python-mimeparse
+Requires: python-unittest2 >= 0.8.0
%description
testtools is a set of extensions to the Python standard library's unit testing
@@ -44,6 +45,7 @@ Summary: Extensions to the Python unit testing framework
Requires: python3-extras
Requires: python3-mimeparse
+Requires: python3-unittest2
%description -n python3-testtools
testtools is a set of extensions to the Python standard library's unit testing
More information about the scm-commits
mailing list