Script 'mail_helper' called by obssrc
Hello community,

here is the log from the commit of package perl-UNIVERSAL-require for 
openSUSE:Factory checked in at 2021-04-12 12:36:42
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/perl-UNIVERSAL-require (Old)
 and      /work/SRC/openSUSE:Factory/.perl-UNIVERSAL-require.new.2401 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "perl-UNIVERSAL-require"

Mon Apr 12 12:36:42 2021 rev:21 rq:884099 version:0.19

Changes:
--------
--- 
/work/SRC/openSUSE:Factory/perl-UNIVERSAL-require/perl-UNIVERSAL-require.changes
    2015-04-15 16:27:27.000000000 +0200
+++ 
/work/SRC/openSUSE:Factory/.perl-UNIVERSAL-require.new.2401/perl-UNIVERSAL-require.changes
  2021-04-12 12:39:35.509524624 +0200
@@ -1,0 +2,10 @@
+Sun Mar 28 03:09:46 UTC 2021 - Tina M??ller <timueller+p...@suse.de>
+
+- updated to 0.19
+   see /usr/share/doc/packages/perl-UNIVERSAL-require/Changes
+
+  0.19 2021-03-27 NEILB
+      - Noted that the module is now deprecated
+      - Added a list of alternatives to SEE ALSO
+
+-------------------------------------------------------------------

Old:
----
  UNIVERSAL-require-0.18.tar.gz

New:
----
  UNIVERSAL-require-0.19.tar.gz
  cpanspec.yml

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

Other differences:
------------------
++++++ perl-UNIVERSAL-require.spec ++++++
--- /var/tmp/diff_new_pack.hAz8FC/_old  2021-04-12 12:39:36.149525368 +0200
+++ /var/tmp/diff_new_pack.hAz8FC/_new  2021-04-12 12:39:36.153525373 +0200
@@ -1,7 +1,7 @@
 #
 # spec file for package perl-UNIVERSAL-require
 #
-# Copyright (c) 2015 SUSE LINUX GmbH, Nuernberg, Germany.
+# Copyright (c) 2021 SUSE LLC
 #
 # All modifications and additions to the file contributed by third parties
 # remain the property of their copyright owners, unless otherwise agreed
@@ -12,26 +12,31 @@
 # 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 UNIVERSAL-require
 Name:           perl-UNIVERSAL-require
-Version:        0.18
+Version:        0.19
 Release:        0
-%define cpan_name UNIVERSAL-require
-Summary:        require() modules from a variable
-License:        Artistic-1.0 or GPL-1.0+
-Group:          Development/Libraries/Perl
-Url:            http://search.cpan.org/dist/UNIVERSAL-require/
-Source:         
http://www.cpan.org/authors/id/N/NE/NEILB/%{cpan_name}-%{version}.tar.gz
+Summary:        Require() modules from a variable [deprecated]
+License:        Artistic-1.0 OR GPL-1.0-or-later
+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}
 
 %description
+Before using this module, you should look at the alternatives, some of
+which are listed in SEE ALSO below.
+
+This module provides a safe mechanism for loading a module at runtime, when
+you have the name of the module in a variable.
+
 If you've ever had to do this...
 
     eval "require $module";
@@ -47,14 +52,14 @@
 who's not a ninth level Perl acolyte.
 
 %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
@@ -62,7 +67,6 @@
 %perl_gen_filelist
 
 %files -f %{name}.files
-%defattr(-,root,root,755)
 %doc Changes README
 
 %changelog

++++++ UNIVERSAL-require-0.18.tar.gz -> UNIVERSAL-require-0.19.tar.gz ++++++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/UNIVERSAL-require-0.18/Changes 
new/UNIVERSAL-require-0.19/Changes
--- old/UNIVERSAL-require-0.18/Changes  2015-02-24 19:08:25.000000000 +0100
+++ new/UNIVERSAL-require-0.19/Changes  2021-03-27 16:49:34.000000000 +0100
@@ -1,5 +1,9 @@
 Revision history for Perl module UNIVERSAL::require
 
+0.19 2021-03-27 NEILB
+    - Noted that the module is now deprecated
+    - Added a list of alternatives to SEE ALSO
+
 0.18 2015-02-24
     - Skip the taint test if Perl was compiled without taint support.
       RAZ++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/UNIVERSAL-require-0.18/META.json 
new/UNIVERSAL-require-0.19/META.json
--- old/UNIVERSAL-require-0.18/META.json        2015-02-24 19:08:52.000000000 
+0100
+++ new/UNIVERSAL-require-0.19/META.json        2021-03-27 16:51:33.000000000 
+0100
@@ -1,16 +1,16 @@
 {
-   "abstract" : "require() modules from a variable",
+   "abstract" : "require() modules from a variable [deprecated]",
    "author" : [
       "Michael G Schwern <schw...@pobox.com>"
    ],
    "dynamic_config" : 1,
-   "generated_by" : "ExtUtils::MakeMaker version 7.02, CPAN::Meta::Converter 
version 2.143240",
+   "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" : "UNIVERSAL-require",
    "no_index" : {
@@ -54,5 +54,6 @@
          "web" : "https://github.com/neilbowers/UNIVERSAL-require";
       }
    },
-   "version" : "0.18"
+   "version" : "0.19",
+   "x_serialization_backend" : "JSON::PP version 2.97001"
 }
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/UNIVERSAL-require-0.18/META.yml 
new/UNIVERSAL-require-0.19/META.yml
--- old/UNIVERSAL-require-0.18/META.yml 2015-02-24 19:08:52.000000000 +0100
+++ new/UNIVERSAL-require-0.19/META.yml 2021-03-27 16:51:33.000000000 +0100
@@ -1,5 +1,5 @@
 ---
-abstract: 'require() modules from a variable'
+abstract: 'require() modules from a variable [deprecated]'
 author:
   - 'Michael G Schwern <schw...@pobox.com>'
 build_requires:
@@ -7,7 +7,7 @@
 configure_requires:
   ExtUtils::MakeMaker: '0'
 dynamic_config: 1
-generated_by: 'ExtUtils::MakeMaker version 7.02, CPAN::Meta::Converter version 
2.143240'
+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
@@ -28,4 +28,5 @@
 resources:
   license: http://dev.perl.org/licenses/
   repository: git://github.com/neilbowers/UNIVERSAL-require.git
-version: '0.18'
+version: '0.19'
+x_serialization_backend: 'CPAN::Meta::YAML version 0.018'
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/UNIVERSAL-require-0.18/README 
new/UNIVERSAL-require-0.19/README
--- old/UNIVERSAL-require-0.18/README   2014-03-24 22:51:13.000000000 +0100
+++ new/UNIVERSAL-require-0.19/README   2021-03-27 16:50:09.000000000 +0100
@@ -3,6 +3,8 @@
 
 This module lets you require other modules where the module
 name is in a variable, something you can't do with the 'require' built-in.
+There are better alternatives now, so you should start by looking at
+the list in SEE ALSO.
 
 You can read a nicely formatted version of the documentation for
 this module online:
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/UNIVERSAL-require-0.18/lib/UNIVERSAL/require.pm 
new/UNIVERSAL-require-0.19/lib/UNIVERSAL/require.pm
--- old/UNIVERSAL-require-0.18/lib/UNIVERSAL/require.pm 2015-02-24 
19:07:23.000000000 +0100
+++ new/UNIVERSAL-require-0.19/lib/UNIVERSAL/require.pm 2021-03-27 
16:48:56.000000000 +0100
@@ -1,5 +1,5 @@
 package UNIVERSAL::require;
-$UNIVERSAL::require::VERSION = '0.18';
+$UNIVERSAL::require::VERSION = '0.19';
 
 # We do this because UNIVERSAL.pm uses CORE::require().  We're going
 # to put our own require() into UNIVERSAL and that makes an ambiguity.
@@ -22,7 +22,7 @@
 
 =head1 NAME
 
-UNIVERSAL::require - require() modules from a variable
+UNIVERSAL::require - require() modules from a variable [deprecated]
 
 =head1 SYNOPSIS
 
@@ -39,6 +39,12 @@
 
 =head1 DESCRIPTION
 
+Before using this module, you should look at the alternatives,
+some of which are listed in SEE ALSO below.
+
+This module provides a safe mechanism for loading a module at runtime,
+when you have the name of the module in a variable.
+
 If you've ever had to do this...
 
     eval "require $module";
@@ -192,7 +198,23 @@
 
 =head1 SEE ALSO
 
-L<Module::Load>,  L<perlfunc/require>, L<http://dev.perl.org/rfc/253.pod>
+L<Module::Load> provides functions for loading code,
+and importing functions.
+It's actively maintained.
+
+L<Module::Runtime> provides a number of usesful functions
+for require'ing and use'ing modules,
+and associated operations.
+
+L<Mojo::Loader> is a class loader and plugin framework.
+L<Module::Loader> is a stand-alone module that was inspired
+by C<Mojo::Loader>.
+
+There are many other modules that may be of interest on CPAN.
+An old review of some of them can be read at
+L<https://neilb.org/reviews/module-loading.html>.
+
+L<perlfunc/require>.
 
 =cut
 

++++++ 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:
#  baz.patch: PATCH-FIX-OPENSUSE
#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
#skip_doc: regexp_to_skip_for_doc.*
#add_doc: files to add to docs
#misc: |-
#anything else to be added to spec file
#follows directly after %files section, so it can contain new blocks or also
#changes to %files section

Reply via email to