SPECS: opera.spec - try to sort out the tree of conditions - typo ...
glen
glen at pld-linux.org
Wed Oct 31 12:04:15 CET 2007
Author: glen Date: Wed Oct 31 11:04:15 2007 GMT
Module: SPECS Tag: HEAD
---- Log message:
- try to sort out the tree of conditions
- typo in sparc setup line
---- Files affected:
SPECS:
opera.spec (1.250 -> 1.251)
---- Diffs:
================================================================
Index: SPECS/opera.spec
diff -u SPECS/opera.spec:1.250 SPECS/opera.spec:1.251
--- SPECS/opera.spec:1.250 Wed Oct 31 00:07:31 2007
+++ SPECS/opera.spec Wed Oct 31 12:04:10 2007
@@ -27,27 +27,26 @@
%define ppc_static_rel %{dirrel}.1
%if %{with shared}
-%define type shared
-# We should be able to build src.rpm also on not supported archs
-%define rel %{x86_shared_rel}
-%ifarch sparc sparcv9
-#%%define rel %{sparc_shared_rel}
-%define rel %{sparc_static_rel}
-%else
-%ifarch ppc
-%define rel %{ppc_shared_rel}
-%endif
-%endif
-%else
-%define type static
-%define rel %{x86_static_rel}
-%ifarch sparc sparcv9
-%define rel %{sparc_static_rel}
-%else
-%ifarch ppc
-%define rel %{ppc_static_rel}
-%endif
-%endif
+ %define type shared
+ # We should be able to build src.rpm also on not supported archs
+ %define rel %{x86_shared_rel}
+ %ifarch sparc sparcv9
+ %define rel %{sparc_shared_rel}
+ %else
+ %ifarch ppc
+ %define rel %{ppc_shared_rel}
+ %endif
+ %endif
+%else
+ %define type static
+ %define rel %{x86_static_rel}
+ %ifarch sparc sparcv9
+ %define rel %{sparc_static_rel}
+ %else
+ %ifarch ppc
+ %define rel %{ppc_static_rel}
+ %endif
+ %endif
%endif
# define to 0 and then redefine to avoid
@@ -60,55 +59,34 @@
%define need_ppc_static 0
%if %{with incall}
-# with incall? [if]
-%if %{with shared}
-# with shared? [if]
-%define need_ix86_shared 1
-%define need_sparc_shared 1
-%define need_ppc_shared 1
-%else
-# with shared: [else]
-%define need_ix86_static 1
-%define need_sparc_static 1
-%define need_ppc_static 1
+ %if %{with shared}
+ %define need_ix86_shared 1
+ %define need_sparc_shared 1
+ %define need_ppc_shared 1
+ %else
+ %define need_ix86_static 1
+ %define need_sparc_static 1
+ %define need_ppc_static 1
+ %endif
+%else
+ %ifnarch %{ix86}
+ %ifarch sparc sparc64
+ %if %{with shared}
+ %define need_sparc_shared 1
+ %else
+ %define need_sparc_static 1
+ %endif
+ %else
+ %ifarch ppc
+ %if %{with shared}
+ %define need_ppc_shared 1
+ %else
+ %define need_ppc_static 1
+ %endif
+ %endif
+ %endif
+ %endif
%endif
-# with shared; [endif]
-%else
-# with incall: [else]
-%ifarch %{ix86}
-# is ix86? [if]
-%else
-# is ix86: [else]
-%ifarch sparc sparc64
-# is sparc? [if]
-%if %{with shared}
-# with shared? [if]
-%define need_sparc_shared 1
-%else
-# with shared: [else]
-%define need_sparc_static 1
-%endif
-# with shared; [endif]
-%else
-# is sparc: [else]
-%ifarch ppc
-# is ppc? [if]
-%if %{with shared}
-# with shared? [if]
-%define need_ppc_shared 1
-%else
-# with shared: [else]
-%define need_ppc_static 1
-%endif
-# with shared; [endif]
-%endif
-# is ppc; [endif]
-%endif
-# is sparc; [endif]
-%endif
-# is ix86; [endif]
-%endif
-# with incall; [endif]
%define _rel 2
Summary: World fastest web browser
@@ -186,7 +164,7 @@
%setup -q -T -b %{?with_shared:2}0 -n %{name}-%{sver}-%{rel}-%{type}-qt.i386-en%{?magicstr:-%{magicstr}}
%endif
%ifarch sparc sparcv9
-%setup -q -T -b %{?with_shared:2}1 -n %{name}-%{sver}-%{rel}-%{type}-qt.sparc-en-en%{?magicstr:-%{magicstr}}
+%setup -q -T -b %{?with_shared:2}1 -n %{name}-%{sver}-%{rel}-%{type}-qt.sparc-en-%{?magicstr:-%{magicstr}}
%endif
%ifarch ppc
%setup -q -T -b %{?with_shared:2}2 -n %{name}-%{sver}-%{rel}-%{type}-qt.ppc-en%{?magicstr:-%{magicstr}}
@@ -267,6 +245,10 @@
All persons listed below can be reached at <cvs_login>@pld-linux.org
$Log$
+Revision 1.251 2007/10/31 11:04:10 glen
+- try to sort out the tree of conditions
+- typo in sparc setup line
+
Revision 1.250 2007/10/30 23:07:31 glen
- fix sparc build (enable sparc shared). why it was disabled?; rel 2
================================================================
---- CVS-web:
http://cvs.pld-linux.org/cgi-bin/cvsweb.cgi/SPECS/opera.spec?r1=1.250&r2=1.251&f=u
More information about the pld-cvs-commit
mailing list