PaulHowarth/Blog/2010-02-22

Monday 22nd February 2010

Fedora Project

  • Updated perl-Sysadm-Install in Rawhide to 0.34 (documentation update and fixes for Windows), adding buildreqs and reqs for perl(Config), perl(Encode), perl(HTTP::Request) and perl(HTTP::Status) for completeness

Local Packages

  • New package libtidyp (0.99), a fork of tidy needed for HTML::Tidy 1.50

  • Updated perl-HTML-Tidy to 1.50 and managed to patch around the issues that had prevented HTML::Tidy > 1.06 building successfully with perl releases prior to 5.8.5, albeit having to skip the unicode test with perl 5.8.0; I was thus able to drop the perl-HTML-Tidy version 1.06 package that I'd retained for older distributions

  • Updated perl-MLBBM to 2.02 (new tests added, distribution upgraded); the test suite failed on some old distributions:

  • t/storable.t ......... ok
    You tried to plan twice at t/storable_dbfile.t line 10.
    # Looks like your test exited with 2 before it could output anything.
    t/storable_dbfile.t .. 
    Dubious, test returned 2 (wstat 512, 0x200)
  • This patch got it working again:
  • --- MLDBM-2.02/t/storable_dbfile.t      2007-10-11 18:36:56.000000000 +0100
    +++ MLDBM-2.02/t/storable_dbfile.t      2010-02-22 09:25:00.790737882 +0000
    @@ -4,13 +4,15 @@
     use MLDBM qw(DB_File Storable);
     use Data::Dumper;
     use strict;
    -use Test::More tests => 9;
    +use Test::More;
    +
    +eval { require Storable; require DB_File; };
    +if ($@) {
    +  plan skip_all => "Optional module (DB_File,Storable) not installed";
    +} else {
    +  plan tests => 9;
    +};
     
    -plan skip_all => "Optional module (DB_File,Storable) not installed"
    -  unless eval {
    -               require Storable;
    -               require DB_File;
    -              };
     tie my %o, 'MLDBM', 'testmldbm', O_CREAT|O_RDWR, 0640 or die $!;
     
     my $c_scalar = 'c';
  • I reported the problem and submitted the patch upstream in CPAN RT#54911

  • Updated perl-Module-CoreList to 2.26 (updated for 5.11.5)

  • Rebuilt xv and xxdiff to fix dist tag for devel branch builds


Recent