[python-zdaemon] Enable the tests.

Ralph Bean ralph at fedoraproject.org
Wed Jan 29 15:57:51 UTC 2014


commit 56b412f4ba3d79cbf8bc68d4d24c764978703034
Author: Ralph Bean <rbean at redhat.com>
Date:   Wed Jan 29 10:58:08 2014 -0500

    Enable the tests.

 python-zdaemon.spec |   18 ++++++++----------
 1 files changed, 8 insertions(+), 10 deletions(-)
---
diff --git a/python-zdaemon.spec b/python-zdaemon.spec
index fed2523..8e95646 100644
--- a/python-zdaemon.spec
+++ b/python-zdaemon.spec
@@ -4,7 +4,7 @@
 
 Name:           python-zdaemon
 Version:        3.0.5
-Release:        2%{?dist}
+Release:        3%{?dist}
 Summary:        Python Daemon Process Control Library
 Group:          Development/Languages
 License:        ZPLv2.1
@@ -19,9 +19,7 @@ BuildRequires:  python-zope-testing
 BuildRequires:  python-ZConfig
 BuildRequires:  python-manuel
 BuildRequires:  python-six
-# Under review still
-# https://bugzilla.redhat.com/show_bug.cgi?id=915427
-#BuildRequires:  python-zc-customdoctests
+BuildRequires:  python-zc-customdoctests
 BuildRequires:  python-mock
 
 Requires:       python-ZConfig
@@ -47,16 +45,13 @@ rm -rf $RPM_BUILD_ROOT
 %{__python} setup.py install -O1 --skip-build --root $RPM_BUILD_ROOT
 
 
-# Tests disabled until python-zc-customdoctests is available
-#%check
-#export PYTHONPATH="$PYTHONPATH:$RPM_BUILD_ROOT%{python_sitelib}"
-#%{__python} build/lib/zdaemon/tests/tests.py
+%check
+export PYTHONPATH="$PYTHONPATH:$RPM_BUILD_ROOT%{python_sitelib}"
+%{__python} build/lib/zdaemon/tests/tests.py
 
- 
 %clean
 rm -rf $RPM_BUILD_ROOT
 
-
 %files
 %defattr(-,root,root,-)
 %doc CHANGES.txt README.txt
@@ -66,6 +61,9 @@ rm -rf $RPM_BUILD_ROOT
 
 
 %changelog
+* Wed Jan 29 2014 Ralph Bean <rbean at redhat.com> - 3.0.5-3
+- Enable tests.
+
 * Sun Aug 04 2013 Fedora Release Engineering <rel-eng at lists.fedoraproject.org> - 3.0.5-2
 - Rebuilt for https://fedoraproject.org/wiki/Fedora_20_Mass_Rebuild
 


More information about the scm-commits mailing list