diff --git a/python-nose.spec b/python-nose.spec index ed454fa..d0b198f 100644 --- a/python-nose.spec +++ b/python-nose.spec @@ -17,7 +17,7 @@ Name: python-nose Version: 1.3.7 -Release: 4%{?dist} +Release: 5%{?dist} Summary: Discovery-based unittest extension for Python Group: Development/Languages @@ -58,7 +58,9 @@ output capture and more. %package docs Summary: Nose Documentation Group: Documentation +%if 0%{?with_docs} BuildRequires: python-sphinx +%endif Requires: python-nose %description docs @@ -181,6 +183,10 @@ rm -rf %{buildroot} %endif # with_docs %changelog +* Sun Aug 09 2015 Kevin Fenzi 1.3.7-5 +- Add conditional for python-sphinx buildrequires when with_docs is not set. +- Fixes bug #1251700 + * Fri Jul 24 2015 Kevin Fenzi 1.3.7-4 - Version provides correctly for python2-nose.