Wednesday 7th September 2011
Fedora Project
Updated perl-Class-Load to 0.10 in F-16 and Rawhide, adding new dependencies perl(Package::Stash) ≥ 0.32 and perl(Try::Tiny):
Fix is_class_loaded to ignore $ISA (but still look for @ISA) when trying to determine whether a class is loaded
- Lots of internals clean-up
Updated perl-CPAN-Meta-YAML to 0.004 in F-16 and Rawhide:
Generated from ADAMK/YAML-Tiny-1.50.tar.gz
There were more packaging changes here too, so I added a build requirement of perl(Test::Version) for a new release test and I needed to add patches for EPEL support to handle building with Test::More < 0.88, ExtUtils::MakeMaker < 6.30, and Scalar::Util < 0.18, as the package had inherited a bug from YAML::Tiny that broke it with old versions of Scalar::Util:
t/01_compile...............ok t/02_basic................. # Failed test (t/lib/Test.pm at line 253) # got: 'Undefined subroutine &CPAN::Meta::YAML::refaddr called at /builddir/build/BUILD/CPAN-Meta-YAML-0.004/blib/lib/CPAN/Meta/YAML.pm line 470. # ' # expected: '' # Failed test (t/lib/Test.pm at line 253) # got: 'Undefined subroutine &CPAN::Meta::YAML::refaddr called at /builddir/build/BUILD/CPAN-Meta-YAML-0.004/blib/lib/CPAN/Meta/YAML.pm line 470. # ' # expected: '' # Failed test (t/lib/Test.pm at line 253) # got: 'Undefined subroutine &CPAN::Meta::YAML::refaddr called at /builddir/build/BUILD/CPAN-Meta-YAML-0.004/blib/lib/CPAN/Meta/YAML.pm line 470. # ' # expected: '' ... etc.
I'd already fixed this bug in my local perl-YAML-Tiny package but had again neglected to send the fix upstream, so I rectified that by updating CPAN RT#53490 with this patch:
--- YAML-Tiny-1.48/lib/YAML/Tiny.pm.orig 2011-01-31 23:59:23.000000000 +0000 +++ YAML-Tiny-1.48/lib/YAML/Tiny.pm 2011-02-01 14:32:42.886958633 +0000 @@ -614,7 +614,7 @@ require Scalar::Util; }; if ( $@ or $Scalar::Util::VERSION < 1.18 ) { - eval <<'END_PERL' if $@; + eval <<'END_PERL'; # Scalar::Util failed to load or too old sub refaddr { my $pkg = ref($_[0]) or return undef;
Updated perl-Module-Metadata to 1.000007 in Rawhide:
- Apply VMS fixes backported from blead
Local Packages
Updated GeoIP to fix the timestamps on the autotools-generated files so that our hacked libtool script doesn't get overwritten by re-running config.status, resulting in an RPATH of /usr/lib64 getting added to the library
Updated libssh2 to 1.3.0:
- Added custom callbacks for performing low level socket I/O
sftp_read: advance offset correctly for buffered copies
libssh2_sftp_seek64: flush packetlist and buffered data
_libssh2_packet_add: adjust window size when truncating
sftp_read: a short read is not end of file
Updated perl-CPAN-Meta-YAML to 0.004 as per the Fedora version
Updated perl-Module-Metadata to 1.000007 as per the Fedora version
Updated perl-Moose to 2.0205:
The Array and Hash native traits now provide a "shallow_clone" method, which will return a reference to a new container with the same contents as the attribute's reference
Specifying an invalid value in a hashref 'handles' value now throws a sensible error
When specifying an attribute trait, passing options for the trait besides -alias or -excludes caused a warning; however, passing other options is totally valid when using MooseX::Role::Parameterized
Allow regexp objects in duck_type constraints (to bring this in line with the Object constraint)
Updated perl-Text-CSV_XS to 0.85:
NAME / DISTNAME in Makefile.PL
More cross-checks for META data