Thursday 27th January 2011
Fedora Project
Updated perl-JSON in Rawhide to 2.50 (Bug #665621), necessary to avoid conflicts with the new perl-JSON-PP package, which was bundled with perl-JSON in previous releases; I also added new provides/requires filtering to remove references to internal-only package names in the rpm metadata
New package perl-CPAN-Meta-YAML (0.003) built for Rawhide, F-14, F-13 and EL-6; EL-5 and EL-4 builds will have to wait for the availability of perl-Test-CPAN-Meta and perl-Parse-CPAN-Meta, which will be around a month
New package perl-JSON-PP (2.27104) built for Rawhide only because it conflicts with perl-JSON < 2.50 as found in all older releases
Importing this package proved to be tricky because there's currently Bug #619979 affecting fedpkg whereby it crashes if there are no branches other than master present:
$ fedpkg new-sources JSON-PP-2.27104.tar.gz Traceback (most recent call last): File "/usr/bin/fedpkg", line 1250, in <module> args.command(args) File "/usr/bin/fedpkg", line 607, in new_sources mymodule = pyfedpkg.PackageModule(args.path) File "/usr/lib/python2.7/site-packages/pyfedpkg/__init__.py", line 1077, in __init__ self.distval = self._findmasterbranch() File "/usr/lib/python2.7/site-packages/pyfedpkg/__init__.py", line 1022, in _findmasterbranch return(int(fedoras[-1].strip('f')) + 1) IndexError: list index out of range
- Fortunately, Petr Pisar came up with a manual way of doing the import without polluting the repository with unwanted branches:
$ PACKAGE_NAME=perl-JSON-PP $ SOURCE_FILE_NAME=JSON-PP-2.27104.tar.gz $ echo "/${SOURCE_FILE_NAME}" > .gitignore $ md5sum "${SOURCE_FILE_NAME}" > sources $ MD5_SUM_OF_SOURCE_FILE=$(cut -d" " -f1 < sources) $ curl -k --cert ~/.fedora.cert \ -F "name=${PACKAGE_NAME}" \ -F "md5sum=${MD5_SUM_OF_SOURCE_FILE}" \ -F "file=@${SOURCE_FILE_NAME}" \ https://pkgs.fedoraproject.org/repo/pkgs/upload.cgi $ git add .gitignore sources ${PACKAGE_NAME}.spec $ git commit $ git push $ koji build dist-f15 \ "git://pkgs.fedoraproject.org/${PACKAGE_NAME}#$(<.git/refs/heads/master)"
New package perl-Perl-OSType (1.002) built for Rawhide, F-14, F-13 and EL-6; EL-5 and EL-4 builds will have to wait for the availability of perl-Test-CPAN-Meta, perl-Test-Portability-Files and perl-Parse-CPAN-Meta, which will be around a month
Built perl-Data-OptList (0.101) for EPEL-4 now that perl-Params-Util has reached EPEL-4 stable
Built perl-Package-Generator (0.100) for EPEL-4 now that perl-Params-Util has reached EPEL-4 stable
Local Packages
New package perl-JSON (2.50)
Updated perl-Class-Inspector to 1.25 and built it to install to Perl core directories rather than Perl vendor directories:
Update to Module::Install::DSL 1.00
- Update copyright year
Updated perl-JSON-PP to conflict with perl-JSON < 2.50 (Bug #672764)
Updated perl-Module-Build to 0.3623:
Fixed bugs involving bootstrapping configure_requires prerequisites on older CPANPLUS clients or for either CPAN/CPANPLUS when using the compatibility Makefile.PL
Added diagnostic output when configure_requires are missing for the benefit of users doing manual installation
Updated perl-PPIx-Regexp to 0.017 and built it to install to Perl core directories rather than Perl vendor directories:
Add the /a modifier to PPI::Regexp::Token::Modifiers, legal only in the (?:...) construction
- When parsing an interpolation from a replacement string (rather than a regular expression), take subscripts at face value rather than trying to disambiguate them from quantifiers and character classes, which they can't be in this context