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
|
Name: python-nose
|
||||||
Version: 1.3.7
|
Version: 1.3.7
|
||||||
Release: 4%{?dist}
|
Release: 5%{?dist}
|
||||||
Summary: Discovery-based unittest extension for Python
|
Summary: Discovery-based unittest extension for Python
|
||||||
|
|
||||||
Group: Development/Languages
|
Group: Development/Languages
|
||||||
@ -58,7 +58,9 @@ output capture and more.
|
|||||||
%package docs
|
%package docs
|
||||||
Summary: Nose Documentation
|
Summary: Nose Documentation
|
||||||
Group: Documentation
|
Group: Documentation
|
||||||
|
%if 0%{?with_docs}
|
||||||
BuildRequires: python-sphinx
|
BuildRequires: python-sphinx
|
||||||
|
%endif
|
||||||
Requires: python-nose
|
Requires: python-nose
|
||||||
|
|
||||||
%description docs
|
%description docs
|
||||||
@ -181,6 +183,10 @@ rm -rf %{buildroot}
|
|||||||
%endif # with_docs
|
%endif # with_docs
|
||||||
|
|
||||||
%changelog
|
%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
|
* Fri Jul 24 2015 Kevin Fenzi <kevin@scrye.com> 1.3.7-4
|
||||||
- Version provides correctly for python2-nose.
|
- Version provides correctly for python2-nose.
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user