diff options
Diffstat (limited to 'zarb-ml/mageia-dev/2012-January/010972.html')
-rw-r--r-- | zarb-ml/mageia-dev/2012-January/010972.html | 125 |
1 files changed, 125 insertions, 0 deletions
diff --git a/zarb-ml/mageia-dev/2012-January/010972.html b/zarb-ml/mageia-dev/2012-January/010972.html new file mode 100644 index 000000000..84ecbdeca --- /dev/null +++ b/zarb-ml/mageia-dev/2012-January/010972.html @@ -0,0 +1,125 @@ +<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 3.2//EN"> +<HTML> + <HEAD> + <TITLE> [Mageia-dev] RFC: task-obsolete and README.*.urpmi enhancement + </TITLE> + <LINK REL="Index" HREF="index.html" > + <LINK REL="made" HREF="mailto:mageia-dev%40mageia.org?Subject=Re%3A%20%5BMageia-dev%5D%20RFC%3A%20task-obsolete%20and%20README.%2A.urpmi%20enhancement&In-Reply-To=%3C4F04E099.9030103%40free.fr%3E"> + <META NAME="robots" CONTENT="index,nofollow"> + <META http-equiv="Content-Type" content="text/html; charset=us-ascii"> + <LINK REL="Previous" HREF="010960.html"> + <LINK REL="Next" HREF="010951.html"> + </HEAD> + <BODY BGCOLOR="#ffffff"> + <H1>[Mageia-dev] RFC: task-obsolete and README.*.urpmi enhancement</H1> + <B>Luc Menut</B> + <A HREF="mailto:mageia-dev%40mageia.org?Subject=Re%3A%20%5BMageia-dev%5D%20RFC%3A%20task-obsolete%20and%20README.%2A.urpmi%20enhancement&In-Reply-To=%3C4F04E099.9030103%40free.fr%3E" + TITLE="[Mageia-dev] RFC: task-obsolete and README.*.urpmi enhancement">lmenut at free.fr + </A><BR> + <I>Thu Jan 5 00:28:25 CET 2012</I> + <P><UL> + <LI>Previous message: <A HREF="010960.html">[Mageia-dev] RFC: task-obsolete and README.*.urpmi enhancement +</A></li> + <LI>Next message: <A HREF="010951.html">[Mageia-dev] (likely Quick) meeting tonight +</A></li> + <LI> <B>Messages sorted by:</B> + <a href="date.html#10972">[ date ]</a> + <a href="thread.html#10972">[ thread ]</a> + <a href="subject.html#10972">[ subject ]</a> + <a href="author.html#10972">[ author ]</a> + </LI> + </UL> + <HR> +<!--beginarticle--> +<PRE>Le 04/01/2012 20:26, Anssi Hannula a écrit : +><i> On 04.01.2012 17:53, Luc Menut wrote: +</I>[...] +>><i> 1) add support for optional README.*.urpmi (%ghost in spec): +</I>>><i> > This will allow to build this README.*.urpmi at install time in %pre, +</I>>><i> > %post or %trigger only when it's necessary. +</I>>><i> > One use case from the recent past in my mind: +</I>>><i> > we have no way to inform users that still use nspluginwrapper + i586 +</I>>><i> > flashplayer on x86_64 (and only them), that this is now deprecated and +</I>>><i> > they should replace the i586 by the x86_64 flashplayer, +</I>>><i> > <A HREF="https://bugs.mageia.org/show_bug.cgi?id=2146#c22">https://bugs.mageia.org/show_bug.cgi?id=2146#c22</A> +</I>>><i> > <A HREF="https://bugs.mageia.org/show_bug.cgi?id=2146#c25">https://bugs.mageia.org/show_bug.cgi?id=2146#c25</A> +</I>><i> This change seems reasonable. +</I>><i> +</I>>><i> > 2) handle README.*.(obsolete|deprecated).urpmi +</I>[...] +><i> I don't understand the need for this one, isn't this just the same as +</I>><i> README.urpmi? +</I> +You are right, we don't need this part; each trigger can add its message +in task-obsolete/README.urpmi. + +we just need the following patch to handle %ghost README.urpmi : + +Index: urpm/install.pm +=================================================================== +--- urpm/install.pm (revision 2572) ++++ urpm/install.pm (working copy) +@@ -109,6 +109,7 @@ + + foreach my $file ($pkg->files) { + my ($kind) = $file =~ m!/README([^/]*)\.urpmi$! or next; ++ -r $file or next; + my $valid; + if ($kind eq '') { + $valid = 1; + + + +-- +Luc Menut +</PRE> + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +<!--endarticle--> + <HR> + <P><UL> + <!--threads--> + <LI>Previous message: <A HREF="010960.html">[Mageia-dev] RFC: task-obsolete and README.*.urpmi enhancement +</A></li> + <LI>Next message: <A HREF="010951.html">[Mageia-dev] (likely Quick) meeting tonight +</A></li> + <LI> <B>Messages sorted by:</B> + <a href="date.html#10972">[ date ]</a> + <a href="thread.html#10972">[ thread ]</a> + <a href="subject.html#10972">[ subject ]</a> + <a href="author.html#10972">[ 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> |