summaryrefslogtreecommitdiffstats
path: root/zarb-ml/mageia-sysadm/2012-December/004888.html
diff options
context:
space:
mode:
Diffstat (limited to 'zarb-ml/mageia-sysadm/2012-December/004888.html')
-rw-r--r--zarb-ml/mageia-sysadm/2012-December/004888.html191
1 files changed, 191 insertions, 0 deletions
diff --git a/zarb-ml/mageia-sysadm/2012-December/004888.html b/zarb-ml/mageia-sysadm/2012-December/004888.html
new file mode 100644
index 000000000..099a1090b
--- /dev/null
+++ b/zarb-ml/mageia-sysadm/2012-December/004888.html
@@ -0,0 +1,191 @@
+<!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=%3CCA%2BCX%2BbjHMV6YUnCoeg7JAvzcG6zeSvGf4dPRLwADSju7L%3DOxGQ%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="004886.html">
+ <LINK REL="Next" HREF="004889.html">
+ </HEAD>
+ <BODY BGCOLOR="#ffffff">
+ <H1>[Mageia-sysadm] Mass rebuild</H1>
+ <B>Pascal Terjan</B>
+ <A HREF="mailto:mageia-sysadm%40mageia.org?Subject=Re%3A%20%5BMageia-sysadm%5D%20Mass%20rebuild&In-Reply-To=%3CCA%2BCX%2BbjHMV6YUnCoeg7JAvzcG6zeSvGf4dPRLwADSju7L%3DOxGQ%40mail.gmail.com%3E"
+ TITLE="[Mageia-sysadm] Mass rebuild">pterjan at gmail.com
+ </A><BR>
+ <I>Thu Dec 6 14:26:29 CET 2012</I>
+ <P><UL>
+ <LI>Previous message: <A HREF="004886.html">[Mageia-sysadm] Mass rebuild
+</A></li>
+ <LI>Next message: <A HREF="004889.html">[Mageia-sysadm] Mass rebuild
+</A></li>
+ <LI> <B>Messages sorted by:</B>
+ <a href="date.html#4888">[ date ]</a>
+ <a href="thread.html#4888">[ thread ]</a>
+ <a href="subject.html#4888">[ subject ]</a>
+ <a href="author.html#4888">[ author ]</a>
+ </LI>
+ </UL>
+ <HR>
+<!--beginarticle-->
+<PRE>On Thu, Dec 6, 2012 at 12:59 PM, nicolas vigier &lt;<A HREF="https://www.mageia.org/mailman/listinfo/mageia-sysadm">boklm at mars-attacks.org</A>&gt; wrote:
+&gt;<i> On Wed, 05 Dec 2012, Pascal Terjan wrote:
+</I>&gt;<i>
+</I>&gt;&gt;<i>
+</I>&gt;&gt;<i> I am testing it, there are not that many failing but I guess that will
+</I>&gt;&gt;<i> be over a hundred so it would be good to test in the code if it
+</I>&gt;&gt;<i> succeeded
+</I>&gt;&gt;<i>
+</I>&gt;&gt;<i> Good news is that several of them does not seem to have ever been
+</I>&gt;&gt;<i> uploaded so they don't matter
+</I>&gt;&gt;<i>
+</I>&gt;&gt;<i> Some of them have release %mkrel 0 and the code fails to handle that
+</I>&gt;&gt;<i> but this should be easy to fix (Unable to extract release number from
+</I>&gt;&gt;<i> value '0'), that would fix a lot of the ones in the list
+</I>&gt;&gt;<i>
+</I>&gt;&gt;<i> croak &quot;Unable to extract release number from value '$value'&quot;
+</I>&gt;&gt;<i> unless $number;
+</I>&gt;&gt;<i>
+</I>&gt;&gt;<i> Changing it to unless defined($number); should do the trick
+</I>&gt;&gt;<i>
+</I>&gt;&gt;<i> Beginning of the list (until c) with unpatched code:
+</I>&gt;&gt;<i>
+</I>&gt;&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;&gt;<i> -mYouri::Package::RPM::Updater -e
+</I>&gt;&gt;<i> &quot;Youri::Package::RPM::Updater-&gt;new()-&gt;update_from_spec('$s')&quot;
+</I>&gt;&gt;<i> &gt;/dev/null 2&gt;&amp;1 ; svn diff $s | grep -q . || echo $s; done
+</I>&gt;&gt;<i> CharLS/CharLS.spec
+</I>&gt;&gt;<i> akonadi/akonadi.spec
+</I>&gt;&gt;<i> alsa-oss/alsa-oss.spec
+</I>&gt;&gt;<i> antlr3/antlr3.spec
+</I>&gt;&gt;<i> avant-window-navigator/avant-window-navigator.spec
+</I>&gt;&gt;<i> awn-extras-applets/awn-extras-applets.spec
+</I>&gt;&gt;<i> axis14/axis14.spec
+</I>&gt;&gt;<i> b43-tools/b43-tools.spec
+</I>&gt;&gt;<i> barbecue/barbecue.spec
+</I>&gt;&gt;<i> biew/biew.spec
+</I>&gt;&gt;<i> cagibi/cagibi.spec
+</I>&gt;&gt;<i> ceylon/ceylon.spec
+</I>&gt;&gt;<i> cglib21/cglib21.spec
+</I>&gt;&gt;<i> chmsee/chmsee.spec
+</I>&gt;&gt;<i> cnetworkmanager/cnetworkmanager.spec
+</I>&gt;&gt;<i> create/create.spec
+</I>&gt;&gt;<i> cross-mipsel-gcc/cross-mipsel-gcc.spec
+</I>&gt;&gt;<i> cross-ppc-binutils/cross-ppc-binutils.spec
+</I>&gt;&gt;<i>
+</I>&gt;&gt;<i> Same after adding defined():
+</I>&gt;&gt;<i>
+</I>&gt;&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;&gt;<i> -mYouri::Package::RPM::Updater -e
+</I>&gt;&gt;<i> &quot;Youri::Package::RPM::Updater-&gt;new()-&gt;update_from_spec('$s')&quot;
+</I>&gt;&gt;<i> &gt;/dev/null 2&gt;&amp;1 ; svn diff $s | grep -q . || echo $s; done
+</I>&gt;&gt;<i> alsa-oss/alsa-oss.spec
+</I>&gt;&gt;<i> antlr3/antlr3.spec
+</I>&gt;&gt;<i> axis14/axis14.spec
+</I>&gt;&gt;<i> b43-tools/b43-tools.spec
+</I>&gt;&gt;<i> biew/biew.spec
+</I>&gt;&gt;<i> chmsee/chmsee.spec
+</I>&gt;&gt;<i> cross-mipsel-gcc/cross-mipsel-gcc.spec
+</I>&gt;&gt;<i> cross-ppc-binutils/cross-ppc-binutils.spec
+</I>&gt;<i>
+</I>&gt;<i> Most of them seems to have a release like this :
+</I>&gt;<i>
+</I>&gt;<i> Release: %mkrel 0.7.git%{git_commit_date}
+</I>&gt;<i>
+</I>&gt;<i> or :
+</I>&gt;<i>
+</I>&gt;<i> %define something %mkrel 7
+</I>&gt;<i> Release: %something
+</I>&gt;<i>
+</I>&gt;<i> (with %something other than %release or %rel)
+</I>&gt;<i>
+</I>&gt;<i> Maybe we can change those packages to always have a %rel or %release
+</I>&gt;<i> macro defined for the part that needs to be bumped in case of rebuild ?
+</I>&gt;<i>
+</I>&gt;<i> For b43-tools this would be :
+</I>&gt;<i>
+</I>&gt;<i> Index: SPECS/b43-tools.spec
+</I>&gt;<i> ===================================================================
+</I>&gt;<i> --- SPECS/b43-tools.spec (revision 40891)
+</I>&gt;<i> +++ SPECS/b43-tools.spec (working copy)
+</I>&gt;<i> @@ -3,10 +3,11 @@
+</I>&gt;<i> %define git_commit 8dc01d7b658dc04c5c500640854c6dba547a3118
+</I>&gt;<i> %define git_commit_date 20090125
+</I>&gt;<i>
+</I>&gt;<i> +%define rel 7
+</I>&gt;<i>
+</I>&gt;<i> Name: b43-tools
+</I>&gt;<i> Version: 0
+</I>&gt;<i> -Release: %mkrel 0.7.git%{git_commit_date}
+</I>&gt;<i> +Release: %mkrel 0.%{rel}.git%{git_commit_date}
+</I>&gt;<i> Summary: Tools for the Broadcom 43xx series WLAN chip
+</I>&gt;<i> Group: System/Configuration/Networking
+</I>&gt;<i> # assembler &#8212; GPLv2
+</I>
+Some have different Release scheme dependinf if it is a snapshot or not:
+
+%if %beta
+Release: %mkrel 0.%{pre}
+%else
+Release: %mkrel 1
+%endif
+
+But same thing seems to work:
+
+[<A HREF="https://www.mageia.org/mailman/listinfo/mageia-sysadm">pterjan at chopin</A> cauldron-auto]$ svn diff alsa-oss/alsa-oss.spec
+Index: alsa-oss/alsa-oss.spec
+===================================================================
+--- alsa-oss/alsa-oss.spec (revision 327057)
++++ alsa-oss/alsa-oss.spec (working copy)
+@@ -4,6 +4,7 @@
+
+ %define lib_major 0
+ %define pre rc4
++%define rel 1
+
+ %define lib_name %mklibname %name %lib_major
+ %define develname %mklibname -d %name
+@@ -17,9 +18,9 @@
+ Name: %name
+ Version: %version
+ %if %beta
+-Release: %mkrel 0.%{pre}
++Release: %mkrel 0.%{pre}.%rel
+ %else
+-Release: %mkrel 1
++Release: %mkrel %rel
+ %endif
+ Epoch: 1
+ Source0: <A HREF="ftp://ftp.alsa-project.org/pub/oss-lib/%fname.tar.bz2">ftp://ftp.alsa-project.org/pub/oss-lib/%fname.tar.bz2</A>
+
+Was properly updated to have %define rel 2 but good news is that this
+package is not on the mirrors :)
+
+I will publish a (quite short) list of packages that can't be updated
+and are on the mirrors
+</PRE>
+
+
+<!--endarticle-->
+ <HR>
+ <P><UL>
+ <!--threads-->
+ <LI>Previous message: <A HREF="004886.html">[Mageia-sysadm] Mass rebuild
+</A></li>
+ <LI>Next message: <A HREF="004889.html">[Mageia-sysadm] Mass rebuild
+</A></li>
+ <LI> <B>Messages sorted by:</B>
+ <a href="date.html#4888">[ date ]</a>
+ <a href="thread.html#4888">[ thread ]</a>
+ <a href="subject.html#4888">[ subject ]</a>
+ <a href="author.html#4888">[ 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>