Add conditional for python-sphinx buildrequires when with_docs is not set.
- Fixes bug #1251700
This commit is contained in:
parent
08788fbf93
commit
253a1e10aa
@ -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 <kevin@scrye.com> 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 <kevin@scrye.com> 1.3.7-4
|
||||
- Version provides correctly for python2-nose.
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user