diff --git a/python-pbr.spec b/python-pbr.spec index 9850a83..4f6df42 100644 --- a/python-pbr.spec +++ b/python-pbr.spec @@ -39,10 +39,10 @@ Requires(post): update-alternatives Requires(postun): update-alternatives Obsoletes: python-pbr-doc BuildArch: noarch -%if %{with test} -Name: python-pbr-%{flavor} -%else +%if !%{with test} Name: python-pbr +%else +Name: python-pbr-%{flavor} %endif %if %{with test} BuildRequires: %{python_module Sphinx >= 1.6.2}