[Mageia-sysadm] Local changes on mga-youri-submit on valstar

nicolas vigier boklm at mars-attacks.org
Mon Jan 28 12:57:10 CET 2013


Hello,

Before updating mga-youri-submit package on valstar, I checked if we
have local changes on files from this package.

And we have the following changes which are not on svn, on 2 files :

--- /usr/share/mga-youri-submit/lib/Youri/Submit/Check/Recency.pm       2012-07-30 17:55:43.629760689 +0200
+++ usr/share/mga-youri-submit/lib/Youri/Submit/Check/Recency.pm        2013-01-28 12:48:35.911546824 +0100
@@ -1,4 +1,4 @@
-# $Id: Recency.pm 224793 2007-07-08 02:44:48Z spuk $
+# $Id: Recency.pm 3071 2012-02-26 14:45:02Z pterjan $
 package Youri::Submit::Check::Recency;
 
 =head1 NAME
@@ -29,7 +29,7 @@
         push(
             @errors,
             "Current or newer revision(s) already exists in $section for $target: " .
-                join(', ', map { $_->get_revision } @revisions)
+                join(', ', @revisions)
         );
     }
 
@@ -49,7 +49,7 @@
             push(
                 @errors,
                 "Current or newer revision(s) already exists in $section for $target: " .
-                    join(', ', map { $_->get_revision } @revisions)
+                    join(', ', @default_revisions)
             );
         }
         $define->{section} = $defined_section;

--- /usr/share/mga-youri-submit/bin/youri-submit        2012-07-30 18:02:31.681362361 +0200
+++ usr/share/mga-youri-submit/bin/youri-submit 2013-01-28 12:48:35.911546824 +0100
@@ -337,7 +337,7 @@
                    $target,
                    $config->get_arg('define')
                );
-               push(@{$errors{$package->get_name ."-" . $package->get_revision}}, @errors) if $errors[0];
+               push(@{$errors{$package}}, @errors) if $errors[0];
            }
        }
     }


Should we keep those changes ?



More information about the Mageia-sysadm mailing list