]> git.pld-linux.org Git - packages/opera.git/commitdiff
- try to sort out the tree of conditions
authorElan Ruusamäe <glen@pld-linux.org>
Wed, 31 Oct 2007 11:04:10 +0000 (11:04 +0000)
committercvs2git <feedback@pld-linux.org>
Sun, 24 Jun 2012 12:13:13 +0000 (12:13 +0000)
- typo in sparc setup line

Changed files:
    opera.spec -> 1.251

opera.spec

index d5941f70ccfea08d0bc4c3c77bf27ba44bc5a36a..7fa8f19cf455b1ce4a400abf465e3863154247d4 100644 (file)
 %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}
+       %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
-%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            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
 %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
+       %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
-#                      with shared:    [else]
-%define        need_ix86_static        1
-%define        need_sparc_static       1
-%define        need_ppc_static 1
-%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]
+       %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 incall;    [endif]
 
 %define                _rel    2
 Summary:       World fastest web browser
@@ -185,7 +163,7 @@ wersja jest skonsolidowana %{?with_shared:dynamicznie}%{!?with_shared:statycznie
 %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}}
This page took 0.050004 seconds and 4 git commands to generate.