apevec pushed to python-stevedore (f21). "avoid new test requirements for now"

notifications at fedoraproject.org notifications at fedoraproject.org
Thu Apr 30 08:38:24 UTC 2015


>From edafa825a47585f6382a7ffdd4b1fc957ebae22b Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?P=C3=A1draig=20Brady?= <P at draigBrady.com>
Date: Wed, 29 Oct 2014 04:04:21 +0000
Subject: avoid new test requirements for now


diff --git a/python-stevedore.spec b/python-stevedore.spec
index 49903dc..34040c2 100644
--- a/python-stevedore.spec
+++ b/python-stevedore.spec
@@ -16,9 +16,11 @@ BuildArch:      noarch
 BuildRequires:  python-devel
 BuildRequires:  python-setuptools
 BuildRequires:  python-pbr
-BuildRequires:  python-nose
 BuildRequires:  python-mock
 BuildRequires:  python-six
+BuildRequires:  python-testrepository
+#BuildRequires:  python-discover
+#BuildRequires:  python-oslotest
 
 Requires:       python-setuptools
 Requires:       python-six
@@ -27,9 +29,11 @@ Requires:       python-six
 BuildRequires:  python3-devel
 BuildRequires:  python3-setuptools
 BuildRequires:  python3-pbr
-BuildRequires:  python3-nose
 BuildRequires:  python3-mock
 BuildRequires:  python3-six
+#BuildRequires:  python3-testrepository
+#BuildRequires:  python3-discover
+#BuildRequires:  python3-oslotest
 %endif
 
 %description
@@ -74,13 +78,15 @@ popd
 %{__python} setup.py install --skip-build --root %{buildroot}
 
 %check
-PYTHONPATH=. nosetests
-
-%if 0%{?with_python3}
-pushd %{py3dir}
-PYTHONPATH=. nosetests-%{python3_version}
-popd
-%endif
+#TODO: reenable when commented test requirements above are available
+#
+#PYTHONPATH=. nosetests
+#
+#%if 0%{?with_python3}
+#pushd %{py3dir}
+#PYTHONPATH=. nosetests-%{python3_version}
+#popd
+#%endif
 
 %files
 %doc README.rst LICENSE
-- 
cgit v0.10.2


	http://pkgs.fedoraproject.org/cgit/python-stevedore.git/commit/?h=f21&id=edafa825a47585f6382a7ffdd4b1fc957ebae22b


More information about the scm-commits mailing list