Hello community,

here is the log from the commit of package perl-Package-DeprecationManager for 
openSUSE:Factory checked in at 2015-04-21 10:52:42
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/perl-Package-DeprecationManager (Old)
 and      /work/SRC/openSUSE:Factory/.perl-Package-DeprecationManager.new (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "perl-Package-DeprecationManager"

Changes:
--------
--- 
/work/SRC/openSUSE:Factory/perl-Package-DeprecationManager/perl-Package-DeprecationManager.changes
  2013-03-22 12:06:46.000000000 +0100
+++ 
/work/SRC/openSUSE:Factory/.perl-Package-DeprecationManager.new/perl-Package-DeprecationManager.changes
     2015-04-21 10:52:44.000000000 +0200
@@ -1,0 +2,10 @@
+Sun Apr 19 07:44:51 UTC 2015 - co...@suse.com
+
+- updated to 0.14
+   see /usr/share/doc/packages/perl-Package-DeprecationManager/Changes
+
+  0.14     2015-04-18
+  
+  - Use any() from List::Util 1.33+ instead of List::MoreUtils.
+
+-------------------------------------------------------------------

Old:
----
  Package-DeprecationManager-0.13.tar.gz

New:
----
  Package-DeprecationManager-0.14.tar.gz
  cpanspec.yml

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

Other differences:
------------------
++++++ perl-Package-DeprecationManager.spec ++++++
--- /var/tmp/diff_new_pack.d1FZAW/_old  2015-04-21 10:52:45.000000000 +0200
+++ /var/tmp/diff_new_pack.d1FZAW/_new  2015-04-21 10:52:45.000000000 +0200
@@ -1,7 +1,7 @@
 #
 # spec file for package perl-Package-DeprecationManager
 #
-# 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,47 +17,82 @@
 
 
 Name:           perl-Package-DeprecationManager
+Version:        0.14
+Release:        0
 %define cpan_name Package-DeprecationManager
 Summary:        Manage deprecation warnings for your distribution
 License:        Artistic-2.0
 Group:          Development/Libraries/Perl
-Version:        0.13
-Release:        0
 Url:            http://search.cpan.org/dist/Package-DeprecationManager/
-Source:         
http://search.cpan.org/CPAN/authors/id/D/DR/DROLSKY/Package-DeprecationManager-%{version}.tar.gz
+Source0:        
http://www.cpan.org/authors/id/D/DR/DROLSKY/%{cpan_name}-%{version}.tar.gz
+Source1:        cpanspec.yml
 BuildArch:      noarch
 BuildRoot:      %{_tmppath}/%{name}-%{version}-build
-%{perl_requires}
 BuildRequires:  perl
 BuildRequires:  perl-macros
-BuildRequires:  perl(Test::Fatal)
-BuildRequires:  perl(Test::Requires)
-%if 0%{?suse_version} >= 1130
-BuildRequires:  perl(Test::More) >= 0.88
-BuildRequires:  perl(Test::Output) => 0.16
-%else
-BuildRequires:  perl(Test::More) >= 0.88
-%endif
-BuildRequires:  perl(ExtUtils::MakeMaker) >= 6.31
-#
-BuildRequires:  perl(Carp)
-BuildRequires:  perl(List::MoreUtils)
+BuildRequires:  perl(List::Util) >= 1.33
 BuildRequires:  perl(Params::Util)
 BuildRequires:  perl(Sub::Install)
-Requires:       perl(Carp)
-Requires:       perl(List::MoreUtils)
+BuildRequires:  perl(Test::Fatal)
+BuildRequires:  perl(Test::More) >= 0.96
+BuildRequires:  perl(Test::Requires)
+Requires:       perl(List::Util) >= 1.33
 Requires:       perl(Params::Util)
 Requires:       perl(Sub::Install)
+%{perl_requires}
 
 %description
-This module allows you to manage a set of deprecations for one or
-more modules.
+This module allows you to manage a set of deprecations for one or more
+modules.
+
+When you import 'Package::DeprecationManager', you must provide a set of
+'-deprecations' as a hash ref. The keys are "feature" names, and the values
+are the version when that feature was deprecated.
+
+In many cases, you can simply use the fully qualified name of a subroutine
+or method as the feature name. This works for cases where the whole
+subroutine is deprecated. However, the feature names can be any string.
+This is useful if you don't want to deprecate an entire subroutine, just a
+certain usage.
+
+You can also provide an optional array reference in the '-ignore'
+parameter.
+
+The values to be ignored can be package names or regular expressions (made
+with 'qr//'). Use this to ignore packages in your distribution that can
+appear on the call stack when a deprecated feature is used.
+
+As part of the import process, 'Package::DeprecationManager' will export
+two subroutines into its caller. It provides an 'import()' sub for the
+caller and a 'deprecated()' sub.
+
+The 'import()' sub allows callers of _your_ class to specify an
+'-api_version' parameter. If this is supplied, then deprecation warnings
+are only issued for deprecations with API versions earlier than the one
+specified.
+
+You must call the 'deprecated()' sub in each deprecated subroutine. When
+called, it will issue a warning using 'Carp::cluck()'.
+
+The 'deprecated()' sub can be called in several ways. If you do not pass
+any arguments, it will generate an appropriate warning message. If you pass
+a single argument, this is used as the warning message.
+
+Finally, you can call it with named arguments. Currently, the only allowed
+names are 'message' and 'feature'. The 'feature' argument should correspond
+to the feature name passed in the '-deprecations' hash.
+
+If you don't explicitly specify a feature, the 'deprecated()' sub uses
+'caller()' to identify its caller, using its fully qualified subroutine
+name.
+
+A given deprecation warning is only issued once for a given package. This
+module tracks this based on both the feature name _and_ the error message
+itself. This means that if you provide several different error messages for
+the same feature, all of those errors will appear.
 
 %prep
 %setup -q -n %{cpan_name}-%{version}
-%if 0%{?suse_version} < 1130
-sed -i "s|use Test::More;|use Test::More qw(no_plan);|g" t/*.t 
-%endif
 
 %build
 %{__perl} Makefile.PL INSTALLDIRS=vendor
@@ -72,7 +107,7 @@
 %perl_gen_filelist
 
 %files -f %{name}.files
-%defattr(-,root,root,-)
-%doc Changes LICENSE README
+%defattr(-,root,root,755)
+%doc Changes LICENSE README.md
 
 %changelog

++++++ Package-DeprecationManager-0.13.tar.gz -> 
Package-DeprecationManager-0.14.tar.gz ++++++
++++ 2923 lines of diff (skipped)

++++++ 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

Reply via email to