Hello community, here is the log from the commit of package perl-IRI for openSUSE:Factory checked in at 2019-09-05 12:34:31 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/perl-IRI (Old) and /work/SRC/openSUSE:Factory/.perl-IRI.new.7948 (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "perl-IRI" Thu Sep 5 12:34:31 2019 rev:5 rq:727957 version:0.009 Changes: -------- --- /work/SRC/openSUSE:Factory/perl-IRI/perl-IRI.changes 2017-10-03 23:18:46.993767696 +0200 +++ /work/SRC/openSUSE:Factory/.perl-IRI.new.7948/perl-IRI.changes 2019-09-05 12:34:34.347570330 +0200 @@ -1,0 +2,26 @@ +Fri Aug 30 18:45:09 UTC 2019 - Tina Mueller <[email protected]> + +- Remove outdated patch fix-package.diff (also not needed anymore) + Remove manual fix for inc::Module::Install + +------------------------------------------------------------------- +Wed Apr 3 07:04:10 UTC 2019 - Stephan Kulow <[email protected]> + +- updated to 0.009 + see /usr/share/doc/packages/perl-IRI/Changes + + 0.009 2018-10-30 + + - (Update) Reduce Minimum Perl Version to 5.10 (#12 from @tehmoth). + + 0.008 2017-08-06 + + - (Update) Fix typo in regex rule causing problems parsing codepoints + beyond BMP (#11). + + 0.007 2017-04-03 + + - (Addition) Add query_form accessor and set_query_param constructor (#4). + - (Update) Updated Makefile.PL for perl 5.26. + +------------------------------------------------------------------- Old: ---- IRI-0.006.tar.gz fix-package.diff New: ---- IRI-0.009.tar.gz ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ perl-IRI.spec ++++++ --- /var/tmp/diff_new_pack.A4sS0a/_old 2019-09-05 12:34:35.355570133 +0200 +++ /var/tmp/diff_new_pack.A4sS0a/_new 2019-09-05 12:34:35.359570132 +0200 @@ -1,7 +1,7 @@ # # spec file for package perl-IRI # -# Copyright (c) 2017 SUSE LINUX GmbH, Nuernberg, Germany. +# Copyright (c) 2019 SUSE LINUX GmbH, Nuernberg, Germany. # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed @@ -12,22 +12,20 @@ # license that conforms to the Open Source Definition (Version 1.9) # published by the Open Source Initiative. -# Please submit bugfixes or comments via http://bugs.opensuse.org/ +# Please submit bugfixes or comments via https://bugs.opensuse.org/ # Name: perl-IRI -Version: 0.006 +Version: 0.009 Release: 0 %define cpan_name IRI Summary: Internationalized Resource Identifiers -License: Artistic-1.0 or GPL-1.0+ +License: Artistic-1.0 OR GPL-1.0-or-later Group: Development/Libraries/Perl -Url: http://search.cpan.org/dist/IRI/ -#Source0: https://cpan.metacpan.org/authors/id/G/GW/GWILLIAMS/%{cpan_name}-0.008.tar.gz -Source0: IRI-0.006.tar.gz +Url: https://metacpan.org/release/%{cpan_name} +Source0: https://cpan.metacpan.org/authors/id/G/GW/GWILLIAMS/%{cpan_name}-%{version}.tar.gz Source1: cpanspec.yml -Patch0: fix-package.diff BuildArch: noarch BuildRoot: %{_tmppath}/%{name}-%{version}-build BuildRequires: perl @@ -51,17 +49,13 @@ %prep %setup -q -n %{cpan_name}-%{version} -%patch0 -p1 -# MANUAL BEGIN -sed -i -e 's/use inc::Module::Install;/use lib q[.];\nuse inc::Module::Install;/' Makefile.PL -# MANUAL END %build -%{__perl} Makefile.PL INSTALLDIRS=vendor -%{__make} %{?_smp_mflags} +PERL_USE_UNSAFE_INC=1 perl Makefile.PL INSTALLDIRS=vendor +make %{?_smp_mflags} %check -%{__make} test +make test %install %perl_make_install ++++++ IRI-0.006.tar.gz -> IRI-0.009.tar.gz ++++++ diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/IRI-0.006/Changes new/IRI-0.009/Changes --- old/IRI-0.006/Changes 2016-07-19 16:31:29.000000000 +0200 +++ new/IRI-0.009/Changes 2018-10-30 16:23:38.000000000 +0100 @@ -6,6 +6,20 @@ Bug tracker: <http://rt.cpan.org/Dist/Display.html?Queue=IRI> Maintainer: Gregory Todd Williams <mailto:[email protected]> +0.009 2018-10-30 + + - (Update) Reduce Minimum Perl Version to 5.10 (#12 from @tehmoth). + +0.008 2017-08-06 + + - (Update) Fix typo in regex rule causing problems parsing codepoints + beyond BMP (#11). + +0.007 2017-04-03 + + - (Addition) Add query_form accessor and set_query_param constructor (#4). + - (Update) Updated Makefile.PL for perl 5.26. + 0.006 2016-07-19 - (Update) Fix regular expression use of quantifiers (#8 from Karl diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/IRI-0.006/Changes.ttl new/IRI-0.009/Changes.ttl --- old/IRI-0.006/Changes.ttl 2016-07-19 16:28:22.000000000 +0200 +++ new/IRI-0.009/Changes.ttl 2018-10-30 16:23:01.000000000 +0100 @@ -15,6 +15,49 @@ . +<http://kasei.us/code/files/IRI-0.009.tar.gz> + dcterms:isVersionOf my:project ; + dcterms:replaces <http://kasei.us/code/files/IRI-0.008.tar.gz> ; + + doap:Version [ + doap:revision "0.009" ; + doap:created "2018-10-30" ; + ] ; + asc:changes [ + asc:update "Reduce Minimum Perl Version to 5.10 (#12 from @tehmoth)." ; + ] ; + . + + +<http://kasei.us/code/files/IRI-0.008.tar.gz> + dcterms:isVersionOf my:project ; + dcterms:replaces <http://kasei.us/code/files/IRI-0.007.tar.gz> ; + + doap:Version [ + doap:revision "0.008" ; + doap:created "2017-08-06" ; + ] ; + asc:changes [ + asc:update "Fix typo in regex rule causing problems parsing codepoints beyond BMP (#11)." ; + ] ; + . + + +<http://kasei.us/code/files/IRI-0.007.tar.gz> + dcterms:isVersionOf my:project ; + dcterms:replaces <http://kasei.us/code/files/IRI-0.006.tar.gz> ; + + doap:Version [ + doap:revision "0.007" ; + doap:created "2017-04-03" ; + ] ; + asc:changes [ + asc:addition "Add query_form accessor and set_query_param constructor (#4)." ; + asc:update "Updated Makefile.PL for perl 5.26." ; + ] ; + . + + <http://kasei.us/code/files/IRI-0.006.tar.gz> dcterms:isVersionOf my:project ; dcterms:replaces <http://kasei.us/code/files/IRI-0.005.tar.gz> ; diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/IRI-0.006/Changes.xml new/IRI-0.009/Changes.xml --- old/IRI-0.006/Changes.xml 2016-07-19 16:31:29.000000000 +0200 +++ new/IRI-0.009/Changes.xml 2018-10-30 16:23:38.000000000 +0100 @@ -1,53 +1,75 @@ <?xml version="1.0" encoding="utf-8"?> <rdf:RDF xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:dbug="http://ontologi.es/doap-bugs#" xmlns:dc="http://purl.org/dc/terms/" xmlns:dcs="http://ontologi.es/doap-changeset#" xmlns:doap="http://usefulinc.com/ns/doap#" xmlns:foaf="http://xmlns.com/foaf/0.1/" xmlns:rdfs="http://www.w3.org/2000/01/rdf-schema#"> -<rdf:Description rdf:nodeID="r1468938689r0"> - <doap:created>2016-07-19</doap:created> - <doap:revision>0.006</doap:revision> -</rdf:Description> -<rdf:Description xmlns:ns1="http://aaronland.info/ns/changefile/" rdf:nodeID="r1468938689r1"> - <ns1:update>Fix regular expression use of quantifiers (#8 from Karl Williamson).</ns1:update> -</rdf:Description> -<rdf:Description rdf:nodeID="r1468938689r10"> - <doap:created>2014-08-02</doap:created> - <doap:revision>0.001</doap:revision> -</rdf:Description> -<rdf:Description xmlns:ns1="http://aaronland.info/ns/changefile/" rdf:nodeID="r1468938689r11"> - <ns1:addition>First release.</ns1:addition> +<rdf:Description rdf:nodeID="r1540913018r0"> + <doap:created>2018-10-30</doap:created> + <doap:revision>0.009</doap:revision> </rdf:Description> -<rdf:Description rdf:nodeID="r1468938689r2"> - <doap:created>2016-04-04</doap:created> - <doap:revision>0.005</doap:revision> +<rdf:Description xmlns:ns1="http://aaronland.info/ns/changefile/" rdf:nodeID="r1540913018r1"> + <ns1:update>Reduce Minimum Perl Version to 5.10 (#12 from @tehmoth).</ns1:update> </rdf:Description> -<rdf:Description xmlns:ns1="http://aaronland.info/ns/changefile/" rdf:nodeID="r1468938689r3"> - <ns1:addition>Add ability to lazily parse IRI components.</ns1:addition> - <ns1:addition>Add cpanfile, with Module::Install deps (#5 from Alberto Simões).</ns1:addition> - <ns1:addition>Added Try::Tiny to list of build requirements (github issue #3).</ns1:addition> - <ns1:update>Improve performance of IRI component parsing.</ns1:update> - <ns1:update>Update POD coverage test to ignore private attributes (#6 from Alberto Simões).</ns1:update> - <ns1:update>Updated required version of Type::Tiny to 0.008 to support use of InstanceOf (#7 from Alexandr Ciornii).</ns1:update> -</rdf:Description> -<rdf:Description rdf:nodeID="r1468938689r4"> +<rdf:Description rdf:nodeID="r1540913018r10"> <doap:created>2014-09-25</doap:created> <doap:revision>0.004</doap:revision> </rdf:Description> -<rdf:Description xmlns:ns1="http://aaronland.info/ns/changefile/" rdf:nodeID="r1468938689r5"> +<rdf:Description xmlns:ns1="http://aaronland.info/ns/changefile/" rdf:nodeID="r1540913018r11"> <ns1:update>Changed IRI to use old-style VERSION declaration.</ns1:update> <ns1:update>Moved modules from Moose to Moo.</ns1:update> </rdf:Description> -<rdf:Description rdf:nodeID="r1468938689r6"> +<rdf:Description rdf:nodeID="r1540913018r12"> <doap:created>2014-08-11</doap:created> <doap:revision>0.003</doap:revision> </rdf:Description> -<rdf:Description xmlns:ns1="http://aaronland.info/ns/changefile/" rdf:nodeID="r1468938689r7"> +<rdf:Description xmlns:ns1="http://aaronland.info/ns/changefile/" rdf:nodeID="r1540913018r13"> <ns1:addition>Added coercion from Str to IRI.</ns1:addition> </rdf:Description> -<rdf:Description rdf:nodeID="r1468938689r8"> +<rdf:Description rdf:nodeID="r1540913018r14"> <doap:created>2014-08-09</doap:created> <doap:revision>0.002</doap:revision> </rdf:Description> -<rdf:Description xmlns:ns1="http://aaronland.info/ns/changefile/" rdf:nodeID="r1468938689r9"> +<rdf:Description xmlns:ns1="http://aaronland.info/ns/changefile/" rdf:nodeID="r1540913018r15"> <ns1:addition>Added as_string method.</ns1:addition> </rdf:Description> +<rdf:Description rdf:nodeID="r1540913018r16"> + <doap:created>2014-08-02</doap:created> + <doap:revision>0.001</doap:revision> +</rdf:Description> +<rdf:Description xmlns:ns1="http://aaronland.info/ns/changefile/" rdf:nodeID="r1540913018r17"> + <ns1:addition>First release.</ns1:addition> +</rdf:Description> +<rdf:Description rdf:nodeID="r1540913018r2"> + <doap:created>2017-08-06</doap:created> + <doap:revision>0.008</doap:revision> +</rdf:Description> +<rdf:Description xmlns:ns1="http://aaronland.info/ns/changefile/" rdf:nodeID="r1540913018r3"> + <ns1:update>Fix typo in regex rule causing problems parsing codepoints beyond BMP (#11).</ns1:update> +</rdf:Description> +<rdf:Description rdf:nodeID="r1540913018r4"> + <doap:created>2017-04-03</doap:created> + <doap:revision>0.007</doap:revision> +</rdf:Description> +<rdf:Description xmlns:ns1="http://aaronland.info/ns/changefile/" rdf:nodeID="r1540913018r5"> + <ns1:addition>Add query_form accessor and set_query_param constructor (#4).</ns1:addition> + <ns1:update>Updated Makefile.PL for perl 5.26.</ns1:update> +</rdf:Description> +<rdf:Description rdf:nodeID="r1540913018r6"> + <doap:created>2016-07-19</doap:created> + <doap:revision>0.006</doap:revision> +</rdf:Description> +<rdf:Description xmlns:ns1="http://aaronland.info/ns/changefile/" rdf:nodeID="r1540913018r7"> + <ns1:update>Fix regular expression use of quantifiers (#8 from Karl Williamson).</ns1:update> +</rdf:Description> +<rdf:Description rdf:nodeID="r1540913018r8"> + <doap:created>2016-04-04</doap:created> + <doap:revision>0.005</doap:revision> +</rdf:Description> +<rdf:Description xmlns:ns1="http://aaronland.info/ns/changefile/" rdf:nodeID="r1540913018r9"> + <ns1:addition>Add ability to lazily parse IRI components.</ns1:addition> + <ns1:addition>Add cpanfile, with Module::Install deps (#5 from Alberto Simões).</ns1:addition> + <ns1:addition>Added Try::Tiny to list of build requirements (github issue #3).</ns1:addition> + <ns1:update>Improve performance of IRI component parsing.</ns1:update> + <ns1:update>Update POD coverage test to ignore private attributes (#6 from Alberto Simões).</ns1:update> + <ns1:update>Updated required version of Type::Tiny to 0.008 to support use of InstanceOf (#7 from Alexandr Ciornii).</ns1:update> +</rdf:Description> <rdf:Description xmlns:ns1="http://purl.org/dc/elements/1.1/" rdf:about="file:///Users/greg/data/prog/git/perl-iri/Changes.ttl"> <ns1:description>Changes for IRI</ns1:description> <ns1:subject rdf:resource="http://purl.org/NET/cpan-uri/dist/IRI/project"/> @@ -62,39 +84,57 @@ <foaf:page rdf:resource="http://search.cpan.org/~gwilliams/"/> </rdf:Description> <rdf:Description xmlns:ns1="http://aaronland.info/ns/changefile/" rdf:about="http://kasei.us/code/files/IRI-0.001.tar.gz"> - <ns1:changes rdf:nodeID="r1468938689r11"/> + <ns1:changes rdf:nodeID="r1540913018r17"/> <dc:isVersionOf rdf:resource="http://purl.org/NET/cpan-uri/dist/IRI/project"/> - <doap:Version rdf:nodeID="r1468938689r10"/> + <doap:Version rdf:nodeID="r1540913018r16"/> </rdf:Description> <rdf:Description xmlns:ns1="http://aaronland.info/ns/changefile/" rdf:about="http://kasei.us/code/files/IRI-0.002.tar.gz"> - <ns1:changes rdf:nodeID="r1468938689r9"/> + <ns1:changes rdf:nodeID="r1540913018r15"/> <dc:isVersionOf rdf:resource="http://purl.org/NET/cpan-uri/dist/IRI/project"/> <dc:replaces rdf:resource="http://kasei.us/code/files/IRI-0.001.tar.gz"/> - <doap:Version rdf:nodeID="r1468938689r8"/> + <doap:Version rdf:nodeID="r1540913018r14"/> </rdf:Description> <rdf:Description xmlns:ns1="http://aaronland.info/ns/changefile/" rdf:about="http://kasei.us/code/files/IRI-0.003.tar.gz"> - <ns1:changes rdf:nodeID="r1468938689r7"/> + <ns1:changes rdf:nodeID="r1540913018r13"/> <dc:isVersionOf rdf:resource="http://purl.org/NET/cpan-uri/dist/IRI/project"/> <dc:replaces rdf:resource="http://kasei.us/code/files/IRI-0.002.tar.gz"/> - <doap:Version rdf:nodeID="r1468938689r6"/> + <doap:Version rdf:nodeID="r1540913018r12"/> </rdf:Description> <rdf:Description xmlns:ns1="http://aaronland.info/ns/changefile/" rdf:about="http://kasei.us/code/files/IRI-0.004.tar.gz"> - <ns1:changes rdf:nodeID="r1468938689r5"/> + <ns1:changes rdf:nodeID="r1540913018r11"/> <dc:isVersionOf rdf:resource="http://purl.org/NET/cpan-uri/dist/IRI/project"/> <dc:replaces rdf:resource="http://kasei.us/code/files/IRI-0.003.tar.gz"/> - <doap:Version rdf:nodeID="r1468938689r4"/> + <doap:Version rdf:nodeID="r1540913018r10"/> </rdf:Description> <rdf:Description xmlns:ns1="http://aaronland.info/ns/changefile/" rdf:about="http://kasei.us/code/files/IRI-0.005.tar.gz"> - <ns1:changes rdf:nodeID="r1468938689r3"/> + <ns1:changes rdf:nodeID="r1540913018r9"/> <dc:isVersionOf rdf:resource="http://purl.org/NET/cpan-uri/dist/IRI/project"/> <dc:replaces rdf:resource="http://kasei.us/code/files/IRI-0.004.tar.gz"/> - <doap:Version rdf:nodeID="r1468938689r2"/> + <doap:Version rdf:nodeID="r1540913018r8"/> </rdf:Description> <rdf:Description xmlns:ns1="http://aaronland.info/ns/changefile/" rdf:about="http://kasei.us/code/files/IRI-0.006.tar.gz"> - <ns1:changes rdf:nodeID="r1468938689r1"/> + <ns1:changes rdf:nodeID="r1540913018r7"/> <dc:isVersionOf rdf:resource="http://purl.org/NET/cpan-uri/dist/IRI/project"/> <dc:replaces rdf:resource="http://kasei.us/code/files/IRI-0.005.tar.gz"/> - <doap:Version rdf:nodeID="r1468938689r0"/> + <doap:Version rdf:nodeID="r1540913018r6"/> +</rdf:Description> +<rdf:Description xmlns:ns1="http://aaronland.info/ns/changefile/" rdf:about="http://kasei.us/code/files/IRI-0.007.tar.gz"> + <ns1:changes rdf:nodeID="r1540913018r5"/> + <dc:isVersionOf rdf:resource="http://purl.org/NET/cpan-uri/dist/IRI/project"/> + <dc:replaces rdf:resource="http://kasei.us/code/files/IRI-0.006.tar.gz"/> + <doap:Version rdf:nodeID="r1540913018r4"/> +</rdf:Description> +<rdf:Description xmlns:ns1="http://aaronland.info/ns/changefile/" rdf:about="http://kasei.us/code/files/IRI-0.008.tar.gz"> + <ns1:changes rdf:nodeID="r1540913018r3"/> + <dc:isVersionOf rdf:resource="http://purl.org/NET/cpan-uri/dist/IRI/project"/> + <dc:replaces rdf:resource="http://kasei.us/code/files/IRI-0.007.tar.gz"/> + <doap:Version rdf:nodeID="r1540913018r2"/> +</rdf:Description> +<rdf:Description xmlns:ns1="http://aaronland.info/ns/changefile/" rdf:about="http://kasei.us/code/files/IRI-0.009.tar.gz"> + <ns1:changes rdf:nodeID="r1540913018r1"/> + <dc:isVersionOf rdf:resource="http://purl.org/NET/cpan-uri/dist/IRI/project"/> + <dc:replaces rdf:resource="http://kasei.us/code/files/IRI-0.008.tar.gz"/> + <doap:Version rdf:nodeID="r1540913018r0"/> </rdf:Description> <rdf:Description rdf:about="http://purl.org/NET/cpan-uri/dist/IRI/project"> <doap:bug-database rdf:resource="http://rt.cpan.org/Dist/Display.html?Queue=IRI"/> diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/IRI-0.006/META.yml new/IRI-0.009/META.yml --- old/IRI-0.006/META.yml 2016-07-19 16:31:29.000000000 +0200 +++ new/IRI-0.009/META.yml 2018-10-30 16:23:38.000000000 +0100 @@ -12,7 +12,7 @@ ExtUtils::MakeMaker: 6.59 distribution_type: module dynamic_config: 1 -generated_by: 'Module::Install version 1.16' +generated_by: 'Module::Install version 1.17' license: perl meta-spec: url: http://module-build.sourceforge.net/META-spec-v1.4.html @@ -27,10 +27,10 @@ Moo: 0 MooX::HandlesVia: 0 Type::Tiny: 0.008 - perl: 5.14.0 + perl: 5.10.1 resources: bugtracker: https://github.com/kasei/perl-iri/issues homepage: http://search.cpan.org/dist/IRI/ license: http://dev.perl.org/licenses/ repository: http://github.com/kasei/perl-iri/ -version: '0.006' +version: '0.009' diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/IRI-0.006/Makefile.PL new/IRI-0.009/Makefile.PL --- old/IRI-0.006/Makefile.PL 2016-02-18 16:19:06.000000000 +0100 +++ new/IRI-0.009/Makefile.PL 2018-10-29 19:36:19.000000000 +0100 @@ -1,6 +1,7 @@ use strict; use warnings; +use lib '.'; use inc::Module::Install; name 'IRI'; @@ -11,7 +12,7 @@ build_requires 'Test::More' => 0.88; build_requires 'Try::Tiny' => 0; -perl_version '5.014'; +perl_version '5.010001'; requires 'Moo' => 0; requires 'MooX::HandlesVia' => 0; diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/IRI-0.006/README new/IRI-0.009/README --- old/IRI-0.006/README 2014-08-10 00:19:42.000000000 +0200 +++ new/IRI-0.009/README 2018-10-26 23:41:40.000000000 +0200 @@ -24,7 +24,7 @@ COPYRIGHT - Copyright (C) 2014 Gregory Williams. All rights reserved. + Copyright (C) 2014--2018 Gregory Williams. All rights reserved. This program is free software; you can redistribute it and/or modify it under the same terms as Perl itself. diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/IRI-0.006/SIGNATURE new/IRI-0.009/SIGNATURE --- old/IRI-0.006/SIGNATURE 2016-07-19 16:31:39.000000000 +0200 +++ new/IRI-0.009/SIGNATURE 2018-10-30 16:23:42.000000000 +0100 @@ -1,5 +1,5 @@ This file contains message digests of all files listed in MANIFEST, -signed via the Module::Signature module, version 0.79. +signed via the Module::Signature module, version 0.81. To verify the content in this distribution, first make sure you have Module::Signature installed, then type: @@ -14,34 +14,33 @@ -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 -SHA1 268ffd5cdfd14a76ed73680c25620b87acb2c446 Changes -SHA1 417f62dd053142b767076cc910b5e5e5502b8973 Changes.ttl -SHA1 a87d4f34e2cae47dffb30f433995c2bb47fd1fed Changes.xml +SHA1 3735b46c676162f6823ed83eb979a4d5b96a3f6d Changes +SHA1 3081eeca25940124e7d81af465b453a1bfc2f8ce Changes.ttl +SHA1 5559b6f36b33317498341dcaebd09abaacf4583c Changes.xml SHA1 88a9956a698251e7037d96cf9091eb61793d5ab7 MANIFEST -SHA1 cc5ed3b42e3b8c0a533cab02faae47d927450ced META.yml -SHA1 95d160030f82e1c3313a717eeb3b7646b86cf11f Makefile.PL -SHA1 1b080a25d9a14cf6498ee9ee1b713a352161bb9b README -SHA1 bce3c51bb369419603298064b78e14077b93af66 inc/Module/Install.pm +SHA1 3cdd1a4ed00cef51e9bcdfb32040e4e3415bc007 META.yml +SHA1 adc55e40b7c0f43e8b79c24b28528386a678e89e Makefile.PL +SHA1 b20558223028621fcd8a6d7303b445bdd5ae85e1 README +SHA1 05a17c51aceb6435a1eac17137f19911a09e5050 inc/Module/Install.pm SHA1 d001b4b9a48395a8c4134b234a0e1789138427c5 inc/Module/Install/AuthorTests.pm -SHA1 fe220f215f645500ce8f14ff5e19d9a28692af56 inc/Module/Install/Base.pm -SHA1 b56ed8e42c600e08007d152cf0b1438a7c3b7f6e inc/Module/Install/Can.pm +SHA1 dc73c2baf4357ad1cc884146147f557a50a29300 inc/Module/Install/Base.pm +SHA1 c7f311a5bc5a7f96e9105d5f16a0e13fc596899d inc/Module/Install/Can.pm SHA1 470809a1dbe03e197e74dde79c6af40b5f7f9b26 inc/Module/Install/DOAPChangeSets.pm -SHA1 99c531a17a67ce5250df2ae151cc48c80d914cde inc/Module/Install/Fetch.pm -SHA1 76efdca3603159e0ae0e18f19fe72a0211a69529 inc/Module/Install/Makefile.pm -SHA1 2e33e87882d60db3913da6284dd5295e5315e18a inc/Module/Install/Metadata.pm -SHA1 c830b819e61bda5eca077c6291293bba61b3b9f2 inc/Module/Install/Win32.pm -SHA1 cb52b9d6f88d512d448a6f35ed0af0d1201a134b inc/Module/Install/WriteAll.pm -SHA1 8b85818cb2bce86f3dd6d062b9997c3682c988b1 lib/IRI.pm +SHA1 8c8f9ff5b0a536af59814e16a901ce39fbc23299 inc/Module/Install/Fetch.pm +SHA1 4f77eb02e104324b08a047585c498146b045613b inc/Module/Install/Makefile.pm +SHA1 2f5be6af6098acf6d786a4a7299a34d0c6c04ef9 inc/Module/Install/Metadata.pm +SHA1 aa6723cc4a8d4475026f6ceb28e1f16459e8a11b inc/Module/Install/Win32.pm +SHA1 6661285caedfe012cb5a1ca915a422ffc292ae2b inc/Module/Install/WriteAll.pm +SHA1 57600b0d5c8c31064f384b5c9dac6f4431ae51da lib/IRI.pm SHA1 8239904ffc3b6705243167ccb7ed4da00d5d2543 t/00-simple.t -SHA1 eec47266aeb7f5467481218e934c40cbd87d1188 t/bugs.t +SHA1 dcdc21dd75dd1bfc59ea44a886565bf94a133504 t/bugs.t SHA1 49bf69502718d2931ede3fa80220628841d3ab2d t/coercion.t SHA1 c179a0e5169b56dd5d6c8eae04cba68383158224 xt/pod-coverage.t SHA1 6387af7a5fde0747be5bc9ad2ec15ca9759bd95a xt/pod.t -----BEGIN PGP SIGNATURE----- -Version: GnuPG v1 Comment: GPGTools - http://gpgtools.org -iEYEARECAAYFAleOOcgACgkQhPK6VMqoyC2OVgCgqXIIJkQrJrPmUpFzx+Vi4ynO -CjIAn1j6rzdNLE1gXucXwWay0ax0Hb3u -=hht9 +iEYEARECAAYFAlvYd3wACgkQhPK6VMqoyC0vegCeMfufNfuFAoXKFCNmSJloHyTo +zCUAoLGm7OIqHszdMHGkZ7+zCAOT3tn3 +=3IJ9 -----END PGP SIGNATURE----- diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/IRI-0.006/inc/Module/Install/Base.pm new/IRI-0.009/inc/Module/Install/Base.pm --- old/IRI-0.006/inc/Module/Install/Base.pm 2016-07-19 16:31:29.000000000 +0200 +++ new/IRI-0.009/inc/Module/Install/Base.pm 2018-10-30 16:23:38.000000000 +0100 @@ -4,7 +4,7 @@ use strict 'vars'; use vars qw{$VERSION}; BEGIN { - $VERSION = '1.16'; + $VERSION = '1.17'; } # Suspend handler for "redefined" warnings diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/IRI-0.006/inc/Module/Install/Can.pm new/IRI-0.009/inc/Module/Install/Can.pm --- old/IRI-0.006/inc/Module/Install/Can.pm 2016-07-19 16:31:29.000000000 +0200 +++ new/IRI-0.009/inc/Module/Install/Can.pm 2018-10-30 16:23:38.000000000 +0100 @@ -8,7 +8,7 @@ use vars qw{$VERSION @ISA $ISCORE}; BEGIN { - $VERSION = '1.16'; + $VERSION = '1.17'; @ISA = 'Module::Install::Base'; $ISCORE = 1; } @@ -121,6 +121,15 @@ # Can we locate a (the) C compiler sub can_cc { my $self = shift; + + if ($^O eq 'VMS') { + require ExtUtils::CBuilder; + my $builder = ExtUtils::CBuilder->new( + quiet => 1, + ); + return $builder->have_compiler; + } + my @chunks = split(/ /, $Config::Config{cc}) or return; # $Config{cc} may contain args; try to find out the program part @@ -151,4 +160,4 @@ __END__ -#line 236 +#line 245 diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/IRI-0.006/inc/Module/Install/Fetch.pm new/IRI-0.009/inc/Module/Install/Fetch.pm --- old/IRI-0.006/inc/Module/Install/Fetch.pm 2016-07-19 16:31:29.000000000 +0200 +++ new/IRI-0.009/inc/Module/Install/Fetch.pm 2018-10-30 16:23:38.000000000 +0100 @@ -6,7 +6,7 @@ use vars qw{$VERSION @ISA $ISCORE}; BEGIN { - $VERSION = '1.16'; + $VERSION = '1.17'; @ISA = 'Module::Install::Base'; $ISCORE = 1; } diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/IRI-0.006/inc/Module/Install/Makefile.pm new/IRI-0.009/inc/Module/Install/Makefile.pm --- old/IRI-0.006/inc/Module/Install/Makefile.pm 2016-07-19 16:31:29.000000000 +0200 +++ new/IRI-0.009/inc/Module/Install/Makefile.pm 2018-10-30 16:23:38.000000000 +0100 @@ -8,7 +8,7 @@ use vars qw{$VERSION @ISA $ISCORE}; BEGIN { - $VERSION = '1.16'; + $VERSION = '1.17'; @ISA = 'Module::Install::Base'; $ISCORE = 1; } diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/IRI-0.006/inc/Module/Install/Metadata.pm new/IRI-0.009/inc/Module/Install/Metadata.pm --- old/IRI-0.006/inc/Module/Install/Metadata.pm 2016-07-19 16:31:29.000000000 +0200 +++ new/IRI-0.009/inc/Module/Install/Metadata.pm 2018-10-30 16:23:38.000000000 +0100 @@ -6,7 +6,7 @@ use vars qw{$VERSION @ISA $ISCORE}; BEGIN { - $VERSION = '1.16'; + $VERSION = '1.17'; @ISA = 'Module::Install::Base'; $ISCORE = 1; } diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/IRI-0.006/inc/Module/Install/Win32.pm new/IRI-0.009/inc/Module/Install/Win32.pm --- old/IRI-0.006/inc/Module/Install/Win32.pm 2016-07-19 16:31:29.000000000 +0200 +++ new/IRI-0.009/inc/Module/Install/Win32.pm 2018-10-30 16:23:38.000000000 +0100 @@ -6,7 +6,7 @@ use vars qw{$VERSION @ISA $ISCORE}; BEGIN { - $VERSION = '1.16'; + $VERSION = '1.17'; @ISA = 'Module::Install::Base'; $ISCORE = 1; } diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/IRI-0.006/inc/Module/Install/WriteAll.pm new/IRI-0.009/inc/Module/Install/WriteAll.pm --- old/IRI-0.006/inc/Module/Install/WriteAll.pm 2016-07-19 16:31:29.000000000 +0200 +++ new/IRI-0.009/inc/Module/Install/WriteAll.pm 2018-10-30 16:23:38.000000000 +0100 @@ -6,7 +6,7 @@ use vars qw{$VERSION @ISA $ISCORE}; BEGIN { - $VERSION = '1.16'; + $VERSION = '1.17'; @ISA = qw{Module::Install::Base}; $ISCORE = 1; } diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/IRI-0.006/inc/Module/Install.pm new/IRI-0.009/inc/Module/Install.pm --- old/IRI-0.006/inc/Module/Install.pm 2016-07-19 16:31:27.000000000 +0200 +++ new/IRI-0.009/inc/Module/Install.pm 2018-10-30 16:23:36.000000000 +0100 @@ -31,7 +31,7 @@ # This is not enforced yet, but will be some time in the next few # releases once we can make sure it won't clash with custom # Module::Install extensions. - $VERSION = '1.16'; + $VERSION = '1.17'; # Storage for the pseudo-singleton $MAIN = undef; @@ -244,6 +244,8 @@ } return $args{_self} if $args{_self}; + $base_path = VMS::Filespec::unixify($base_path) if $^O eq 'VMS'; + $args{dispatch} ||= 'Admin'; $args{prefix} ||= 'inc'; $args{author} ||= ($^O eq 'VMS' ? '_author' : '.author'); @@ -322,7 +324,7 @@ my ($self, $path) = @_; my @found; - File::Find::find( sub { + File::Find::find( {no_chdir => 1, wanted => sub { my $file = $File::Find::name; return unless $file =~ m!^\Q$path\E/(.+)\.pm\Z!is; my $subpath = $1; @@ -336,7 +338,7 @@ # correctly. Otherwise, root through the file to locate the case-preserved # version of the package name. if ( $subpath eq lc($subpath) || $subpath eq uc($subpath) ) { - my $content = Module::Install::_read($subpath . '.pm'); + my $content = Module::Install::_read($File::Find::name); my $in_pod = 0; foreach ( split /\n/, $content ) { $in_pod = 1 if /^=\w/; @@ -351,7 +353,7 @@ } push @found, [ $file, $pkg ]; - }, $path ) if -d $path; + }}, $path ) if -d $path; @found; } @@ -373,8 +375,6 @@ return $call; } -# Done in evals to avoid confusing Perl::MinimumVersion -eval( $] >= 5.006 ? <<'END_NEW' : <<'END_OLD' ); die $@ if $@; sub _read { local *FH; open( FH, '<', $_[0] ) or die "open($_[0]): $!"; @@ -383,16 +383,6 @@ close FH or die "close($_[0]): $!"; return $string; } -END_NEW -sub _read { - local *FH; - open( FH, "< $_[0]" ) or die "open($_[0]): $!"; - binmode FH; - my $string = do { local $/; <FH> }; - close FH or die "close($_[0]): $!"; - return $string; -} -END_OLD sub _readperl { my $string = Module::Install::_read($_[0]); @@ -413,8 +403,6 @@ return $string; } -# Done in evals to avoid confusing Perl::MinimumVersion -eval( $] >= 5.006 ? <<'END_NEW' : <<'END_OLD' ); die $@ if $@; sub _write { local *FH; open( FH, '>', $_[0] ) or die "open($_[0]): $!"; @@ -424,17 +412,6 @@ } close FH or die "close($_[0]): $!"; } -END_NEW -sub _write { - local *FH; - open( FH, "> $_[0]" ) or die "open($_[0]): $!"; - binmode FH; - foreach ( 1 .. $#_ ) { - print FH $_[$_] or die "print($_[0]): $!"; - } - close FH or die "close($_[0]): $!"; -} -END_OLD # _version is for processing module versions (eg, 1.03_05) not # Perl versions (eg, 5.8.1). diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/IRI-0.006/lib/IRI.pm new/IRI-0.009/lib/IRI.pm --- old/IRI-0.006/lib/IRI.pm 2016-07-19 16:28:18.000000000 +0200 +++ new/IRI-0.009/lib/IRI.pm 2018-10-30 16:23:15.000000000 +0100 @@ -6,7 +6,7 @@ =head1 VERSION -This document describes IRI version 0.006 +This document describes IRI version 0.009 =head1 SYNOPSIS @@ -76,10 +76,11 @@ =cut -package IRI { - use v5.14; +{ + package IRI; + use v5.10.1; use warnings; - our $VERSION = '0.006'; + our $VERSION = '0.009'; use Moo; use MooX::HandlesVia; use Types::Standard qw(Str InstanceOf HashRef Bool); @@ -105,7 +106,6 @@ }); has 'value' => (is => 'ro', isa => Str, default => ''); has 'components' => (is => 'ro', writer => '_set_components'); - has 'as_string' => (is => 'ro', isa => Str, lazy => 1, builder => '_as_string'); has 'abs' => (is => 'ro', lazy => 1, builder => '_abs'); has 'resolved_components' => ( is => 'ro', @@ -195,11 +195,11 @@ my $iprivate = qr<[\x{E000}-\x{F8FF}] | [\x{F0000}-\x{FFFFD}] | [\x{100000}-\x{10FFFD}]>xo; my $ucschar = qr< [\x{a0}-\x{d7ff}] | [\x{f900}-\x{fdcf}] | [\x{fdf0}-\x{ffef}] - | [\x{10000}-\x{1FFFD}] / [\x{20000}-\x{2FFFD}] / [\x{30000}-\x{3FFFD}] - | [\x{40000}-\x{4FFFD}] / [\x{50000}-\x{5FFFD}] / [\x{60000}-\x{6FFFD}] - | [\x{70000}-\x{7FFFD}] / [\x{80000}-\x{8FFFD}] / [\x{90000}-\x{9FFFD}] - | [\x{A0000}-\x{AFFFD}] / [\x{B0000}-\x{BFFFD}] / [\x{C0000}-\x{CFFFD}] - | [\x{D0000}-\x{DFFFD}] / [\x{E1000}-\x{EFFFD}] + | [\x{10000}-\x{1FFFD}] | [\x{20000}-\x{2FFFD}] | [\x{30000}-\x{3FFFD}] + | [\x{40000}-\x{4FFFD}] | [\x{50000}-\x{5FFFD}] | [\x{60000}-\x{6FFFD}] + | [\x{70000}-\x{7FFFD}] | [\x{80000}-\x{8FFFD}] | [\x{90000}-\x{9FFFD}] + | [\x{A0000}-\x{AFFFD}] | [\x{B0000}-\x{BFFFD}] | [\x{C0000}-\x{CFFFD}] + | [\x{D0000}-\x{DFFFD}] | [\x{E1000}-\x{EFFFD}] >xo; my $iunreserved = qr<${ALPHA}|[0-9]|[-._~]|${ucschar}>o; my $ipchar = qr<(${iunreserved})|(${pctencoded})|(${subdelims})|:|@>o; @@ -392,7 +392,7 @@ return $value; } - sub _as_string { + sub as_string { my $self = shift; if ($self->has_base) { return $self->abs; @@ -413,7 +413,7 @@ # has authority $iri .= "//"; if (my $u = $components->{user}) { - $iri .= "${u}@"; + $iri .= sprintf('%s@', $u); } if (defined(my $h = $components->{host})) { $iri .= $h // ''; @@ -428,15 +428,67 @@ } if (defined(my $q = $components->{query})) { - $iri .= "?$q"; + $iri .= '?' . $q; } if (defined(my $f = $components->{fragment})) { - $iri .= "#$f"; + $iri .= '#' . $f; } return $iri; } + + sub _encode { + my $str = shift; + $str =~ s~([%])~'%' . sprintf('%02x', ord($1))~ge; # gen-delims + $str =~ s~([/:?#@]|\[|\])~'%' . sprintf('%02x', ord($1))~ge; # gen-delims + $str =~ s~([$!&'()*+,;=])~'%' . sprintf('%02x', ord($1))~ge; # sub-delims + return $str; + } + + sub _unencode { + my $str = shift; + if (defined($str)) { + $str =~ s/%([0-9A-Fa-f]{2})/chr(hex($1))/eg; + } + return $str; + } + +=item C<< query_form >> + +Returns a HASH of key-value mappings for the unencoded, parsed query form data. + +=cut + + sub query_form { + my $self = shift; + my $q = $self->query // return; + my @pairs = split(/&/, $q); + return map { _unencode($_) } map { split(/=/, $_) } @pairs; + } + +=item C<< set_query_param ( $key => $value ) >> + +sets the respective query form value and returns a new L<IRI> object. + +=cut + + sub set_query_param { + my $self = shift; + my $q = $self->query // return; + my %map = map { _unencode($_) } map { split(/=/, $_) } split(/&/, $q); + while (my ($k, $v) = splice(@_, 0, 2)) { + $map{$k} = $v; + } + + my %c = %{ $self->components }; + my @pairs = map { join('=', (_encode($_), _encode($map{$_}))) } keys %map; + warn Dumper(\@pairs); + $c{query} = join('&', @pairs); + + my $v = $self->_string_from_components(\%c); + return $self->new( value => $v ); + } } 1; @@ -455,7 +507,7 @@ =head1 COPYRIGHT -Copyright (c) 2014 Gregory Todd Williams. This +Copyright (c) 2014--2018 Gregory Todd Williams. This program is free software; you can redistribute it and/or modify it under the same terms as Perl itself. diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/IRI-0.006/t/bugs.t new/IRI-0.009/t/bugs.t --- old/IRI-0.006/t/bugs.t 2014-07-28 23:48:47.000000000 +0200 +++ new/IRI-0.009/t/bugs.t 2017-07-30 19:33:26.000000000 +0200 @@ -53,4 +53,11 @@ is($i->abs, 'file:///Users/eve/data/bob.rdf'); } +subtest '#11 - parsing codepoints beyond the basic multilingual plane fails due to typo in the IRI regexen' => sub { + my $value = 'http://hak.dbpedia.org/resource/Hàn_(𨧀)'; + my $i = IRI->new( value => $value ); + isa_ok($i, 'IRI'); + is($i->abs, $value); +}; + done_testing(); ++++++ cpanspec.yml ++++++ --- /var/tmp/diff_new_pack.A4sS0a/_old 2019-09-05 12:34:35.423570119 +0200 +++ /var/tmp/diff_new_pack.A4sS0a/_new 2019-09-05 12:34:35.423570119 +0200 @@ -1,6 +1,28 @@ --- -patches: - fix-package.diff: -p1 -post_prep: - sed -i -e 's/use inc::Module::Install;/use lib q[.];\nuse inc::Module::Install;/' Makefile.PL - +#description_paragraphs: 3 +#description: |- +# override description from CPAN +#summary: override summary from CPAN +#no_testing: broken upstream +#sources: +# - source1 +# - source2 +#patches: +# foo.patch: -p1 +# bar.patch: +#preamble: |- +# BuildRequires: gcc-c++ +#post_prep: |- +# hunspell=`pkg-config --libs hunspell | sed -e 's,-l,,; s, *,,g'` +# sed -i -e "s,hunspell-X,$hunspell," t/00-prereq.t Makefile.PL +#post_build: |- +# rm unused.files +#post_install: |- +# sed on %{name}.files +#license: SUSE-NonFree +#skip_noarch: 1 +#custom_build: |- +#./Build build flags=%{?_smp_mflags} --myflag +#custom_test: |- +#startserver && make test +#ignore_requires: Bizarre::Module
