From 1be510f9529cb082f802408b472a77d074b394c0 Mon Sep 17 00:00:00 2001 From: Nicolas Vigier Date: Sun, 14 Apr 2013 13:46:12 +0000 Subject: Add zarb MLs html archives --- zarb-ml/mageia-dev/2012-January/010972.html | 125 ++++++++++++++++++++++++++++ 1 file changed, 125 insertions(+) create mode 100644 zarb-ml/mageia-dev/2012-January/010972.html (limited to 'zarb-ml/mageia-dev/2012-January/010972.html') 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 @@ + + + + [Mageia-dev] RFC: task-obsolete and README.*.urpmi enhancement + + + + + + + + + +

[Mageia-dev] RFC: task-obsolete and README.*.urpmi enhancement

+ Luc Menut + lmenut at free.fr +
+ Thu Jan 5 00:28:25 CET 2012 +

+
+ +
Le 04/01/2012 20:26, Anssi Hannula a écrit :
+> On 04.01.2012 17:53, Luc Menut wrote:
+[...]
+>> 1) add support for optional README.*.urpmi (%ghost in spec):
+>> >  This will allow to build this README.*.urpmi at install time in %pre,
+>> >  %post or %trigger only when it's necessary.
+>> >  One use case from the recent past in my mind:
+>> >  we have no way to inform users that still use nspluginwrapper + i586
+>> >  flashplayer on x86_64 (and only them), that this is now deprecated and
+>> >  they should replace the i586 by the x86_64 flashplayer,
+>> >  https://bugs.mageia.org/show_bug.cgi?id=2146#c22
+>> >  https://bugs.mageia.org/show_bug.cgi?id=2146#c25
+> This change seems reasonable.
+>
+>> >  2) handle README.*.(obsolete|deprecated).urpmi
+[...]
+> I don't understand the need for this one, isn't this just the same as
+> README.urpmi?
+
+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
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+

+ +
+More information about the Mageia-dev +mailing list
+ -- cgit v1.2.1