fix when _ignore_exclusive_arch is undefined

OBS-URL: https://build.opensuse.org/package/show/Virtualization/libguestfs?expand=0&rev=179
This commit is contained in:
Olaf Hering 2013-01-03 13:17:53 +00:00 committed by Git OBS Bridge
parent 65e25759b6
commit 6c079b6685

View File

@ -67,7 +67,7 @@
%define guestfs_docdir %{_defaultdocdir}/%{name} %define guestfs_docdir %{_defaultdocdir}/%{name}
# #
Name: libguestfs Name: libguestfs
%if "%{_ignore_exclusive_arch}" != "" %if "%{?_ignore_exclusive_arch}" != ""
%else %else
ExclusiveArch: %ix86 x86_64 ExclusiveArch: %ix86 x86_64
%endif %endif
@ -403,7 +403,8 @@ virtual machines.
%prep %prep
: _ignore_exclusive_arch '%{_ignore_exclusive_arch}' : _ignore_exclusive_arch '%{?_ignore_exclusive_arch}'
exit 1
%setup -q -a 789653 %setup -q -a 789653
%patch795503 -p1 %patch795503 -p1
%patch1 -p1 %patch1 -p1