Hello community, here is the log from the commit of package perl-File-Mork for openSUSE:Factory checked in at 2015-12-24 12:17:32 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/perl-File-Mork (Old) and /work/SRC/openSUSE:Factory/.perl-File-Mork.new (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Package is "perl-File-Mork" Changes: -------- --- /work/SRC/openSUSE:Factory/perl-File-Mork/perl-File-Mork.changes 2012-03-29 07:46:21.000000000 +0200 +++ /work/SRC/openSUSE:Factory/.perl-File-Mork.new/perl-File-Mork.changes 2015-12-24 12:17:40.000000000 +0100 @@ -1,0 +2,10 @@ +Tue Dec 22 09:59:51 UTC 2015 - coolo@suse.com + +- updated to 0.4 + see /usr/share/doc/packages/perl-File-Mork/Changes + + 20 Dec 2015 - v0.4 UTF-16 + + Fixes for UTF-16 conversion error from Rob O'Neale and James Wright + +------------------------------------------------------------------- Old: ---- File-Mork-0.3.tar.gz New: ---- File-Mork-0.4.tar.gz cpanspec.yml ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ perl-File-Mork.spec ++++++ --- /var/tmp/diff_new_pack.DVwPrF/_old 2015-12-24 12:17:41.000000000 +0100 +++ /var/tmp/diff_new_pack.DVwPrF/_new 2015-12-24 12:17:41.000000000 +0100 @@ -1,7 +1,7 @@ # # spec file for package perl-File-Mork # -# Copyright (c) 2011 SUSE LINUX Products GmbH, Nuernberg, Germany. +# Copyright (c) 2015 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 @@ -16,23 +16,22 @@ # - Name: perl-File-Mork -Version: 0.3 -Release: 1 -License: MIT +Version: 0.4 +Release: 0 %define cpan_name File-Mork -Summary: a module to read Mozilla URL history files -Url: http://search.cpan.org/dist/File-Mork/ +Summary: Module to Read Mozilla Url History Files +License: MIT Group: Development/Libraries/Perl -#Source: http://www.cpan.org/authors/id/S/SI/SIMONW/File-Mork-%{version}.tar.gz -Source: %{cpan_name}-%{version}.tar.gz +Url: http://search.cpan.org/dist/File-Mork/ +Source0: http://www.cpan.org/authors/id/S/SI/SIMONW/%{cpan_name}-%{version}.tar.gz +Source1: cpanspec.yml BuildArch: noarch BuildRoot: %{_tmppath}/%{name}-%{version}-build BuildRequires: perl -BuildRequires: perl(Module::Build) BuildRequires: perl-macros BuildRequires: perl(HTML::Entities) +BuildRequires: perl(Module::Build) >= 0.400000 Requires: perl(HTML::Entities) %{perl_requires} @@ -59,11 +58,8 @@ ./Build install destdir=%{buildroot} create_packlist=0 %perl_gen_filelist -%clean -%{__rm} -rf %{buildroot} - %files -f %{name}.files -%defattr(644,root,root,755) +%defattr(-,root,root,755) %doc Changes examples %changelog ++++++ File-Mork-0.3.tar.gz -> File-Mork-0.4.tar.gz ++++++ diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/File-Mork-0.3/Build.PL new/File-Mork-0.4/Build.PL --- old/File-Mork-0.3/Build.PL 2005-09-27 11:34:06.000000000 +0200 +++ new/File-Mork-0.4/Build.PL 2015-12-20 13:26:09.000000000 +0100 @@ -6,6 +6,7 @@ license => "gpl", scripts => [ 'bin/mork' ], create_makefile_pl => 'traditional', + configure_requires => { 'Module::Build' => 0.40 }, dynamic_config => 1, requires => { 'Test::More' => 0, diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/File-Mork-0.3/Changes new/File-Mork-0.4/Changes --- old/File-Mork-0.3/Changes 2006-10-24 17:00:32.000000000 +0200 +++ new/File-Mork-0.4/Changes 2015-12-20 13:26:09.000000000 +0100 @@ -1,3 +1,7 @@ +20 Dec 2015 - v0.4 UTF-16 + + Fixes for UTF-16 conversion error from Rob O'Neale and James Wright + 24 Oct 2006 - v0.3 UTF8 Patch to support UTF8 from Yohei Fushii diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/File-Mork-0.3/MANIFEST new/File-Mork-0.4/MANIFEST --- old/File-Mork-0.3/MANIFEST 2005-09-27 11:34:06.000000000 +0200 +++ new/File-Mork-0.4/MANIFEST 2015-12-20 13:26:09.000000000 +0100 @@ -10,3 +10,4 @@ t/03error.t Build.PL Makefile.PL +META.json diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/File-Mork-0.3/MANIFEST.SKIP new/File-Mork-0.4/MANIFEST.SKIP --- old/File-Mork-0.3/MANIFEST.SKIP 2005-09-27 11:34:06.000000000 +0200 +++ new/File-Mork-0.4/MANIFEST.SKIP 2015-12-20 13:26:09.000000000 +0100 @@ -2,7 +2,10 @@ _build blib .svn +.git Makefile mork.pl TODO .tar.gz +^MYMETA\.yml$ +^MYMETA\.json$ diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/File-Mork-0.3/META.json new/File-Mork-0.4/META.json --- old/File-Mork-0.3/META.json 1970-01-01 01:00:00.000000000 +0100 +++ new/File-Mork-0.4/META.json 2015-12-20 13:26:09.000000000 +0100 @@ -0,0 +1,46 @@ +{ + "abstract" : "a module to read Mozilla URL history files", + "author" : [ + "Module-ised by Simon Wistow <simon@thegestalt.org>" + ], + "dynamic_config" : 1, + "generated_by" : "Module::Build version 0.4003, CPAN::Meta::Converter version 2.150005", + "license" : [ + "open_source" + ], + "meta-spec" : { + "url" : "http://search.cpan.org/perldoc?CPAN::Meta::Spec", + "version" : "2" + }, + "name" : "File-Mork", + "prereqs" : { + "configure" : { + "requires" : { + "Module::Build" : "0.4" + } + }, + "runtime" : { + "requires" : { + "HTML::Entities" : "0", + "Test::More" : "0" + } + } + }, + "provides" : { + "File::Mork" : { + "file" : "lib/File/Mork.pm", + "version" : "0.4" + }, + "File::Mork::Entry" : { + "file" : "lib/File/Mork.pm" + } + }, + "release_status" : "stable", + "resources" : { + "license" : [ + "http://opensource.org/licenses/gpl-license.php" + ] + }, + "version" : "0.4", + "x_serialization_backend" : "JSON::PP version 2.27203" +} diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/File-Mork-0.3/META.yml new/File-Mork-0.4/META.yml --- old/File-Mork-0.3/META.yml 2006-11-07 14:57:11.000000000 +0100 +++ new/File-Mork-0.4/META.yml 2015-12-20 13:26:09.000000000 +0100 @@ -1,12 +1,27 @@ -# http://module-build.sourceforge.net/META-spec.html -#XXXXXXX This is a prototype!!! It will change in the future!!! XXXXX# -name: File-Mork -version: 0.3 -version_from: lib/File/Mork.pm -installdirs: site +--- +abstract: 'a module to read Mozilla URL history files' +author: + - 'Module-ised by Simon Wistow <simon@thegestalt.org>' +build_requires: {} +configure_requires: + Module::Build: '0.4' +dynamic_config: 1 +generated_by: 'Module::Build version 0.4003, CPAN::Meta::Converter version 2.150005' +license: open_source +meta-spec: + url: http://module-build.sourceforge.net/META-spec-v1.4.html + version: '1.4' +name: File-Mork +provides: + File::Mork: + file: lib/File/Mork.pm + version: '0.4' + File::Mork::Entry: + file: lib/File/Mork.pm requires: - HTML::Entities: 0 - Test::More: 0 - -distribution_type: module -generated_by: ExtUtils::MakeMaker version 6.30 + HTML::Entities: '0' + Test::More: '0' +resources: + license: http://opensource.org/licenses/gpl-license.php +version: '0.4' +x_serialization_backend: 'CPAN::Meta::YAML version 0.016' diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/File-Mork-0.3/Makefile.PL new/File-Mork-0.4/Makefile.PL --- old/File-Mork-0.3/Makefile.PL 2005-09-27 11:34:06.000000000 +0200 +++ new/File-Mork-0.4/Makefile.PL 2015-12-20 13:26:09.000000000 +0100 @@ -1,17 +1,17 @@ -# Note: this file was auto-generated by Module::Build::Compat version 0.03 +# Note: this file was auto-generated by Module::Build::Compat version 0.4003 use ExtUtils::MakeMaker; WriteMakefile ( - 'NAME' => 'File::Mork', - 'VERSION_FROM' => 'lib/File/Mork.pm', - 'PREREQ_PM' => { - 'HTML::Entities' => '0', - 'Test::More' => '0' - }, - 'INSTALLDIRS' => 'site', - 'EXE_FILES' => [ - 'bin/mork' - ], - 'PL_FILES' => {} - ) + 'NAME' => 'File::Mork', + 'VERSION_FROM' => 'lib/File/Mork.pm', + 'INSTALLDIRS' => 'site', + 'EXE_FILES' => [ + 'bin/mork' + ], + 'PL_FILES' => {}, + 'PREREQ_PM' => { + 'HTML::Entities' => 0, + 'Test::More' => 0 + } +) ; diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/File-Mork-0.3/lib/File/Mork.pm new/File-Mork-0.4/lib/File/Mork.pm --- old/File-Mork-0.3/lib/File/Mork.pm 2006-10-24 17:00:37.000000000 +0200 +++ new/File-Mork-0.4/lib/File/Mork.pm 2015-12-20 13:26:09.000000000 +0100 @@ -5,7 +5,7 @@ use POSIX qw(strftime); use Encode; -$VERSION = "0.3"; +$VERSION = "0.4"; =head1 NAME @@ -13,7 +13,7 @@ =head1 SYNOPSIS - my $mork = File::Mork->new($filename, verbose => 1) + my $mork = File::Mork->new($filename, verbose => 1) || die $File::Mork::ERROR."\n"; @@ -31,7 +31,7 @@ To find your history file it might be worth using B<Mozilla::Backup> which has some platform-independent code for finding the profiles of -various Mozilla-isms (including Firefox, Camino, K-Meleon, etc.). +various Mozilla-isms (including Firefox, Camino, K-Meleon, etc.). =cut @@ -47,15 +47,15 @@ =over 4 -=item +=item verbose A value up to 3 - defines the level of verbosity -=item +=item -age +age A ctime which forces C<File::Mork> to only parse entries later than this. @@ -120,7 +120,7 @@ sub parse { my ($self, $file) = @_; - $self->{since} = ($self->{age} ? time() - $self->{age} : 0); + $self->{since} = ($self->{age} ? time() - $self->{age} : 0); $self->{section} = "top level"; $self->{section_end_re} = undef; @@ -140,7 +140,7 @@ unless (open (IN, $file)) { $self->{error} = "Couldn't open $file : $!"; return; - } + } $self->debug("reading ...",1); my $body = <IN>; @@ -273,7 +273,7 @@ my ($keyi, $which, $vali) = m/^\^ ([-\dA-F]+) ([\^=]) - (.*) + (.*) $/xi; return $self->error("unparsable cell: $_\n") unless defined ($vali); @@ -333,7 +333,7 @@ } # recognize the byte order of UTF-16 encoding - if (! defined ($self->{byte_order}) && $val =~ m/(?:BE|LE)/) { + if (! defined ($self->{byte_order}) && $val =~ m/(?:BE|LE)$/) { $self->{byte_order} = $val; } @@ -400,7 +400,7 @@ =head2 debug <message> <priority> -Internal method to print out a debug message if it's a higher priority +Internal method to print out a debug message if it's a higher priority than the the current verbosity level. =cut @@ -435,10 +435,10 @@ =over 4 =item - + Two different numerical namespaces that overlap. -=item +=item It can't decide what kind of character-quoting syntax to use: Backslash? Hex encoding with dollar-sign? @@ -448,7 +448,7 @@ C++ line comments are allowed sometimes, but sometimes // is just a pair of characters in a URL. -=item +=item It goes to all this serious compression effort (two different string-interning hash tables) and then writes out Unicode strings @@ -478,7 +478,7 @@ Module-ised by Simon Wistow <simon@thegestalt.org> -based on +based on http://www.jwz.org/hacks/mork.pl @@ -496,7 +496,7 @@ the above copyright notice appear in all copies and that both that copyright notice and this permission notice appear in supporting documentation. No representations are made about the suitability of this -software for any purpose. It is provided "as is" without express or +software for any purpose. It is provided "as is" without express or implied warranty. =head1 BUGS @@ -518,7 +518,7 @@ use strict; use vars qw($AUTOLOAD); -=head1 NAME +=head1 NAME File::Mork::Entry - an single entry in a mork DB @@ -530,7 +530,7 @@ blesses C<%opts> into the class File::Mork::Entry -=cut +=cut sub new { my ($class, %self) = @_; ++++++ cpanspec.yml ++++++ --- #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