diff --git a/python-novaclient.spec b/python-novaclient.spec index 421a7d0..6152285 100644 --- a/python-novaclient.spec +++ b/python-novaclient.spec @@ -42,7 +42,7 @@ the OpenStack Nova API. Summary: Documentation for OpenStack Nova API Client Group: Documentation -%if 0%{?rhel} && %{?rhel} <= 6 +%if 0%{?rhel} && 0%{?rhel} <= 6 BuildRequires: python-sphinx10 %else BuildRequires: python-sphinx @@ -84,7 +84,7 @@ install -pm 644 tools/nova.bash_completion \ # Delete tests rm -fr %{buildroot}%{python_sitelib}/novaclient/tests export PYTHONPATH="$( pwd ):$PYTHONPATH" -%if 0%{?rhel} && %{?rhel} <= 6 +%if 0%{?rhel} && 0%{?rhel} <= 6 sphinx-1.0-build -b html doc/source html sphinx-1.0-build -b man doc/source man %else