summaryrefslogtreecommitdiffstats
path: root/zarb-ml/mageia-dev/20110221/002698.html
blob: 9f746b0db141fa035564ca897894444c05cc3a05 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 3.2//EN">
<HTML>
 <HEAD>
   <TITLE> [Mageia-dev] [599] Only check deps for packages buildable on	x86_64
   </TITLE>
   <LINK REL="Index" HREF="index.html" >
   <LINK REL="made" HREF="mailto:mageia-dev%40mageia.org?Subject=Re%3A%20%5BMageia-dev%5D%20%5B599%5D%20Only%20check%20deps%20for%20packages%20buildable%20on%0A%09x86_64&In-Reply-To=%3CAANLkTi%3DNBrvk_%2Be7Xuc4Uqs_oCTfvBTmBzzqbBfY6EoM%40mail.gmail.com%3E">
   <META NAME="robots" CONTENT="index,nofollow">
   <META http-equiv="Content-Type" content="text/html; charset=us-ascii">
   <LINK REL="Previous"  HREF="002697.html">
   <LINK REL="Next"  HREF="002707.html">
 </HEAD>
 <BODY BGCOLOR="#ffffff">
   <H1>[Mageia-dev] [599] Only check deps for packages buildable on	x86_64</H1>
    <B>Thierry Vignaud</B> 
    <A HREF="mailto:mageia-dev%40mageia.org?Subject=Re%3A%20%5BMageia-dev%5D%20%5B599%5D%20Only%20check%20deps%20for%20packages%20buildable%20on%0A%09x86_64&In-Reply-To=%3CAANLkTi%3DNBrvk_%2Be7Xuc4Uqs_oCTfvBTmBzzqbBfY6EoM%40mail.gmail.com%3E"
       TITLE="[Mageia-dev] [599] Only check deps for packages buildable on	x86_64">thierry.vignaud at gmail.com
       </A><BR>
    <I>Mon Feb 21 08:23:42 CET 2011</I>
    <P><UL>
        <LI>Previous message: <A HREF="002697.html">[Mageia-dev] Text (log) attachment to bugzilla
</A></li>
        <LI>Next message: <A HREF="002707.html">[Mageia-dev] [599] Only check deps for packages buildable on	x86_64
</A></li>
         <LI> <B>Messages sorted by:</B> 
              <a href="date.html#2698">[ date ]</a>
              <a href="thread.html#2698">[ thread ]</a>
              <a href="subject.html#2698">[ subject ]</a>
              <a href="author.html#2698">[ author ]</a>
         </LI>
       </UL>
    <HR>  
<!--beginarticle-->
<PRE>On 20 February 2011 21:50,  &lt;<A HREF="https://www.mageia.org/mailman/listinfo/mageia-dev">root at mageia.org</A>&gt; wrote:
&gt;<i> Revision 599 Author pterjan Date 2011-02-20 21:50:18 +0100 (Sun, 20 Feb
</I>&gt;<i> 2011)
</I>&gt;<i>
</I>&gt;<i> Log Message
</I>&gt;<i>
</I>&gt;<i> Only check deps for packages buildable on x86_64
</I>
Why not try the same logic and i586, then fail (which is fine
since for now we only care about those 2 arches)?

Index: lib/Youri/Submit/Check/Deps.pm
===================================================================
--- lib/Youri/Submit/Check/Deps.pm      (r&#233;vision 600)
+++ lib/Youri/Submit/Check/Deps.pm      (copie de travail)
@@ -68,9 +68,9 @@
     # FIXME we need dependencies on all archs except for ExclusiveArch
     # Unfortunately some dependencies depend on the arch were the
src.rpm was geenrated
     # Currently src.rpm is generated on x86_64, so we need to check on that one
-    # If the package is not buildable on x86_64 we just don't test anything
     my $arch = 'x86_64';
     my @exclusivearchs = $package-&gt;get_tag(&quot;exclusivearchs&quot;);
+    $arch = 'i586' if @exclusivearchs &amp;&amp; ! (grep {$_ eq $arch}
@exclusivearchs);
     return if @exclusivearchs &amp;&amp; ! (grep {$_ eq $arch} @exclusivearchs);
 #    foreach my $arch ($repository-&gt;get_extra_arches()) {
         my $media = new Youri::Media::URPM(name =&gt; &quot;core.&quot;.$arch,
</PRE>









<!--endarticle-->
    <HR>
    <P><UL>
        <!--threads-->
	<LI>Previous message: <A HREF="002697.html">[Mageia-dev] Text (log) attachment to bugzilla
</A></li>
	<LI>Next message: <A HREF="002707.html">[Mageia-dev] [599] Only check deps for packages buildable on	x86_64
</A></li>
         <LI> <B>Messages sorted by:</B> 
              <a href="date.html#2698">[ date ]</a>
              <a href="thread.html#2698">[ thread ]</a>
              <a href="subject.html#2698">[ subject ]</a>
              <a href="author.html#2698">[ author ]</a>
         </LI>
       </UL>

<hr>
<a href="https://www.mageia.org/mailman/listinfo/mageia-dev">More information about the Mageia-dev
mailing list</a><br>
</body></html>