handle undefined _ignore_exclusive_arch
OBS-URL: https://build.opensuse.org/package/show/devel:languages:ocaml/ocaml-pcre?expand=0&rev=7
This commit is contained in:
@@ -40,7 +40,7 @@ License: LGPL-2.0
|
||||
URL: https://bitbucket.org/mmottl/pcre-ocaml
|
||||
Source0: https://bitbucket.org/mmottl/pcre-ocaml/downloads/pcre-ocaml-%{version}.tar.bz2
|
||||
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
|
||||
%if "%{_ignore_exclusive_arch}" != ""
|
||||
%if "%{?_ignore_exclusive_arch}" != ""
|
||||
%else
|
||||
ExclusiveArch: %ix86 x86_64
|
||||
%endif
|
||||
@@ -69,6 +69,7 @@ developing applications that use %{name}.
|
||||
|
||||
|
||||
%prep
|
||||
: _ignore_exclusive_arch '%{?_ignore_exclusive_arch}'
|
||||
%setup -q -n pcre-ocaml-%{version}
|
||||
|
||||
|
||||
|
Reference in New Issue
Block a user