rpm: Don't error building if with_spice isn't defined

This commit is contained in:
Cole Robinson 2011-08-01 12:09:08 -04:00
parent 93764a9731
commit d3cf1065b3

View File

@ -192,7 +192,7 @@ Common files used by the different Virtual Machine Manager interfaces.
%define _disable_unsupported_rhel --disable-unsupported-rhel-options
%endif
%if %{default_graphics}
%if 0%{?default_graphics}
%define _default_graphics --with-default-graphics=%{default_graphics}
%endif