summaryrefslogtreecommitdiffstats
path: root/zarb-ml/mageia-sysadm/2012-December/004886.html
blob: 8b453dced2cecc2f1381625ebcf80fd48d9b4002 (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
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 3.2//EN">
<HTML>
 <HEAD>
   <TITLE> [Mageia-sysadm] Mass rebuild
   </TITLE>
   <LINK REL="Index" HREF="index.html" >
   <LINK REL="made" HREF="mailto:mageia-sysadm%40mageia.org?Subject=Re%3A%20%5BMageia-sysadm%5D%20Mass%20rebuild&In-Reply-To=%3C20121206125921.GJ21938%40mars-attacks.org%3E">
   <META NAME="robots" CONTENT="index,nofollow">
   <META http-equiv="Content-Type" content="text/html; charset=us-ascii">
   <LINK REL="Previous"  HREF="004884.html">
   <LINK REL="Next"  HREF="004888.html">
 </HEAD>
 <BODY BGCOLOR="#ffffff">
   <H1>[Mageia-sysadm] Mass rebuild</H1>
    <B>nicolas vigier</B> 
    <A HREF="mailto:mageia-sysadm%40mageia.org?Subject=Re%3A%20%5BMageia-sysadm%5D%20Mass%20rebuild&In-Reply-To=%3C20121206125921.GJ21938%40mars-attacks.org%3E"
       TITLE="[Mageia-sysadm] Mass rebuild">boklm at mars-attacks.org
       </A><BR>
    <I>Thu Dec  6 13:59:21 CET 2012</I>
    <P><UL>
        <LI>Previous message: <A HREF="004884.html">[Mageia-sysadm] Mass rebuild
</A></li>
        <LI>Next message: <A HREF="004888.html">[Mageia-sysadm] Mass rebuild
</A></li>
         <LI> <B>Messages sorted by:</B> 
              <a href="date.html#4886">[ date ]</a>
              <a href="thread.html#4886">[ thread ]</a>
              <a href="subject.html#4886">[ subject ]</a>
              <a href="author.html#4886">[ author ]</a>
         </LI>
       </UL>
    <HR>  
<!--beginarticle-->
<PRE>On Wed, 05 Dec 2012, Pascal Terjan wrote:

&gt;<i> 
</I>&gt;<i> I am testing it, there are not that many failing but I guess that will
</I>&gt;<i> be over a hundred so it would be good to test in the code if it
</I>&gt;<i> succeeded
</I>&gt;<i> 
</I>&gt;<i> Good news is that several of them does not seem to have ever been
</I>&gt;<i> uploaded so they don't matter
</I>&gt;<i> 
</I>&gt;<i> Some of them have release %mkrel 0 and the code fails to handle that
</I>&gt;<i> but this should be easy to fix (Unable to extract release number from
</I>&gt;<i> value '0'), that would fix a lot of the ones in the list
</I>&gt;<i> 
</I>&gt;<i>         croak &quot;Unable to extract release number from value '$value'&quot;
</I>&gt;<i>             unless $number;
</I>&gt;<i> 
</I>&gt;<i> Changing it to unless defined($number); should do the trick
</I>&gt;<i> 
</I>&gt;<i> Beginning of the list (until c) with unpatched code:
</I>&gt;<i> 
</I>&gt;<i> [<A HREF="https://www.mageia.org/mailman/listinfo/mageia-sysadm">pterjan at chopin</A> cauldron-auto]$ for s in */*.spec; do perl
</I>&gt;<i> -mYouri::Package::RPM::Updater -e
</I>&gt;<i> &quot;Youri::Package::RPM::Updater-&gt;new()-&gt;update_from_spec('$s')&quot;
</I>&gt;<i> &gt;/dev/null 2&gt;&amp;1 ; svn diff $s | grep -q . || echo $s; done
</I>&gt;<i> CharLS/CharLS.spec
</I>&gt;<i> akonadi/akonadi.spec
</I>&gt;<i> alsa-oss/alsa-oss.spec
</I>&gt;<i> antlr3/antlr3.spec
</I>&gt;<i> avant-window-navigator/avant-window-navigator.spec
</I>&gt;<i> awn-extras-applets/awn-extras-applets.spec
</I>&gt;<i> axis14/axis14.spec
</I>&gt;<i> b43-tools/b43-tools.spec
</I>&gt;<i> barbecue/barbecue.spec
</I>&gt;<i> biew/biew.spec
</I>&gt;<i> cagibi/cagibi.spec
</I>&gt;<i> ceylon/ceylon.spec
</I>&gt;<i> cglib21/cglib21.spec
</I>&gt;<i> chmsee/chmsee.spec
</I>&gt;<i> cnetworkmanager/cnetworkmanager.spec
</I>&gt;<i> create/create.spec
</I>&gt;<i> cross-mipsel-gcc/cross-mipsel-gcc.spec
</I>&gt;<i> cross-ppc-binutils/cross-ppc-binutils.spec
</I>&gt;<i> 
</I>&gt;<i> Same after adding defined():
</I>&gt;<i> 
</I>&gt;<i> [<A HREF="https://www.mageia.org/mailman/listinfo/mageia-sysadm">pterjan at chopin</A> cauldron-auto]$ for s in */*.spec; do perl
</I>&gt;<i> -mYouri::Package::RPM::Updater -e
</I>&gt;<i> &quot;Youri::Package::RPM::Updater-&gt;new()-&gt;update_from_spec('$s')&quot;
</I>&gt;<i> &gt;/dev/null 2&gt;&amp;1 ; svn diff $s | grep -q . || echo $s; done
</I>&gt;<i> alsa-oss/alsa-oss.spec
</I>&gt;<i> antlr3/antlr3.spec
</I>&gt;<i> axis14/axis14.spec
</I>&gt;<i> b43-tools/b43-tools.spec
</I>&gt;<i> biew/biew.spec
</I>&gt;<i> chmsee/chmsee.spec
</I>&gt;<i> cross-mipsel-gcc/cross-mipsel-gcc.spec
</I>&gt;<i> cross-ppc-binutils/cross-ppc-binutils.spec
</I>
Most of them seems to have a release like this :

  Release:	%mkrel 0.7.git%{git_commit_date}

or :

  %define something %mkrel 7
  Release: %something

(with %something other than %release or %rel)

Maybe we can change those packages to always have a %rel or %release
macro defined for the part that needs to be bumped in case of rebuild ? 

For b43-tools this would be :

Index: SPECS/b43-tools.spec
===================================================================
--- SPECS/b43-tools.spec        (revision 40891)
+++ SPECS/b43-tools.spec        (working copy)
@@ -3,10 +3,11 @@
 %define git_commit 8dc01d7b658dc04c5c500640854c6dba547a3118
 %define git_commit_date 20090125
 
+%define rel 7
 
 Name:          b43-tools
 Version:       0
-Release:       %mkrel 0.7.git%{git_commit_date}
+Release:       %mkrel 0.%{rel}.git%{git_commit_date}
 Summary:       Tools for the Broadcom 43xx series WLAN chip
 Group:         System/Configuration/Networking
 # assembler &#8212; GPLv2


</PRE>


<!--endarticle-->
    <HR>
    <P><UL>
        <!--threads-->
	<LI>Previous message: <A HREF="004884.html">[Mageia-sysadm] Mass rebuild
</A></li>
	<LI>Next message: <A HREF="004888.html">[Mageia-sysadm] Mass rebuild
</A></li>
         <LI> <B>Messages sorted by:</B> 
              <a href="date.html#4886">[ date ]</a>
              <a href="thread.html#4886">[ thread ]</a>
              <a href="subject.html#4886">[ subject ]</a>
              <a href="author.html#4886">[ author ]</a>
         </LI>
       </UL>

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