PaulHowarth/Blog/2015-04-12

Sunday 12th April 2015

Fedora Project

  • Updated perl-Tree-DAG_Node to 1.26 in Rawhide:

    • Fix bug in string2hashref(), which failed on some strings, such as {a => 'b, c'}

    • Add t/string2hash.t to test new code

Local Packages

  • Updated GeoIP-GeoLite-data to April 2015 databases, and added a %preun script to remove the GeoIP.dat symlink if the package is uninstalled:

  • %preun
    # If the package is being uninstalled (rather than upgraded), we remove
    # the GeoIP.dat symlink, provided that it points to GeoLiteCountry.dat;
    # rpm will then be able to remove the %%{_datadir}/GeoIP directory
    if [ $1 = 0 ]; then
            if [ -h %{_datadir}/GeoIP/GeoIP.dat ]; then
                    geoipdat=`readlink %{_datadir}/GeoIP/GeoIP.dat`
                    if [ "$geoipdat" = "GeoLiteCountry.dat" ]; then
                            rm -f %{_datadir}/GeoIP/GeoIP.dat
                    fi
            fi
    fi
    exit 0
  • Updated perl-Mouse to 2.4.2:

    • Fixed #40: 'use strict' not enabled when 'use 5.010' follows 'use Mouse'

    • Fixed #39: New warnings in Perl 5.21.x: redundant arguments for sprintf

    • Fixed #38: Avoid warnings introduced in Perl 5.21.x

    • Fixed #36: Excess dependency on Test::Exception::LessClever

  • Updated perl-Tree-DAG_Node to 1.26 as per the Fedora version


Recent