Hello community,

here is the log from the commit of package perl-Config-Grammar for 
openSUSE:Factory checked in at 2019-03-22 15:07:52
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/perl-Config-Grammar (Old)
 and      /work/SRC/openSUSE:Factory/.perl-Config-Grammar.new.25356 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "perl-Config-Grammar"

Fri Mar 22 15:07:52 2019 rev:8 rq:687144 version:1.13

Changes:
--------
--- /work/SRC/openSUSE:Factory/perl-Config-Grammar/perl-Config-Grammar.changes  
2016-09-12 13:27:47.000000000 +0200
+++ 
/work/SRC/openSUSE:Factory/.perl-Config-Grammar.new.25356/perl-Config-Grammar.changes
       2019-03-22 15:08:17.409446626 +0100
@@ -1,0 +2,6 @@
+Thu Mar 21 06:05:05 UTC 2019 - Stephan Kulow <[email protected]>
+
+- updated to 1.13
+   see /usr/share/doc/packages/perl-Config-Grammar/Changes
+
+-------------------------------------------------------------------

Old:
----
  Config-Grammar-1.12.tar.gz

New:
----
  Config-Grammar-1.13.tar.gz

++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Other differences:
------------------
++++++ perl-Config-Grammar.spec ++++++
--- /var/tmp/diff_new_pack.g0clZm/_old  2019-03-22 15:08:17.985446127 +0100
+++ /var/tmp/diff_new_pack.g0clZm/_new  2019-03-22 15:08:17.985446127 +0100
@@ -1,7 +1,7 @@
 #
 # spec file for package perl-Config-Grammar
 #
-# Copyright (c) 2016 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,19 +12,19 @@
 # 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-Config-Grammar
-Version:        1.12
+Version:        1.13
 Release:        0
 %define cpan_name Config-Grammar
-Summary:        Grammar-Based, User-Friendly Config Parser
-License:        Artistic-1.0 or GPL-1.0+
+Summary:        Grammar-based, user-friendly config parser
+License:        Artistic-1.0 OR GPL-1.0-or-later
 Group:          Development/Libraries/Perl
-Url:            http://search.cpan.org/dist/Config-Grammar/
-Source0:        
http://www.cpan.org/authors/id/D/DS/DSCHWEI/%{cpan_name}-%{version}.tar.gz
+Url:            https://metacpan.org/release/%{cpan_name}
+Source0:        
https://cpan.metacpan.org/authors/id/D/DS/DSCHWEI/%{cpan_name}-%{version}.tar.gz
 Source1:        cpanspec.yml
 BuildArch:      noarch
 BuildRoot:      %{_tmppath}/%{name}-%{version}-build
@@ -57,11 +57,11 @@
 %setup -q -n %{cpan_name}-%{version}
 
 %build
-%{__perl} Makefile.PL INSTALLDIRS=vendor
-%{__make} %{?_smp_mflags}
+perl Makefile.PL INSTALLDIRS=vendor
+make %{?_smp_mflags}
 
 %check
-%{__make} test
+make test
 
 %install
 %perl_make_install
@@ -70,6 +70,7 @@
 
 %files -f %{name}.files
 %defattr(-,root,root,755)
-%doc Changes LICENSE README
+%doc Changes README
+%license LICENSE
 
 %changelog

++++++ Config-Grammar-1.12.tar.gz -> Config-Grammar-1.13.tar.gz ++++++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/Config-Grammar-1.12/Changes 
new/Config-Grammar-1.13/Changes
--- old/Config-Grammar-1.12/Changes     2016-09-09 15:32:11.000000000 +0200
+++ new/Config-Grammar-1.13/Changes     2019-03-20 21:09:28.000000000 +0100
@@ -1,7 +1,14 @@
 Revision history for Perl extension Config::Grammar.
 
-UNRELEASED
+2019-03-20
+
+     * Released 1.13
+     * Fix spelling error in manpage (fixes #3, patch by Salvatore Bonaccorso)
+     * Use encoding in Dynamic.pm as well (Fritz Zaucker)
+
+2016-09-09
     
+     * Released 1.12
      * Fixes 'Name "Config::Grammar::File" used only once' (patch by Salvatore 
Bonaccorso)
      * Fix spelling error in manpage (patch by Salvatore Bonaccorso)
      * Use Dist::Zilla to prepare the Perl distribution for CPAN
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/Config-Grammar-1.12/LICENSE 
new/Config-Grammar-1.13/LICENSE
--- old/Config-Grammar-1.12/LICENSE     2016-09-09 15:32:11.000000000 +0200
+++ new/Config-Grammar-1.13/LICENSE     2019-03-20 21:09:28.000000000 +0100
@@ -1,4 +1,4 @@
-This software is copyright (c) 2016 by David Schweikert.
+This software is copyright (c) 2019 by David Schweikert.
 
 This is free software; you can redistribute it and/or modify it under
 the same terms as the Perl 5 programming language system itself.
@@ -12,7 +12,7 @@
 
 --- The GNU General Public License, Version 1, February 1989 ---
 
-This software is Copyright (c) 2016 by David Schweikert.
+This software is Copyright (c) 2019 by David Schweikert.
 
 This is free software, licensed under:
 
@@ -272,7 +272,7 @@
 
 --- The Artistic License 1.0 ---
 
-This software is Copyright (c) 2016 by David Schweikert.
+This software is Copyright (c) 2019 by David Schweikert.
 
 This is free software, licensed under:
 
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/Config-Grammar-1.12/MANIFEST 
new/Config-Grammar-1.13/MANIFEST
--- old/Config-Grammar-1.12/MANIFEST    2016-09-09 15:32:11.000000000 +0200
+++ new/Config-Grammar-1.13/MANIFEST    2019-03-20 21:09:28.000000000 +0100
@@ -1,4 +1,4 @@
-# This file was automatically generated by Dist::Zilla::Plugin::Manifest 
v6.007.
+# This file was automatically generated by Dist::Zilla::Plugin::Manifest 
v6.012.
 Changes
 LICENSE
 MANIFEST
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/Config-Grammar-1.12/META.json 
new/Config-Grammar-1.13/META.json
--- old/Config-Grammar-1.12/META.json   2016-09-09 15:32:11.000000000 +0200
+++ new/Config-Grammar-1.13/META.json   2019-03-20 21:09:28.000000000 +0100
@@ -4,7 +4,7 @@
       "David Schweikert <[email protected]>"
    ],
    "dynamic_config" : 0,
-   "generated_by" : "Dist::Zilla version 6.007, CPAN::Meta::Converter version 
2.143240",
+   "generated_by" : "Dist::Zilla version 6.012, CPAN::Meta::Converter version 
2.150010",
    "license" : [
       "perl_5"
    ],
@@ -46,7 +46,8 @@
          "web" : "https://github.com/schweikert/Config-Grammar";
       }
    },
-   "version" : "1.12",
-   "x_serialization_backend" : "JSON::XS version 2.34"
+   "version" : "1.13",
+   "x_generated_by_perl" : "v5.24.1",
+   "x_serialization_backend" : "JSON::XS version 3.03"
 }
 
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/Config-Grammar-1.12/META.yml 
new/Config-Grammar-1.13/META.yml
--- old/Config-Grammar-1.12/META.yml    2016-09-09 15:32:11.000000000 +0200
+++ new/Config-Grammar-1.13/META.yml    2019-03-20 21:09:28.000000000 +0100
@@ -10,7 +10,7 @@
 configure_requires:
   ExtUtils::MakeMaker: '0'
 dynamic_config: 0
-generated_by: 'Dist::Zilla version 6.007, CPAN::Meta::Converter version 
2.143240'
+generated_by: 'Dist::Zilla version 6.012, CPAN::Meta::Converter version 
2.150010'
 license: perl
 meta-spec:
   url: http://module-build.sourceforge.net/META-spec-v1.4.html
@@ -23,5 +23,6 @@
   bugtracker: https://github.com/schweikert/Config-Grammar/issues
   homepage: https://github.com/schweikert/Config-Grammar
   repository: https://github.com/schweikert/Config-Grammar.git
-version: '1.12'
-x_serialization_backend: 'YAML::Tiny version 1.69'
+version: '1.13'
+x_generated_by_perl: v5.24.1
+x_serialization_backend: 'YAML::Tiny version 1.73'
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/Config-Grammar-1.12/Makefile.PL 
new/Config-Grammar-1.13/Makefile.PL
--- old/Config-Grammar-1.12/Makefile.PL 2016-09-09 15:32:11.000000000 +0200
+++ new/Config-Grammar-1.13/Makefile.PL 2019-03-20 21:09:28.000000000 +0100
@@ -1,4 +1,4 @@
-# This file was automatically generated by Dist::Zilla::Plugin::MakeMaker 
v6.007.
+# This file was automatically generated by Dist::Zilla::Plugin::MakeMaker 
v6.012.
 use strict;
 use warnings;
 
@@ -25,7 +25,7 @@
     "lib" => 0,
     "vars" => 0
   },
-  "VERSION" => "1.12",
+  "VERSION" => "1.13",
   "test" => {
     "TESTS" => "t/*.t"
   }
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/Config-Grammar-1.12/README 
new/Config-Grammar-1.13/README
--- old/Config-Grammar-1.12/README      2016-09-09 15:32:11.000000000 +0200
+++ new/Config-Grammar-1.13/README      2019-03-20 21:09:28.000000000 +0100
@@ -10,3 +10,5 @@
 Config::Grammar supports many advanced features, that you can read
 about in its documentation (type 'man Config::Grammar' or 'perldoc
 lib/Config/Grammar.pm' in this directory)
+
+See also: https://metacpan.org/release/Config-Grammar
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/Config-Grammar-1.12/lib/Config/Grammar/Dynamic.pm 
new/Config-Grammar-1.13/lib/Config/Grammar/Dynamic.pm
--- old/Config-Grammar-1.12/lib/Config/Grammar/Dynamic.pm       2016-09-09 
15:32:11.000000000 +0200
+++ new/Config-Grammar-1.13/lib/Config/Grammar/Dynamic.pm       2019-03-20 
21:09:28.000000000 +0100
@@ -423,6 +423,9 @@
 {
     my $self = shift;
     my $file = shift;
+    my $args = shift;
+
+    $self->{encoding} = $args->{encoding} if ref $args eq 'HASH';
 
     $self->{cfg}           = {};
     $self->{level}         = 0;
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/Config-Grammar-1.12/lib/Config/Grammar.pm 
new/Config-Grammar-1.13/lib/Config/Grammar.pm
--- old/Config-Grammar-1.12/lib/Config/Grammar.pm       2016-09-09 
15:32:11.000000000 +0200
+++ new/Config-Grammar-1.13/lib/Config/Grammar.pm       2019-03-20 
21:09:28.000000000 +0100
@@ -1,7 +1,7 @@
 package Config::Grammar;
 use strict;
 
-$Config::Grammar::VERSION = '1.12';
+$Config::Grammar::VERSION = '1.13';
 
 sub new($$)
 {
@@ -650,11 +650,11 @@
 
 sub parse($$$)
 {
-    my $self        = shift;
-    my $file        = shift;
-    my $args        = shift;
+    my $self = shift;
+    my $file = shift;
+    my $args = shift;
 
-    $self->{encoding} = $args->{encoding};
+    $self->{encoding} = $args->{encoding} if ref $args eq 'HASH';
 
     $self->{cfg}           = {};
     $self->{level}         = 0;
@@ -937,7 +937,7 @@
 
 =head3 Assignments
 
-Assignements take the form: 'variable = value', where value can be any string
+Assignments take the form: 'variable = value', where value can be any string
 (can contain whitespaces and special characters). The spaces before and after
 the equal sign are optional.
 


Reply via email to