Script 'mail_helper' called by obssrc
Hello community,

here is the log from the commit of package perl-Exporter-Lite for 
openSUSE:Factory checked in at 2022-03-08 20:32:19
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/perl-Exporter-Lite (Old)
 and      /work/SRC/openSUSE:Factory/.perl-Exporter-Lite.new.2349 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "perl-Exporter-Lite"

Tue Mar  8 20:32:19 2022 rev:12 rq:960192 version:0.09

Changes:
--------
--- /work/SRC/openSUSE:Factory/perl-Exporter-Lite/perl-Exporter-Lite.changes    
2016-01-22 01:10:50.000000000 +0100
+++ 
/work/SRC/openSUSE:Factory/.perl-Exporter-Lite.new.2349/perl-Exporter-Lite.changes
  2022-03-11 11:49:35.290860325 +0100
@@ -1,0 +2,6 @@
+Sat Mar  5 03:06:08 UTC 2022 - Tina M??ller <timueller+p...@suse.de>
+
+- updated to 0.09
+   see /usr/share/doc/packages/perl-Exporter-Lite/Changes
+
+-------------------------------------------------------------------

Old:
----
  Exporter-Lite-0.08.tar.gz

New:
----
  Exporter-Lite-0.09.tar.gz

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

Other differences:
------------------
++++++ perl-Exporter-Lite.spec ++++++
--- /var/tmp/diff_new_pack.IUyqte/_old  2022-03-11 11:49:35.802860927 +0100
+++ /var/tmp/diff_new_pack.IUyqte/_new  2022-03-11 11:49:35.806860932 +0100
@@ -1,7 +1,7 @@
 #
 # spec file for package perl-Exporter-Lite
 #
-# Copyright (c) 2016 SUSE LINUX GmbH, Nuernberg, Germany.
+# Copyright (c) 2022 SUSE LLC
 #
 # 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/
 #
 
 
+%define cpan_name Exporter-Lite
 Name:           perl-Exporter-Lite
-Version:        0.08
+Version:        0.09
 Release:        0
-%define cpan_name Exporter-Lite
-Summary:        Lightweight Exporting of Functions and Variables
-License:        Artistic-1.0 or GPL-1.0+
-Group:          Development/Libraries/Perl
-Url:            http://search.cpan.org/dist/Exporter-Lite/
-Source0:        
http://www.cpan.org/authors/id/N/NE/NEILB/%{cpan_name}-%{version}.tar.gz
+License:        Artistic-1.0 OR GPL-1.0-or-later
+Summary:        Lightweight exporting of functions and variables
+URL:            https://metacpan.org/release/%{cpan_name}
+Source0:        
https://cpan.metacpan.org/authors/id/N/NE/NEILB/%{cpan_name}-%{version}.tar.gz
 Source1:        cpanspec.yml
 BuildArch:      noarch
-BuildRoot:      %{_tmppath}/%{name}-%{version}-build
 BuildRequires:  perl
 BuildRequires:  perl-macros
 %{perl_requires}
@@ -37,58 +35,38 @@
 lightweight subset of the most commonly-used functionality. It supports
 'import()', '@EXPORT' and '@EXPORT_OK' and not a whole lot else.
 
-Unlike Exporter, it is not necessary to inherit from Exporter::Lite; Ie you
-don't need to write:
-
- @ISA = qw(Exporter::Lite);
-
 Exporter::Lite simply exports its import() function into your namespace.
 This might be called a "mix-in" or a "role".
 
-Setting up a module to export its variables and functions is simple:
-
-    package My::Module;
-    use Exporter::Lite;
-
-    our @EXPORT = qw($Foo bar);
-
-Functions and variables listed in the '@EXPORT' package variable are
-automatically exported if you use the module and don't explicitly list any
-imports. Now, when you 'use My::Module', '$Foo' and 'bar()' will show up.
-
-Optional exports are listed in the '@EXPORT_OK' package variable:
-
-    package My::Module;
-    use Exporter::Lite;
-
-    our @EXPORT_OK = qw($Foo bar);
+When 'Exporter::Lite' was written, if you wanted to use 'Exporter' you had
+to write something like this:
 
-When My::Module is used, '$Foo' and 'bar()' will _not_ show up, unless you
-explicitly ask for them:
+ use Exporter;
+ our @ISA = qw/ Exporter /;
 
-    use My::Module qw($Foo bar);
+'Exporter::Lite' saved you from writing that second line. But since before
+2010 you've been able to write:
 
-Note that when you specify one or more functions or variables to import,
-then you must also explicitly list any of the default symbols you want to
-use. So if you have an exporting module:
+ use Exporter qw/ import /;
 
-    package Games;
-    our @EXPORT    = qw/ pacman defender  /;
-    our @EXPORT_OK = qw/ galaga centipede /;
+Which imports the 'import' function into your namespace from 'Exporter'. As
+a result, I would recommend that you use 'Exporter' now, as it's a core
+module (shipped with Perl).
 
-Then if you want to use both 'pacman' and 'galaga', then you'd write:
+To make sure you get a version of 'Exporter' that supports the above usage,
+specify a minimum version when you 'use' it:
 
-    use Games qw/ pacman galaga /;
+ use Exporter 5.57 qw/ import /;
 
 %prep
-%setup -q -n %{cpan_name}-%{version}
+%autosetup  -n %{cpan_name}-%{version}
 
 %build
-%{__perl} Makefile.PL INSTALLDIRS=vendor
-%{__make} %{?_smp_mflags}
+perl Makefile.PL INSTALLDIRS=vendor
+%make_build
 
 %check
-%{__make} test
+make test
 
 %install
 %perl_make_install
@@ -96,7 +74,6 @@
 %perl_gen_filelist
 
 %files -f %{name}.files
-%defattr(-,root,root,755)
 %doc Changes README
 
 %changelog

++++++ Exporter-Lite-0.08.tar.gz -> Exporter-Lite-0.09.tar.gz ++++++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/Exporter-Lite-0.08/Changes 
new/Exporter-Lite-0.09/Changes
--- old/Exporter-Lite-0.08/Changes      2016-01-13 20:33:33.000000000 +0100
+++ new/Exporter-Lite-0.09/Changes      2022-03-03 11:04:57.004613392 +0100
@@ -1,13 +1,17 @@
 Revision history for Perl module Exporter::Lite
 
-0.08 2016-01-13
+0.09 2022-03-03 NEILB
+    - Fixed typo in comment. PR from James Raspass.
+    - Added note at the top of the DESCRIPTION to suggest you use Exporter.
+
+0.08 2016-01-13 NEILB
     - Fixed typo in name of Constant::Export::Lazy in SEE ALSO. MANWAR++
     - Simplified Makefile.PL
 
-0.07 2015-10-09
+0.07 2015-10-09 NEILB
     - Updated github repo URL after changing my github username
 
-0.06 2014-07-29
+0.06 2014-07-29 NEILB
     - Improved the abstract - explicit mention that functions are supported
     - Improved the SYNOPSIS - split into separate code blocks
     - Improved the DESCRIPTION. Made clearer that as soon as you specify
@@ -15,16 +19,15 @@
     - Removed the BUGS and CAVEATS section from the doc; it was just being
       self-deprecating about whether it deserved the "lite" moniker.
 
-0.05 2014-03-26
+0.05 2014-03-26 NEILB
     - Improved the DESCRIPTION section, particularly the first paragraph.
     - Added a bunch more Exporter modules to the SEE ALSO section.
 
-0.04 2014-03-26
+0.04 2014-03-26 NEILB
     - Added Constant::Exporter::Lazy to SEE ALSO
     - Had forgotten to put README and Changes in MANIFEST. Sigh.
 
-0.03 2014-03-25
-    - Now maintained by NEILB
+0.03 2014-03-25 NEILB
     - Fixed typo reported by dsteinbrunner in RT#87096
     - Now use strict and warnings
     - Added github repo to metadata and pod
@@ -32,16 +35,17 @@
     - Specified min perl version 5.6.0 in metadata
     - Set PREREQ_PM, TEST_REQUIRES, CONFIGURE_REQUIRES in Makefile.PL
     - Added a load of modules to SEE ALSO.
+    - Now maintained by NEILB
 
 0.02_01 2014-03-24
     - All but the final bullet in 0.03 were first done in this dev release
 
-0.02  Sat Nov 11 18:09:19 CST 2006
+0.02 2006-11-12 MSCHWERN
     - Added a Changes file. :)
     - Added a license notice. (jj...@cpan.org) [rt.cpan.org 20323]
     - Fixed the version check test for 5.10. [rt.cpan.org 13648]
     - Now depending on Test::More rather than shipping it.
 
-0.01  Sat Dec 16 2001
+0.01 2001-12-17 MSCHWERN
     - First working release
 
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/Exporter-Lite-0.08/META.json 
new/Exporter-Lite-0.09/META.json
--- old/Exporter-Lite-0.08/META.json    2016-01-13 20:37:41.000000000 +0100
+++ new/Exporter-Lite-0.09/META.json    2022-03-03 11:05:33.000000000 +0100
@@ -4,13 +4,13 @@
       "unknown"
    ],
    "dynamic_config" : 1,
-   "generated_by" : "ExtUtils::MakeMaker version 7.02, CPAN::Meta::Converter 
version 2.150005",
+   "generated_by" : "ExtUtils::MakeMaker version 7.34, CPAN::Meta::Converter 
version 2.150010",
    "license" : [
       "perl_5"
    ],
    "meta-spec" : {
       "url" : "http://search.cpan.org/perldoc?CPAN::Meta::Spec";,
-      "version" : "2"
+      "version" : 2
    },
    "name" : "Exporter-Lite",
    "no_index" : {
@@ -52,6 +52,6 @@
          "web" : "https://github.com/neilb/Exporter-Lite";
       }
    },
-   "version" : "0.08",
-   "x_serialization_backend" : "JSON::PP version 2.27203"
+   "version" : "0.09",
+   "x_serialization_backend" : "JSON::PP version 2.97001"
 }
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/Exporter-Lite-0.08/META.yml 
new/Exporter-Lite-0.09/META.yml
--- old/Exporter-Lite-0.08/META.yml     2016-01-13 20:37:41.000000000 +0100
+++ new/Exporter-Lite-0.09/META.yml     2022-03-03 11:05:33.000000000 +0100
@@ -8,7 +8,7 @@
 configure_requires:
   ExtUtils::MakeMaker: '6.3'
 dynamic_config: 1
-generated_by: 'ExtUtils::MakeMaker version 7.02, CPAN::Meta::Converter version 
2.150005'
+generated_by: 'ExtUtils::MakeMaker version 7.34, CPAN::Meta::Converter version 
2.150010'
 license: perl
 meta-spec:
   url: http://module-build.sourceforge.net/META-spec-v1.4.html
@@ -25,5 +25,5 @@
   warnings: '0'
 resources:
   repository: https://github.com/neilb/Exporter-Lite.git
-version: '0.08'
-x_serialization_backend: 'CPAN::Meta::YAML version 0.016'
+version: '0.09'
+x_serialization_backend: 'CPAN::Meta::YAML version 0.018'
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/Exporter-Lite-0.08/lib/Exporter/Lite.pm 
new/Exporter-Lite-0.09/lib/Exporter/Lite.pm
--- old/Exporter-Lite-0.08/lib/Exporter/Lite.pm 2016-01-13 20:35:39.000000000 
+0100
+++ new/Exporter-Lite-0.09/lib/Exporter/Lite.pm 2022-03-03 11:04:22.000000000 
+0100
@@ -4,7 +4,7 @@
 use warnings;
 use strict;
 
-our $VERSION = '0.08';
+our $VERSION = '0.09';
 our @EXPORT = qw(import);
 
 
@@ -20,7 +20,7 @@
     else {
         # Because @EXPORT_OK = () would indicate that nothing is
         # to be exported, we cannot simply check the length of @EXPORT_OK.
-        # We must to oddness to see if the variable exists at all as
+        # We must do oddness to see if the variable exists at all as
         # well as avoid autovivification.
         # XXX idea stolen from base.pm, this might be all unnecessary
         my $eokglob;
@@ -110,14 +110,31 @@
 It supports C<import()>, C<@EXPORT> and
 C<@EXPORT_OK> and not a whole lot else.
 
-Unlike Exporter, it is not necessary to inherit from Exporter::Lite;
-Ie you don't need to write:
-
- @ISA = qw(Exporter::Lite);
-
 Exporter::Lite simply exports its import() function into your namespace.
 This might be called a "mix-in" or a "role".
 
+When C<Exporter::Lite> was written, if you wanted to use C<Exporter>
+you had to write something like this:
+
+ use Exporter;
+ our @ISA = qw/ Exporter /;
+
+C<Exporter::Lite> saved you from writing that second line.
+But since before 2010 you've been able to write:
+
+ use Exporter qw/ import /;
+
+Which imports the C<import> function into your namespace from C<Exporter>.
+As a result, I would recommend that you use C<Exporter> now,
+as it's a core module (shipped with Perl).
+
+To make sure you get a version of C<Exporter> that supports the
+above usage, specify a minimum version when you C<use> it:
+
+ use Exporter 5.57 qw/ import /;
+
+=head2 Back to C<Exporter::Lite>
+
 Setting up a module to export its variables and functions is simple:
 
     package My::Module;

Reply via email to