Hello community,

here is the log from the commit of package perl-Tie-Cycle for openSUSE:Factory 
checked in at 2015-04-25 21:15:09
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/perl-Tie-Cycle (Old)
 and      /work/SRC/openSUSE:Factory/.perl-Tie-Cycle.new (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "perl-Tie-Cycle"

Changes:
--------
--- /work/SRC/openSUSE:Factory/perl-Tie-Cycle/perl-Tie-Cycle.changes    
2013-11-07 12:53:40.000000000 +0100
+++ /work/SRC/openSUSE:Factory/.perl-Tie-Cycle.new/perl-Tie-Cycle.changes       
2015-04-25 21:15:10.000000000 +0200
@@ -1,0 +2,13 @@
+Tue Apr 14 20:38:26 UTC 2015 - [email protected]
+
+- updated to 1.21
+   see /usr/share/doc/packages/perl-Tie-Cycle/Changes
+
+  1.21 - Fri Oct  3 22:08:25 2014
+       * Update Makefile for better META data
+  
+  1.19_01 - Mon Sep  2 10:51:42 2013
+       * Take out // (5.10 feature I used without thought) to restore
+       5.8 compatibility.
+
+-------------------------------------------------------------------

Old:
----
  Tie-Cycle-1.19.tar.gz

New:
----
  Tie-Cycle-1.21.tar.gz

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

Other differences:
------------------
++++++ perl-Tie-Cycle.spec ++++++
--- /var/tmp/diff_new_pack.V5oAgI/_old  2015-04-25 21:15:11.000000000 +0200
+++ /var/tmp/diff_new_pack.V5oAgI/_new  2015-04-25 21:15:11.000000000 +0200
@@ -1,7 +1,7 @@
 #
 # spec file for package perl-Tie-Cycle
 #
-# 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,10 +17,10 @@
 
 
 Name:           perl-Tie-Cycle
-Version:        1.19
+Version:        1.21
 Release:        0
 %define cpan_name Tie-Cycle
-Summary:        Cycle through a list of values via a scalar.
+Summary:        Cycle through a list of values via a scalar
 License:        Artistic-1.0 or GPL-1.0+
 Group:          Development/Libraries/Perl
 Url:            http://search.cpan.org/dist/Tie-Cycle/
@@ -30,8 +30,6 @@
 BuildRequires:  perl
 BuildRequires:  perl-macros
 BuildRequires:  perl(Test::More) >= 0.95
-#BuildRequires: perl(Tie::Cycle)
-Requires:       perl(Test::More) >= 0.95
 %{perl_requires}
 
 %description
@@ -68,6 +66,6 @@
 
 %files -f %{name}.files
 %defattr(-,root,root,755)
-%doc Changes examples LICENSE MYMETA.json MYMETA.yml README
+%doc Changes examples LICENSE README
 
 %changelog

++++++ Tie-Cycle-1.19.tar.gz -> Tie-Cycle-1.21.tar.gz ++++++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/Tie-Cycle-1.19/Changes new/Tie-Cycle-1.21/Changes
--- old/Tie-Cycle-1.19/Changes  2013-08-27 19:21:17.000000000 +0200
+++ new/Tie-Cycle-1.21/Changes  2014-10-04 04:11:05.000000000 +0200
@@ -1,5 +1,12 @@
 Revision history for Perl extension Tie::Cycle.
 
+1.21 - Fri Oct  3 22:08:25 2014
+       * Update Makefile for better META data
+
+1.19_01 - Mon Sep  2 10:51:42 2013
+       * Take out // (5.10 feature I used without thought) to restore
+       5.8 compatibility.
+
 1.19 - Tue Aug 27 13:20:40 2013
        * Update for modern usage, better code
        * I use this as an example in Mastering Perl, so I shouldn't
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/Tie-Cycle-1.19/MANIFEST new/Tie-Cycle-1.21/MANIFEST
--- old/Tie-Cycle-1.19/MANIFEST 2013-08-27 19:21:19.000000000 +0200
+++ new/Tie-Cycle-1.21/MANIFEST 2014-10-04 04:11:06.000000000 +0200
@@ -3,9 +3,8 @@
 lib/Tie/Cycle.pm
 LICENSE
 Makefile.PL
-MANIFEST
-MYMETA.json
-MYMETA.yml
+MANIFEST                       This list of files
+MANIFEST.SKIP
 README
 t/cycle.t
 t/load.t
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/Tie-Cycle-1.19/MANIFEST.SKIP 
new/Tie-Cycle-1.21/MANIFEST.SKIP
--- old/Tie-Cycle-1.19/MANIFEST.SKIP    1970-01-01 01:00:00.000000000 +0100
+++ new/Tie-Cycle-1.21/MANIFEST.SKIP    2014-10-04 04:11:05.000000000 +0200
@@ -0,0 +1,64 @@
+
+#!start included /usr/local/perls/perl-5.14.2/lib/5.14.2/ExtUtils/MANIFEST.SKIP
+# Avoid version control files.
+\bRCS\b
+\bCVS\b
+\bSCCS\b
+,v$
+\B\.svn\b
+\B\.git\b
+\B\.gitignore\b
+\b_darcs\b
+\B\.cvsignore$
+
+# Avoid VMS specific MakeMaker generated files
+\bDescrip.MMS$
+\bDESCRIP.MMS$
+\bdescrip.mms$
+
+# Avoid Makemaker generated and utility files.
+\bMANIFEST\.bak
+\bMakefile$
+\bblib/
+\bMakeMaker-\d
+\bpm_to_blib\.ts$
+\bpm_to_blib$
+\bblibdirs\.ts$         # 6.18 through 6.25 generated this
+
+# Avoid Module::Build generated and utility files.
+\bBuild$
+\b_build/
+\bBuild.bat$
+\bBuild.COM$
+\bBUILD.COM$
+\bbuild.com$
+
+# Avoid temp and backup files.
+~$
+\.old$
+\#$
+\b\.#
+\.bak$
+\.tmp$
+\.#
+\.rej$
+
+# Avoid OS-specific files/dirs
+# Mac OSX metadata
+\B\.DS_Store
+# Mac OSX SMB mount metadata files
+\B\._
+
+# Avoid Devel::Cover and Devel::CoverX::Covered files.
+\bcover_db\b
+\bcovered\b
+
+# Avoid MYMETA files
+^MYMETA\.
+#!end included /usr/local/perls/perl-5.14.2/lib/5.14.2/ExtUtils/MANIFEST.SKIP
+
+
+\.travis.yml
+\.releaserc
+\.gitignore
+Tie-\.*
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/Tie-Cycle-1.19/META.json new/Tie-Cycle-1.21/META.json
--- old/Tie-Cycle-1.19/META.json        2013-08-27 19:21:19.000000000 +0200
+++ new/Tie-Cycle-1.21/META.json        2014-10-04 04:11:06.000000000 +0200
@@ -4,7 +4,7 @@
       "brian d foy <[email protected]>"
    ],
    "dynamic_config" : 1,
-   "generated_by" : "ExtUtils::MakeMaker version 6.62, CPAN::Meta::Converter 
version 2.112150",
+   "generated_by" : "ExtUtils::MakeMaker version 6.86, CPAN::Meta::Converter 
version 2.120921",
    "license" : [
       "perl_5"
    ],
@@ -19,6 +19,28 @@
          "inc"
       ]
    },
+   "prereqs" : {
+      "build" : {
+         "requires" : {
+            "ExtUtils::MakeMaker" : "0"
+         }
+      },
+      "configure" : {
+         "requires" : {
+            "ExtUtils::MakeMaker" : "6.64"
+         }
+      },
+      "runtime" : {
+         "requires" : {
+            "Carp" : "0"
+         }
+      },
+      "test" : {
+         "requires" : {
+            "Test::More" : "0.95"
+         }
+      }
+   },
    "release_status" : "stable",
    "resources" : {
       "repository" : {
@@ -26,5 +48,5 @@
          "web" : "https://github.com/briandfoy/tie-cycle";
       }
    },
-   "version" : "1.19"
+   "version" : "1.21"
 }
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/Tie-Cycle-1.19/META.yml new/Tie-Cycle-1.21/META.yml
--- old/Tie-Cycle-1.19/META.yml 2013-08-27 19:21:19.000000000 +0200
+++ new/Tie-Cycle-1.21/META.yml 2014-10-04 04:11:06.000000000 +0200
@@ -2,9 +2,13 @@
 abstract: 'Cycle through a list of values via a scalar'
 author:
   - 'brian d foy <[email protected]>'
-build_requires: {}
+build_requires:
+  ExtUtils::MakeMaker: 0
+  Test::More: 0.95
+configure_requires:
+  ExtUtils::MakeMaker: 6.64
 dynamic_config: 1
-generated_by: 'ExtUtils::MakeMaker version 6.62, CPAN::Meta::Converter version 
2.112150'
+generated_by: 'ExtUtils::MakeMaker version 6.86, CPAN::Meta::Converter version 
2.120921'
 license: perl
 meta-spec:
   url: http://module-build.sourceforge.net/META-spec-v1.4.html
@@ -14,6 +18,8 @@
   directory:
     - t
     - inc
+requires:
+  Carp: 0
 resources:
   repository: https://github.com/briandfoy/tie-cycle
-version: 1.19
+version: 1.21
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/Tie-Cycle-1.19/MYMETA.json 
new/Tie-Cycle-1.21/MYMETA.json
--- old/Tie-Cycle-1.19/MYMETA.json      2013-08-27 19:21:18.000000000 +0200
+++ new/Tie-Cycle-1.21/MYMETA.json      1970-01-01 01:00:00.000000000 +0100
@@ -1,30 +0,0 @@
-{
-   "abstract" : "Cycle through a list of values via a scalar",
-   "author" : [
-      "brian d foy <[email protected]>"
-   ],
-   "dynamic_config" : 0,
-   "generated_by" : "ExtUtils::MakeMaker version 6.62, CPAN::Meta::Converter 
version 2.112150",
-   "license" : [
-      "perl_5"
-   ],
-   "meta-spec" : {
-      "url" : "http://search.cpan.org/perldoc?CPAN::Meta::Spec";,
-      "version" : "2"
-   },
-   "name" : "Tie-Cycle",
-   "no_index" : {
-      "directory" : [
-         "t",
-         "inc"
-      ]
-   },
-   "release_status" : "stable",
-   "resources" : {
-      "repository" : {
-         "type" : "git",
-         "web" : "https://github.com/briandfoy/tie-cycle";
-      }
-   },
-   "version" : "1.19"
-}
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/Tie-Cycle-1.19/MYMETA.yml 
new/Tie-Cycle-1.21/MYMETA.yml
--- old/Tie-Cycle-1.19/MYMETA.yml       2013-08-27 19:21:18.000000000 +0200
+++ new/Tie-Cycle-1.21/MYMETA.yml       1970-01-01 01:00:00.000000000 +0100
@@ -1,19 +0,0 @@
----
-abstract: 'Cycle through a list of values via a scalar'
-author:
-  - 'brian d foy <[email protected]>'
-build_requires: {}
-dynamic_config: 0
-generated_by: 'ExtUtils::MakeMaker version 6.62, CPAN::Meta::Converter version 
2.112150'
-license: perl
-meta-spec:
-  url: http://module-build.sourceforge.net/META-spec-v1.4.html
-  version: 1.4
-name: Tie-Cycle
-no_index:
-  directory:
-    - t
-    - inc
-resources:
-  repository: https://github.com/briandfoy/tie-cycle
-version: 1.19
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/Tie-Cycle-1.19/Makefile.PL 
new/Tie-Cycle-1.21/Makefile.PL
--- old/Tie-Cycle-1.19/Makefile.PL      2013-08-27 19:21:17.000000000 +0200
+++ new/Tie-Cycle-1.21/Makefile.PL      2014-10-04 04:11:05.000000000 +0200
@@ -1,4 +1,4 @@
-use ExtUtils::MakeMaker 6.46;
+use ExtUtils::MakeMaker 6.64;
 
 require 5.008;
 
@@ -11,15 +11,22 @@
        'LICENSE'       => 'perl',
        'AUTHOR'        => 'brian d foy <[email protected]>',
 
-       'PREREQ_PM'             => {
-               'Test::More'       => '0.95',
-               'Carp'             => '0',
+       'CONFIGURE_REQUIRES'  => {
+               'ExtUtils::MakeMaker' => '6.64',        
+               },
+
+       'PREREQ_PM' => {
+               'Carp' => '0',
+               },
+
+       'TEST_REQUIRES' => {
+               'Test::More' => '0.95', 
                },
 
        'clean' => { FILES => 'Tie-Cycle-*' },
 
        'META_MERGE' => {
-        'meta-spec' => { version => 2 },
+               'meta-spec' => { version => 2 },
                resources => {
                        repository => {
                                type => 'git',
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/Tie-Cycle-1.19/README new/Tie-Cycle-1.21/README
--- old/Tie-Cycle-1.19/README   2013-08-27 19:21:17.000000000 +0200
+++ new/Tie-Cycle-1.21/README   2014-10-04 04:11:05.000000000 +0200
@@ -1,5 +1,3 @@
-$Id$
-
 You can install this using in the usual Perl fashion
 
        perl Makefile.PL
@@ -15,11 +13,11 @@
 If you want to read it before you install it, you can use
 perldoc directly on the module file.
 
-       perldoc Cycle.pm
+       perldoc lib/Tie/Cycle.pm
        
-This module is also in CVS on SourceForge
+This module is also in GitHub
 
-       http://sourceforge.net/projects/brian-d-foy/
+       https://github.com/briandfoy/tie-cycle
 
 
 Enjoy, 
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/Tie-Cycle-1.19/lib/Tie/Cycle.pm 
new/Tie-Cycle-1.21/lib/Tie/Cycle.pm
--- old/Tie-Cycle-1.19/lib/Tie/Cycle.pm 2013-08-27 19:21:17.000000000 +0200
+++ new/Tie-Cycle-1.21/lib/Tie/Cycle.pm 2014-10-04 04:11:05.000000000 +0200
@@ -1,7 +1,7 @@
 package Tie::Cycle;
 use strict;
 
-our $VERSION = '1.19';
+our $VERSION = '1.21';
 
 use Carp qw(carp);
 
@@ -62,12 +62,18 @@
 
 sub _cursor  { $_[0]->[CURSOR_COL] }
 sub _count   { $_[0]->[COUNT_COL] }
-sub _item    { $_[0]->[ITEM_COL][ $_[1] // $_[0]->_cursor ] }
+sub _item    {
+       my( $self, $index ) = @_;
+       $index = defined $index ? $index : $self->_cursor;
+       $self->[ITEM_COL][ $index ] 
+       }
 
 "Tie::Cycle";
 
 __END__
 
+=encoding utf8
+
 =head1 NAME
 
 Tie::Cycle - Cycle through a list of values via a scalar.
@@ -145,3 +151,4 @@
 
 This software is available under the same terms as perl.
 
+=cut
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/Tie-Cycle-1.19/t/test_manifest 
new/Tie-Cycle-1.21/t/test_manifest
--- old/Tie-Cycle-1.19/t/test_manifest  2013-08-27 19:21:17.000000000 +0200
+++ new/Tie-Cycle-1.21/t/test_manifest  2014-10-04 04:11:05.000000000 +0200
@@ -1,6 +1,5 @@
-# $Id$
 load.t
 pod.t
 pod_coverage.t
 cycle.t
-one.t
\ No newline at end of file
+one.t


Reply via email to