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:
parent
65e25759b6
commit
6c079b6685
@ -67,7 +67,7 @@
|
||||
%define guestfs_docdir %{_defaultdocdir}/%{name}
|
||||
#
|
||||
Name: libguestfs
|
||||
%if "%{_ignore_exclusive_arch}" != ""
|
||||
%if "%{?_ignore_exclusive_arch}" != ""
|
||||
%else
|
||||
ExclusiveArch: %ix86 x86_64
|
||||
%endif
|
||||
@ -403,7 +403,8 @@ virtual machines.
|
||||
|
||||
|
||||
%prep
|
||||
: _ignore_exclusive_arch '%{_ignore_exclusive_arch}'
|
||||
: _ignore_exclusive_arch '%{?_ignore_exclusive_arch}'
|
||||
exit 1
|
||||
%setup -q -a 789653
|
||||
%patch795503 -p1
|
||||
%patch1 -p1
|
||||
|
Loading…
Reference in New Issue
Block a user