Hello community,

here is the log from the commit of package perl-Scope-Guard for 
openSUSE:Factory checked in at 2015-07-23 15:22:25
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/perl-Scope-Guard (Old)
 and      /work/SRC/openSUSE:Factory/.perl-Scope-Guard.new (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "perl-Scope-Guard"

Changes:
--------
--- /work/SRC/openSUSE:Factory/perl-Scope-Guard/perl-Scope-Guard.changes        
2011-09-23 12:38:41.000000000 +0200
+++ /work/SRC/openSUSE:Factory/.perl-Scope-Guard.new/perl-Scope-Guard.changes   
2015-07-23 15:22:27.000000000 +0200
@@ -1,0 +2,10 @@
+Mon Jul 20 09:08:08 UTC 2015 - [email protected]
+
+- updated to 0.21
+   see /usr/share/doc/packages/perl-Scope-Guard/Changes
+
+  0.21 Sun 19 Jul 22:14:54 2015
+      - remove useless use of UNIVERSAL::isa (#RT105948)
+        (Karen Etheridge)
+
+-------------------------------------------------------------------

Old:
----
  Scope-Guard-0.20.tar.gz

New:
----
  Scope-Guard-0.21.tar.gz
  cpanspec.yml

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

Other differences:
------------------
++++++ perl-Scope-Guard.spec ++++++
--- /var/tmp/diff_new_pack.QJWddy/_old  2015-07-23 15:22:27.000000000 +0200
+++ /var/tmp/diff_new_pack.QJWddy/_new  2015-07-23 15:22:27.000000000 +0200
@@ -1,7 +1,7 @@
 #
 # spec file for package perl-Scope-Guard
 #
-# 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,51 +16,50 @@
 #
 
 
+Name:           perl-Scope-Guard
+Version:        0.21
+Release:        0
 %define cpan_name Scope-Guard
-
-Name:           perl-%cpan_name
-Version:        0.20
-Release:        1
-Provides:       %cpan_name
+Summary:        Lexically-Scoped Resource Management
+License:        Artistic-1.0 or GPL-1.0+
 Group:          Development/Libraries/Perl
-License:        Artistic-1.0
 Url:            http://search.cpan.org/dist/Scope-Guard/
-Summary:        Lexically scoped resource management
-Source:         %cpan_name-%{version}.tar.gz
+Source0:        
http://www.cpan.org/authors/id/C/CH/CHOCOLATE/%{cpan_name}-%{version}.tar.gz
+Source1:        cpanspec.yml
+BuildArch:      noarch
 BuildRoot:      %{_tmppath}/%{name}-%{version}-build
-%{perl_requires}
-BuildRequires:  perl-Test-Pod perl-Test-Pod-Coverage
+BuildRequires:  perl
 BuildRequires:  perl-macros
+%{perl_requires}
 
 %description
 This module provides a convenient way to perform cleanup or other forms of
 resource management at the end of a scope. It is particularly useful when
-dealing with exceptions: the Scope::Guard constructor takes a reference to
-a subroutine that is guaranteed to be called even if the thread of execution
-is aborted prematurely. This effectively allows lexically-scoped "promises"
-to be made that are automatically honoured by perl's garbage collector.
+dealing with exceptions: the 'Scope::Guard' constructor takes a reference
+to a subroutine that is guaranteed to be called even if the thread of
+execution is aborted prematurely. This effectively allows lexically-scoped
+"promises" to be made that are automatically honoured by perl's garbage
+collector.
+
+For more information, see: the http://www.drdobbs.com/cpp/184403758 manpage
 
 %prep
-%setup -q -n %cpan_name-%{version}
+%setup -q -n %{cpan_name}-%{version}
 
 %build
-perl Makefile.PL OPTIMIZE="$RPM_OPT_FLAGS -Wall"
-make
-make test
+%{__perl} Makefile.PL INSTALLDIRS=vendor
+%{__make} %{?_smp_mflags}
+
+%check
+%{__make} test
 
 %install
-make DESTDIR=$RPM_BUILD_ROOT install_vendor
+%perl_make_install
 %perl_process_packlist
+%perl_gen_filelist
 
-%clean
-# clean up the hard disc after build
-rm -rf $RPM_BUILD_ROOT
-
-%files
-%defattr(-,root,root)
-%doc %{_mandir}/man?/*
-%{perl_vendorlib}/Scope
-%{perl_vendorarch}/auto/Scope
-%doc Changes MANIFEST README 
+%files -f %{name}.files
+%defattr(-,root,root,755)
+%doc Changes README
 
 %changelog

++++++ Scope-Guard-0.20.tar.gz -> Scope-Guard-0.21.tar.gz ++++++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/Scope-Guard-0.20/Changes new/Scope-Guard-0.21/Changes
--- old/Scope-Guard-0.20/Changes        2010-05-16 09:54:51.000000000 +0200
+++ new/Scope-Guard-0.21/Changes        2015-07-20 00:06:01.000000000 +0200
@@ -1,5 +1,9 @@
 Revision history for Perl extension Scope::Guard.
 
+0.21 Sun 19 Jul 22:14:54 2015
+    - remove useless use of UNIVERSAL::isa (#RT105948)
+      (Karen Etheridge)
+
 0.20 Sun May 16 08:50:59 2010
     - raise exception if guards are created anonymously (void context)
       (thanks Tim Bunce and Graham Knop)
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/Scope-Guard-0.20/MANIFEST 
new/Scope-Guard-0.21/MANIFEST
--- old/Scope-Guard-0.20/MANIFEST       2010-05-16 09:41:56.000000000 +0200
+++ new/Scope-Guard-0.21/MANIFEST       2015-07-20 00:13:22.000000000 +0200
@@ -7,3 +7,4 @@
 t/guard.t
 t/new.t
 t/scope_guard.t
+META.json                                Module JSON meta-data (added by 
MakeMaker)
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/Scope-Guard-0.20/META.json 
new/Scope-Guard-0.21/META.json
--- old/Scope-Guard-0.20/META.json      1970-01-01 01:00:00.000000000 +0100
+++ new/Scope-Guard-0.21/META.json      2015-07-20 00:13:22.000000000 +0200
@@ -0,0 +1,53 @@
+{
+   "abstract" : "lexically-scoped resource management",
+   "author" : [
+      "chocolateboy <[email protected]>"
+   ],
+   "dynamic_config" : 1,
+   "generated_by" : "ExtUtils::MakeMaker version 7.0401, CPAN::Meta::Converter 
version 2.150005",
+   "license" : [
+      "perl_5"
+   ],
+   "meta-spec" : {
+      "url" : "http://search.cpan.org/perldoc?CPAN::Meta::Spec";,
+      "version" : "2"
+   },
+   "name" : "Scope-Guard",
+   "no_index" : {
+      "directory" : [
+         "t",
+         "inc"
+      ]
+   },
+   "prereqs" : {
+      "build" : {
+         "requires" : {
+            "Test::More" : "0"
+         }
+      },
+      "configure" : {
+         "requires" : {
+            "ExtUtils::MakeMaker" : "0"
+         }
+      },
+      "runtime" : {
+         "requires" : {
+            "perl" : "5.006001"
+         }
+      }
+   },
+   "release_status" : "stable",
+   "resources" : {
+      "bugtracker" : {
+         "web" : "https://github.com/chocolateboy/Scope-Guard/issues";
+      },
+      "repository" : {
+         "url" : "https://github.com/chocolateboy/Scope-Guard";
+      }
+   },
+   "version" : "0.21",
+   "x_serialization_backend" : "JSON::PP version 2.27300",
+   "x_test_requires" : {
+      "Test::More" : 0
+   }
+}
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/Scope-Guard-0.20/META.yml 
new/Scope-Guard-0.21/META.yml
--- old/Scope-Guard-0.20/META.yml       2010-05-16 10:05:33.000000000 +0200
+++ new/Scope-Guard-0.21/META.yml       2015-07-20 00:13:22.000000000 +0200
@@ -1,22 +1,28 @@
---- #YAML:1.0
-name:               Scope-Guard
-version:            0.20
-abstract:           lexically-scoped resource management
+---
+abstract: 'lexically-scoped resource management'
 author:
-    - chocolateboy <[email protected]>
-license:            perl
-distribution_type:  module
-configure_requires:
-    ExtUtils::MakeMaker:  0
+  - 'chocolateboy <[email protected]>'
 build_requires:
-    Test::More:  0
-requires:
-    perl:  5.006001
-no_index:
-    directory:
-        - t
-        - inc
-generated_by:       ExtUtils::MakeMaker version 6.56
+  Test::More: '0'
+configure_requires:
+  ExtUtils::MakeMaker: '0'
+dynamic_config: 1
+generated_by: 'ExtUtils::MakeMaker version 7.0401, CPAN::Meta::Converter 
version 2.150005'
+license: perl
 meta-spec:
-    url:      http://module-build.sourceforge.net/META-spec-v1.4.html
-    version:  1.4
+  url: http://module-build.sourceforge.net/META-spec-v1.4.html
+  version: '1.4'
+name: Scope-Guard
+no_index:
+  directory:
+    - t
+    - inc
+requires:
+  perl: '5.006001'
+resources:
+  bugtracker: https://github.com/chocolateboy/Scope-Guard/issues
+  repository: https://github.com/chocolateboy/Scope-Guard
+version: '0.21'
+x_serialization_backend: 'CPAN::Meta::YAML version 0.012'
+x_test_requires:
+  Test::More: 0
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/Scope-Guard-0.20/Makefile.PL 
new/Scope-Guard-0.21/Makefile.PL
--- old/Scope-Guard-0.20/Makefile.PL    2010-04-03 02:17:20.000000000 +0200
+++ new/Scope-Guard-0.21/Makefile.PL    2015-07-20 00:06:01.000000000 +0200
@@ -5,7 +5,9 @@
 
 use ExtUtils::MakeMaker;
 
-WriteMakefile1(
+my $EUMM_VERSION = eval($ExtUtils::MakeMaker::VERSION);
+
+WriteMakefile(
     MIN_PERL_VERSION => '5.006001',
     BUILD_REQUIRES   => {
         'Test::More' => 0,
@@ -14,24 +16,19 @@
     VERSION_FROM  => 'lib/Scope/Guard.pm',
     ABSTRACT_FROM => 'lib/Scope/Guard.pm',
     AUTHOR        => 'chocolateboy <[email protected]>',
-    LICENSE       => 'perl'
+    LICENSE       => 'perl',
+    ($EUMM_VERSION >= 6.48 ? (MIN_PERL_VERSION => '5.6.1') : ()),
+    ($EUMM_VERSION >= 6.31 ? (LICENSE => 'perl') : ()),
+    ($EUMM_VERSION >= 6.46 ?
+        (META_MERGE => {
+            test_requires => {
+                'Test::More' => 0,
+            },
+            resources => {
+                repository => 'https://github.com/chocolateboy/Scope-Guard',
+                bugtracker => 
'https://github.com/chocolateboy/Scope-Guard/issues',
+            },
+        })
+        : ()
+    ),
 );
-
-sub WriteMakefile1 { # Written by Alexandr Ciornii, version 0.21. Added by 
eumm-upgrade.
-    my %params       = @_;
-    my $eumm_version = $ExtUtils::MakeMaker::VERSION;
-    $eumm_version = eval $eumm_version;
-    die "EXTRA_META is deprecated" if exists $params{EXTRA_META};
-    die "License not specified" if not exists $params{LICENSE};
-    if ($params{BUILD_REQUIRES} and $eumm_version < 6.5503) {
-        # EUMM 6.5502 has problems with BUILD_REQUIRES
-        $params{PREREQ_PM} = { %{ $params{PREREQ_PM} || {} }, %{ 
$params{BUILD_REQUIRES} } };
-        delete $params{BUILD_REQUIRES};
-    }
-    delete $params{MIN_PERL_VERSION}   if $eumm_version < 6.48;
-    delete $params{LICENSE}            if $eumm_version < 6.31;
-    delete $params{AUTHOR}             if $] < 5.005;
-    delete $params{ABSTRACT_FROM}      if $] < 5.005;
-
-    WriteMakefile(%params);
-}
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/Scope-Guard-0.20/README new/Scope-Guard-0.21/README
--- old/Scope-Guard-0.20/README 2010-05-16 09:50:40.000000000 +0200
+++ new/Scope-Guard-0.21/README 2015-07-20 00:06:01.000000000 +0200
@@ -1,4 +1,4 @@
-Scope-Guard version 0.20
+Scope-Guard version 0.21
 ========================
 
 This module provides a convenient way to perform cleanup or other forms of 
resource
@@ -21,7 +21,7 @@
 
 COPYRIGHT AND LICENCE
 
-Copyright (c) 2005-2010 by chocolateboy <[email protected]>
+Copyright (c) 2005-2015 by chocolateboy <[email protected]>
 
 This library is free software; you can redistribute it and/or modify
 it under the same terms as Perl itself, either Perl version 5.8.6 or,
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/Scope-Guard-0.20/lib/Scope/Guard.pm 
new/Scope-Guard-0.21/lib/Scope/Guard.pm
--- old/Scope-Guard-0.20/lib/Scope/Guard.pm     2010-05-16 10:04:07.000000000 
+0200
+++ new/Scope-Guard-0.21/lib/Scope/Guard.pm     2015-07-20 00:07:36.000000000 
+0200
@@ -8,7 +8,7 @@
 
 our @ISA = qw(Exporter);
 our @EXPORT_OK = qw(guard scope_guard);
-our $VERSION = '0.20';
+our $VERSION = '0.21';
 
 sub new {
     confess "Can't create a Scope::Guard in void context" unless (defined 
wantarray);
@@ -18,7 +18,7 @@
     my $ref = ref $handler || '';
 
     die "Scope::Guard::new: invalid handler - expected CODE ref, got: '$ref'"
-        unless (UNIVERSAL::isa($handler, 'CODE'));
+        unless ref($handler) eq 'CODE';
 
     bless [ 0, $handler ], ref $class || $class;
 }
@@ -115,7 +115,7 @@
 e.g.
 
     my $guard = guard { ... };
-    
+
 Note: calling C<guard> anonymously, i.e. in void context, will raise an 
exception.
 This is because anonymous guards are destroyed B<immediately>
 (rather than at the end of the scope), which is unlikely to be the desired 
behaviour.
@@ -139,7 +139,7 @@
 
 =head1 VERSION
 
-0.20
+0.21
 
 =head1 SEE ALSO
 
@@ -175,7 +175,7 @@
 
 =head1 COPYRIGHT
 
-Copyright (c) 2005-2010, chocolateboy.
+Copyright (c) 2005-2015, chocolateboy.
 
 This module is free software. It may be used, redistributed and/or modified 
under the same terms
 as Perl itself.

++++++ cpanspec.yml ++++++
---
#description_paragraphs: 3
#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_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

Reply via email to