commit perl-Class-Base for openSUSE:Factory

2018-01-24 Thread root
Hello community,

here is the log from the commit of package perl-Class-Base for openSUSE:Factory 
checked in at 2018-01-24 15:30:35

Comparing /work/SRC/openSUSE:Factory/perl-Class-Base (Old)
 and  /work/SRC/openSUSE:Factory/.perl-Class-Base.new (New)


Package is "perl-Class-Base"

Wed Jan 24 15:30:35 2018 rev:10 rq:568417 version:0.09

Changes:

--- /work/SRC/openSUSE:Factory/perl-Class-Base/perl-Class-Base.changes  
2016-11-07 12:21:58.0 +0100
+++ /work/SRC/openSUSE:Factory/.perl-Class-Base.new/perl-Class-Base.changes 
2018-01-24 15:30:36.434073570 +0100
@@ -1,0 +2,6 @@
+Fri Jan  5 06:09:15 UTC 2018 - co...@suse.com
+
+- updated to 0.09
+   see /usr/share/doc/packages/perl-Class-Base/Changes
+
+---

Old:

  Class-Base-0.08.tar.gz

New:

  Class-Base-0.09.tar.gz



Other differences:
--
++ perl-Class-Base.spec ++
--- /var/tmp/diff_new_pack.RYQtcM/_old  2018-01-24 15:30:37.798009780 +0100
+++ /var/tmp/diff_new_pack.RYQtcM/_new  2018-01-24 15:30:37.798009780 +0100
@@ -1,7 +1,7 @@
 #
 # spec file for package perl-Class-Base
 #
-# Copyright (c) 2016 SUSE LINUX GmbH, Nuernberg, Germany.
+# Copyright (c) 2018 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
@@ -17,19 +17,21 @@
 
 
 Name:   perl-Class-Base
-Version:0.08
+Version:0.09
 Release:0
 %define cpan_name Class-Base
 Summary:Useful Base Class for Deriving Other Modules
 License:Artistic-1.0 or GPL-1.0+
 Group:  Development/Libraries/Perl
 Url:http://search.cpan.org/dist/Class-Base/
-Source0:
http://www.cpan.org/authors/id/S/SZ/SZABGAB/%{cpan_name}-%{version}.tar.gz
+Source0:
https://cpan.metacpan.org/authors/id/Y/YA/YANICK/%{cpan_name}-%{version}.tar.gz
 Source1:cpanspec.yml
 BuildArch:  noarch
 BuildRoot:  %{_tmppath}/%{name}-%{version}-build
 BuildRequires:  perl
 BuildRequires:  perl-macros
+BuildRequires:  perl(Clone)
+Requires:   perl(Clone)
 %{perl_requires}
 
 %description
@@ -124,6 +126,7 @@
 
 %files -f %{name}.files
 %defattr(-,root,root,755)
-%doc Changes README TODO
+%doc Changes CONTRIBUTORS doap.xml README README.mkdn TODO
+%license LICENSE
 
 %changelog

++ Class-Base-0.08.tar.gz -> Class-Base-0.09.tar.gz ++
 2257 lines of diff (skipped)




commit perl-Class-Base for openSUSE:Factory

2016-11-07 Thread h_root
Hello community,

here is the log from the commit of package perl-Class-Base for openSUSE:Factory 
checked in at 2016-11-07 12:21:57

Comparing /work/SRC/openSUSE:Factory/perl-Class-Base (Old)
 and  /work/SRC/openSUSE:Factory/.perl-Class-Base.new (New)


Package is "perl-Class-Base"

Changes:

--- /work/SRC/openSUSE:Factory/perl-Class-Base/perl-Class-Base.changes  
2015-04-15 16:23:07.0 +0200
+++ /work/SRC/openSUSE:Factory/.perl-Class-Base.new/perl-Class-Base.changes 
2016-11-07 12:21:58.0 +0100
@@ -1,0 +2,12 @@
+Tue Jul 26 05:07:32 UTC 2016 - co...@suse.com
+
+- updated to 0.08
+   see /usr/share/doc/packages/perl-Class-Base/Changes
+
+  0.08 2016.08.25
+  Fix release (hopefully)
+  
+  0.07 2016.08.25
+  BUILD_REQUIRES vs TEST_REQUIRES  (Kent Fredric)
+
+---

Old:

  Class-Base-0.06.tar.gz

New:

  Class-Base-0.08.tar.gz
  cpanspec.yml



Other differences:
--
++ perl-Class-Base.spec ++
--- /var/tmp/diff_new_pack.xmeE2B/_old  2016-11-07 12:22:00.0 +0100
+++ /var/tmp/diff_new_pack.xmeE2B/_new  2016-11-07 12:22:00.0 +0100
@@ -1,7 +1,7 @@
 #
 # spec file for package perl-Class-Base
 #
-# Copyright (c) 2015 SUSE LINUX GmbH, Nuernberg, Germany.
+# Copyright (c) 2016 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
@@ -17,14 +17,15 @@
 
 
 Name:   perl-Class-Base
-Version:0.06
+Version:0.08
 Release:0
 %define cpan_name Class-Base
-Summary:useful base class for deriving other modules
+Summary:Useful Base Class for Deriving Other Modules
 License:Artistic-1.0 or GPL-1.0+
 Group:  Development/Libraries/Perl
 Url:http://search.cpan.org/dist/Class-Base/
-Source: 
http://www.cpan.org/authors/id/S/SZ/SZABGAB/%{cpan_name}-%{version}.tar.gz
+Source0:
http://www.cpan.org/authors/id/S/SZ/SZABGAB/%{cpan_name}-%{version}.tar.gz
+Source1:cpanspec.yml
 BuildArch:  noarch
 BuildRoot:  %{_tmppath}/%{name}-%{version}-build
 BuildRequires:  perl
@@ -32,8 +33,8 @@
 %{perl_requires}
 
 %description
-Please consider using the Badger::Base manpage instead which is the
-successor of this module.
+Please consider using Badger::Base instead which is the successor of this
+module.
 
 This module implements a simple base class from which other modules can be
 derived, thereby inheriting a number of useful methods such as 'new()',
@@ -107,7 +108,7 @@
 
 %prep
 %setup -q -n %{cpan_name}-%{version}
-find . -type f -print0 | xargs -0 chmod 644
+find . -type f ! -name \*.pl -print0 | xargs -0 chmod 644
 
 %build
 %{__perl} Makefile.PL INSTALLDIRS=vendor

++ Class-Base-0.06.tar.gz -> Class-Base-0.08.tar.gz ++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/Class-Base-0.06/.travis.yml 
new/Class-Base-0.08/.travis.yml
--- old/Class-Base-0.06/.travis.yml 1970-01-01 01:00:00.0 +0100
+++ new/Class-Base-0.08/.travis.yml 2014-09-03 08:14:55.0 +0200
@@ -0,0 +1,11 @@
+branches:
+  except:
+- gh-pages
+language: perl
+perl:
+  - "5.20"
+  - "5.18"
+  - "5.16"
+  - "5.14"
+  - "5.12"
+  - "5.10"
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/Class-Base-0.06/Changes new/Class-Base-0.08/Changes
--- old/Class-Base-0.06/Changes 2014-08-26 09:12:03.0 +0200
+++ new/Class-Base-0.08/Changes 2016-07-25 12:44:53.0 +0200
@@ -11,6 +11,12 @@
 #
 
 
+0.08 2016.08.25
+Fix release (hopefully)
+
+0.07 2016.08.25
+BUILD_REQUIRES vs TEST_REQUIRES  (Kent Fredric)
+
 0.06 2014.08.26
 Add license to META files
 Updating the Changes file
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/Class-Base-0.06/MANIFEST new/Class-Base-0.08/MANIFEST
--- old/Class-Base-0.06/MANIFEST2014-08-26 09:12:47.0 +0200
+++ new/Class-Base-0.08/MANIFEST2016-07-25 12:45:10.0 +0200
@@ -1,3 +1,4 @@
+.travis.yml
 Changes
 lib/Class/Base.pm
 Makefile.PL
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/Class-Base-0.06/META.json 
new/Class-Base-0.08/META.json
--- old/Class-Base-0.06/META.json   2014-08-26 09:12:47.0 +0200
+++ new/Class-Base-0.08/META.json   2016-07-25 12:45:10.0 +0200
@@ -4,7 +4,7 @@
   "Andy Wardley "
],
"dynamic_config" : 1,
-   "generated_by" : "ExtUtils::MakeMaker version 6.98, 

commit perl-Class-Base for openSUSE:Factory

2015-04-15 Thread h_root
Hello community,

here is the log from the commit of package perl-Class-Base for openSUSE:Factory 
checked in at 2015-04-15 16:23:06

Comparing /work/SRC/openSUSE:Factory/perl-Class-Base (Old)
 and  /work/SRC/openSUSE:Factory/.perl-Class-Base.new (New)


Package is perl-Class-Base

Changes:

--- /work/SRC/openSUSE:Factory/perl-Class-Base/perl-Class-Base.changes  
2013-06-05 17:48:15.0 +0200
+++ /work/SRC/openSUSE:Factory/.perl-Class-Base.new/perl-Class-Base.changes 
2015-04-15 16:23:07.0 +0200
@@ -1,0 +2,9 @@
+Mon Apr 13 18:08:50 UTC 2015 - co...@suse.com
+
+- updated to 0.06
+   see /usr/share/doc/packages/perl-Class-Base/Changes
+
+   Add license to META files
+   Updating the Changes file
+
+---

Old:

  Class-Base-0.05.tar.gz

New:

  Class-Base-0.06.tar.gz



Other differences:
--
++ perl-Class-Base.spec ++
--- /var/tmp/diff_new_pack.LaboJz/_old  2015-04-15 16:23:07.0 +0200
+++ /var/tmp/diff_new_pack.LaboJz/_new  2015-04-15 16:23:07.0 +0200
@@ -1,7 +1,7 @@
 #
 # spec file for package perl-Class-Base
 #
-# Copyright (c) 2013 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
@@ -17,11 +17,11 @@
 
 
 Name:   perl-Class-Base
-Version:0.05
+Version:0.06
 Release:0
 %define cpan_name Class-Base
 Summary:useful base class for deriving other modules
-License:GPL-1.0+ or Artistic-1.0
+License:Artistic-1.0 or GPL-1.0+
 Group:  Development/Libraries/Perl
 Url:http://search.cpan.org/dist/Class-Base/
 Source: 
http://www.cpan.org/authors/id/S/SZ/SZABGAB/%{cpan_name}-%{version}.tar.gz
@@ -29,7 +29,6 @@
 BuildRoot:  %{_tmppath}/%{name}-%{version}-build
 BuildRequires:  perl
 BuildRequires:  perl-macros
-#BuildRequires: perl(Class::Base)
 %{perl_requires}
 
 %description

++ Class-Base-0.05.tar.gz - Class-Base-0.06.tar.gz ++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/Class-Base-0.05/Changes new/Class-Base-0.06/Changes
--- old/Class-Base-0.05/Changes 2012-05-16 09:18:44.0 +0200
+++ new/Class-Base-0.06/Changes 2014-08-26 09:12:03.0 +0200
@@ -10,47 +10,32 @@
 #
 #
 
-#
-# Version 0.05 2012/05/16
-#
 
-* Silencing a warning by chromatic RT 75286
-
-* Linking to source repository
-
-#
-# Version 0.04 2012/02/06
-#
-
-* Test script is using Test::More instead the home-made ok() and is().
-
-* Recommend using Badger::Base instead.
-
-* Gabor Szabo co-maintainer.
-
-#
-# Version 0.03 
-#
-
-* Added the params() method which is typically called from the init()
-  method to copy value from a configuration hash into $self.  
-
-* Minor changes to debug() method to only use object value _DEBUG if
-  defined, otherwise fall back on $DEBUG package variable.
-
-#
-# Version 0.02  2002/02/20
-#
-
-* Added the clone() method as suggested by Brian Moseley
-
-* Added the id(), debug() and debugging() methods to provide a fairly
-  simple mechanism for generating debugging information.
-
-
-#
-# Version 0.01  2002/01/11
-#
-
-* initial version
+0.06 2014.08.26
+Add license to META files
+Updating the Changes file
+
+0.05 2012.05.16
+Silencing a warning by chromatic RT 75286
+Linking to source repository
+
+
+0.04 2012.02.06
+Test script is using Test::More instead the home-made ok() and is().
+Recommend using Badger::Base instead.
+Gabor Szabo co-maintainer.
+
+0.03 2002.05.13
+Added the params() method which is typically called from the init()
+  method to copy value from a configuration hash into $self.  
+
+Minor changes to debug() method to only use object value _DEBUG if
+  defined, 

commit perl-Class-Base for openSUSE:Factory

2012-02-14 Thread h_root
Hello community,

here is the log from the commit of package perl-Class-Base for openSUSE:Factory 
checked in at 2012-02-14 19:04:45

Comparing /work/SRC/openSUSE:Factory/perl-Class-Base (Old)
 and  /work/SRC/openSUSE:Factory/.perl-Class-Base.new (New)


Package is perl-Class-Base, Maintainer is 

Changes:

--- /work/SRC/openSUSE:Factory/perl-Class-Base/perl-Class-Base.changes  
2012-01-12 15:26:12.0 +0100
+++ /work/SRC/openSUSE:Factory/.perl-Class-Base.new/perl-Class-Base.changes 
2012-02-14 19:04:46.0 +0100
@@ -1,0 +2,7 @@
+Sat Feb 11 18:52:05 UTC 2012 - co...@suse.com
+
+- updated to 0.04
+ * Test script is using Test::More instead the home-made ok() and is().
+ * Recommend using Badger::Base instead.
+
+---

Old:

  Class-Base-0.03.tar.gz

New:

  Class-Base-0.04.tar.gz



Other differences:
--
++ perl-Class-Base.spec ++
--- /var/tmp/diff_new_pack.1LfZB0/_old  2012-02-14 19:04:47.0 +0100
+++ /var/tmp/diff_new_pack.1LfZB0/_new  2012-02-14 19:04:47.0 +0100
@@ -15,28 +15,100 @@
 # Please submit bugfixes or comments via http://bugs.opensuse.org/
 #
 
+
 Name:   perl-Class-Base
+Version:0.04
+Release:0
 %define cpan_name Class-Base
-Summary:Useful base class for deriving other modules
+Summary:useful base class for deriving other modules
 License:GPL-1.0+ or Artistic-1.0
 Group:  Development/Libraries/Perl
-Version:0.03
-Release:0
 Url:http://search.cpan.org/dist/Class-Base/
-Source: 
http://www.cpan.org/authors/id/A/AB/ABW/Class-Base-%{version}.tar.gz
+Source: 
http://www.cpan.org/authors/id/S/SZ/SZABGAB/%{cpan_name}-%{version}.tar.gz
 BuildArch:  noarch
 BuildRoot:  %{_tmppath}/%{name}-%{version}-build
-%{perl_requires}
 BuildRequires:  perl
 BuildRequires:  perl-macros
+#BuildRequires: perl(Class::Base)
+%{perl_requires}
 
 %description
+Please consider using the Badger::Base manpage instead which is the
+successor of this module.
+
 This module implements a simple base class from which other modules can be
-derived, thereby inheriting a number of useful methods such as new(),
-init(), params(), clone(), error() and debug().
+derived, thereby inheriting a number of useful methods such as 'new()',
+'init()', 'params()', 'clone()', 'error()' and 'debug()'.
+
+For a number of years, I found myself re-writing this module for
+practically every Perl project of any significant size. Or rather, I would
+copy the module from the last project and perform a global search and
+replace to change the names. Each time it got a little more polished and
+eventually, I decided to Do The Right Thing and release it as a module in
+it's own right.
+
+It doesn't pretend to be an all-encompassing solution for every kind of
+object creation problem you might encounter. In fact, it only supports
+blessed hash references that are created using the popular, but by no means
+universal convention of calling 'new()' with a list or reference to a hash
+array of named parameters. Constructor failure is indicated by returning
+undef and setting the '$ERROR' package variable in the module's class to
+contain a relevant message (which you can also fetch by calling 'error()'
+as a class method).
+
+e.g.
+
+my $object = My::Module-new( 
+   file = 'myfile.html',
+   msg  = 'Hello World'
+) || die $My::Module::ERROR;
+
+or:
+
+my $object = My::Module-new({
+   file = 'myfile.html',
+   msg  = 'Hello World',
+}) || die My::Module-error();
+
+The 'new()' method handles the conversion of a list of arguments into a
+hash array and calls the 'init()' method to perform any initialisation. In
+many cases, it is therefore sufficient to define a module like so:
+
+package My::Module;
+use Class::Base;
+use base qw( Class::Base );
+
+sub init {
+   my ($self, $config) = @_;
+   # copy some config items into $self
+   $self-params($config, qw( FOO BAR )) || return undef;
+   return $self;
+}
+
+# ...plus other application-specific methods
+
+1;
+
+Then you can go right ahead and use it like this:
+
+use My::Module;
+
+my $object = My::Module-new( FOO = 'the foo value',
+ BAR = 'the bar value' )
+|| die $My::Module::ERROR;
+
+Despite its limitations, Class::Base can be a surprisingly useful module to
+have lying around for those times where you just want to create a regular
+object based on a blessed hash reference and don't want to worry too much
+about duplicating the same old code to bless a hash, define configuration
+values, provide an error reporting mechanism, and