%bcond_with snap # snap version
%bcond_with weekly # weekly snapshot version
-%ifarch sparc sparc64
+%ifarch sparc sparcv9
%undefine with_shared
%endif
%define type shared
# We should be able to build src.rpm also on not supported archs
%define rel %{x86_shared_rel}
-%ifarch sparc sparc64
+%ifarch sparc sparcv9
#%%define rel %{sparc_shared_rel}
%define rel %{sparc_static_rel}
%else
%else
%define type static
%define rel %{x86_static_rel}
-%ifarch sparc sparc64
+%ifarch sparc sparcv9
%define rel %{sparc_static_rel}
%else
%ifarch ppc
Requires: browser-plugins >= 2.0
Requires: freetype >= 2
Provides: wwwbrowser
-ExclusiveArch: %{ix86} ppc sparc sparc64
+ExclusiveArch: %{ix86} ppc sparc sparcv9
BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
%define _plugindir %{_libdir}/opera/plugins
%ifarch %{ix86}
%setup -q -T -b %{?with_weekly:30}%{?with_snap:10}%{?with_shared:2}0 -n %{name}-%{sver}-%{rel}-%{type}-qt.i386-en%{?magicstr:-%{magicstr}}
%endif
-%ifarch sparc sparc64
+%ifarch sparc sparcv9
%setup -q -T -b %{?with_weekly:30}%{?with_snap:10}%{?with_shared:2}1 -n %{name}-%{sver}-%{rel}-%{type}-qt.sparc-en%{?magicstr:-%{magicstr}}
%endif
%ifarch ppc