Hello community,

here is the log from the commit of package perl-Test-Exception for 
openSUSE:Factory checked in at 2013-06-06 13:31:37
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/perl-Test-Exception (Old)
 and      /work/SRC/openSUSE:Factory/.perl-Test-Exception.new (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "perl-Test-Exception"

Changes:
--------
--- /work/SRC/openSUSE:Factory/perl-Test-Exception/perl-Test-Exception.changes  
2013-04-17 08:03:35.000000000 +0200
+++ 
/work/SRC/openSUSE:Factory/.perl-Test-Exception.new/perl-Test-Exception.changes 
    2013-06-06 13:31:39.000000000 +0200
@@ -1,0 +2,6 @@
+Tue Jun  4 15:03:12 UTC 2013 - co...@suse.com
+
+- updated to 0.32
+   Fixed tests that broke due to Test::More diagnostic changes
+
+-------------------------------------------------------------------

Old:
----
  Test-Exception-0.31.tar.gz

New:
----
  Test-Exception-0.32.tar.gz

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

Other differences:
------------------
++++++ perl-Test-Exception.spec ++++++
--- /var/tmp/diff_new_pack.ekfhtK/_old  2013-06-06 13:31:40.000000000 +0200
+++ /var/tmp/diff_new_pack.ekfhtK/_new  2013-06-06 13:31:40.000000000 +0200
@@ -17,59 +17,58 @@
 
 
 Name:           perl-Test-Exception
-%define cpan_name %( echo %{name} | %{__sed} -e 's,perl-,,' )
-Summary:        Test::Exception - Test exception based code
-License:        Artistic-1.0
-Group:          Development/Libraries/Perl
-Version:        0.31
+Version:        0.32
 Release:        0
-Url:            http://search.cpan.org/dist/Test-Exception
-Source:         
http://search.cpan.org/CPAN/authors/id/A/AD/ADIE/Test-Exception-%{version}.tar.gz
+%define cpan_name Test-Exception
+Summary:        Test exception based code
+License:        Artistic-1.0 or GPL-1.0+
+Group:          Development/Libraries/Perl
+Url:            http://search.cpan.org/dist/Test-Exception/
+Source:         
http://www.cpan.org/authors/id/A/AD/ADIE/%{cpan_name}-%{version}.tar.gz
+BuildArch:      noarch
 BuildRoot:      %{_tmppath}/%{name}-%{version}-build
-%{perl_requires}
 BuildRequires:  perl
 BuildRequires:  perl-macros
+BuildRequires:  perl(Module::Build) >= 0.38
 BuildRequires:  perl(Sub::Uplevel) >= 0.18
-BuildRequires:  perl(Test::Builder)
-BuildRequires:  perl(Test::Builder::Tester)
-BuildRequires:  perl(Test::Harness) >= 2.03
+BuildRequires:  perl(Test::Builder) >= 0.7
+BuildRequires:  perl(Test::Builder::Tester) >= 1.07
 BuildRequires:  perl(Test::More) >= 0.7
-BuildRequires:  perl(Test::Pod) >= 1.00
 BuildRequires:  perl(Test::Simple) >= 0.7
+#BuildRequires: perl(Local::Error::Simple)
+#BuildRequires: perl(Test::Exception)
 Requires:       perl(Sub::Uplevel) >= 0.18
-Requires:       perl(Test::Builder)
+Requires:       perl(Test::Builder) >= 0.7
+Requires:       perl(Test::Builder::Tester) >= 1.07
 Requires:       perl(Test::More) >= 0.7
+Requires:       perl(Test::Simple) >= 0.7
+%{perl_requires}
 
 %description
-This module provides a few convenience methods for testing exception
-based code. It is built with Test::Builder and plays happily with
-Test::More and friends.
-
-Authors:
---------
-    Adrian Howard <adri...@quietstars.com>
+This module provides a few convenience methods for testing exception based
+code. It is built with the Test::Builder manpage and plays happily with the
+Test::More manpage and friends.
+
+If you are not already familiar with the Test::More manpage now would be
+the time to go take a look.
 
 %prep
 %setup -q -n %{cpan_name}-%{version}
-echo "perlVersion: "%{perl_version}
+find . -type f -print0 | xargs -0 chmod 644
 
 %build
-perl Makefile.PL OPTIMIZE="$RPM_OPT_FLAGS -Wall"
-%{__make} %{?_smp_mflags}
+%{__perl} Build.PL installdirs=vendor
+./Build build flags=%{?_smp_mflags}
 
 %check
-%{__make} test
+./Build test
 
 %install
-%perl_make_install
-%perl_process_packlist
+./Build install destdir=%{buildroot} create_packlist=0
 %perl_gen_filelist
 
-%clean
-%{__rm} -rf $RPM_BUILD_ROOT
-
 %files -f %{name}.files
-%defattr(0644,root,root,0755)
-%doc Changes README
+%defattr(-,root,root,755)
+%doc Changes README xt
 
 %changelog

++++++ Test-Exception-0.31.tar.gz -> Test-Exception-0.32.tar.gz ++++++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/Test-Exception-0.31/Changes 
new/Test-Exception-0.32/Changes
--- old/Test-Exception-0.31/Changes     2010-10-10 13:29:13.000000000 +0200
+++ new/Test-Exception-0.32/Changes     2013-04-28 02:02:17.000000000 +0200
@@ -1,5 +1,8 @@
 Revision history for Perl extension Test::Exception:
 
+0.32   [2013-04-28] Or the "prepping for upcoming Test::Simple 0.99" release
+    -   Fixed tests that broke due to Test::More diagnostic changes
+
 0.31   [2010-10-10] Or the "Yay - an actual release!" release
     -   Same as 0.30_2
 
@@ -19,7 +22,7 @@
         getting this release out
 
 0.28_01 
-    -   Patch to fix code with Sub::Uplevel again.  Many thanks to David Golden
+    -   Patch to fix code with Sub::Uplevel again. Many thanks to David Golden
 
 0.27  [2008-02-16]
     -   Patch to fix my broken code with the now working Sub::Uplevel. Many
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/Test-Exception-0.31/MANIFEST 
new/Test-Exception-0.32/MANIFEST
--- old/Test-Exception-0.31/MANIFEST    2010-10-10 13:29:13.000000000 +0200
+++ new/Test-Exception-0.32/MANIFEST    2013-04-28 02:02:17.000000000 +0200
@@ -21,3 +21,4 @@
 xt/spelling.t
 Makefile.PL
 META.yml
+META.json
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/Test-Exception-0.31/META.json 
new/Test-Exception-0.32/META.json
--- old/Test-Exception-0.31/META.json   1970-01-01 01:00:00.000000000 +0100
+++ new/Test-Exception-0.32/META.json   2013-04-28 02:02:17.000000000 +0200
@@ -0,0 +1,46 @@
+{
+   "abstract" : "Test exception based code",
+   "author" : [
+      "Adrian Howard <adri...@quietstars.com>"
+   ],
+   "dynamic_config" : 1,
+   "generated_by" : "Module::Build version 0.38, CPAN::Meta::Converter version 
2.112621",
+   "license" : [
+      "perl_5"
+   ],
+   "meta-spec" : {
+      "url" : "http://search.cpan.org/perldoc?CPAN::Meta::Spec";,
+      "version" : "2"
+   },
+   "name" : "Test-Exception",
+   "prereqs" : {
+      "configure" : {
+         "requires" : {
+            "Module::Build" : "0.38"
+         }
+      },
+      "runtime" : {
+         "requires" : {
+            "Sub::Uplevel" : "0.18",
+            "Test::Builder" : "0.7",
+            "Test::Builder::Tester" : "1.07",
+            "Test::Harness" : "2.03",
+            "Test::More" : "0.7",
+            "Test::Simple" : "0.7"
+         }
+      }
+   },
+   "provides" : {
+      "Test::Exception" : {
+         "file" : "lib/Test/Exception.pm",
+         "version" : "0.32"
+      }
+   },
+   "release_status" : "stable",
+   "resources" : {
+      "license" : [
+         "http://dev.perl.org/licenses/";
+      ]
+   },
+   "version" : "0.32"
+}
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/Test-Exception-0.31/META.yml 
new/Test-Exception-0.32/META.yml
--- old/Test-Exception-0.31/META.yml    2010-10-10 13:29:13.000000000 +0200
+++ new/Test-Exception-0.32/META.yml    2013-04-28 02:02:17.000000000 +0200
@@ -2,9 +2,11 @@
 abstract: 'Test exception based code'
 author:
   - 'Adrian Howard <adri...@quietstars.com>'
+build_requires: {}
 configure_requires:
-  Module::Build: 0.36
-generated_by: 'Module::Build version 0.3607'
+  Module::Build: 0.38
+dynamic_config: 1
+generated_by: 'Module::Build version 0.38, CPAN::Meta::Converter version 
2.112621'
 license: perl
 meta-spec:
   url: http://module-build.sourceforge.net/META-spec-v1.4.html
@@ -13,7 +15,7 @@
 provides:
   Test::Exception:
     file: lib/Test/Exception.pm
-    version: 0.31
+    version: 0.32
 requires:
   Sub::Uplevel: 0.18
   Test::Builder: 0.7
@@ -23,4 +25,4 @@
   Test::Simple: 0.7
 resources:
   license: http://dev.perl.org/licenses/
-version: 0.31
+version: 0.32
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/Test-Exception-0.31/Makefile.PL 
new/Test-Exception-0.32/Makefile.PL
--- old/Test-Exception-0.31/Makefile.PL 2010-10-10 13:29:13.000000000 +0200
+++ new/Test-Exception-0.32/Makefile.PL 2013-04-28 02:02:17.000000000 +0200
@@ -1,4 +1,4 @@
-# Note: this file was auto-generated by Module::Build::Compat version 0.3607
+# Note: this file was auto-generated by Module::Build::Compat version 0.3800
 use ExtUtils::MakeMaker;
 WriteMakefile
 (
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/Test-Exception-0.31/README 
new/Test-Exception-0.32/README
--- old/Test-Exception-0.31/README      2010-10-10 13:29:13.000000000 +0200
+++ new/Test-Exception-0.32/README      2013-04-28 02:02:17.000000000 +0200
@@ -48,8 +48,8 @@
     If you are not already familiar with Test::More now would be the time to
     go take a look.
 
-    You can specify the test plan when you "use Test::Exception" in the same
-    way as "use Test::More". See Test::More for details.
+    You can specify the test plan when you `use Test::Exception' in the same
+    way as `use Test::More'. See Test::More for details.
 
     NOTE: Test::Exception only checks for exceptions. It will ignore other
     methods of stopping program execution - including exit(). If you have an
@@ -68,7 +68,7 @@
 
             throws_ok { read_file( 'unreadable' ) } qr/No file/, 'no file';
 
-        If your perl does not support "qr//" you can also pass a regex-like
+        If your perl does not support `qr//' you can also pass a regex-like
         string, for example:
 
             throws_ok { read_file( 'unreadable' ) } '/No file/', 'no file';
@@ -79,7 +79,7 @@
 
             throws_ok { $foo->bar } "Error::Simple", 'simple error';
 
-        Will only pass if the "bar" method throws an Error::Simple
+        Will only pass if the `bar' method throws an Error::Simple
         exception, or a subclass of an Error::Simple exception.
 
         You can get the same effect by passing an instance of the exception
@@ -108,7 +108,7 @@
         A description of the exception being checked is used if no optional
         test description is passed.
 
-        NOTE: Rememeber when you "die $string_without_a_trailing_newline"
+        NOTE: Rememeber when you `die $string_without_a_trailing_newline'
         perl will automatically add the current script line number, input
         line number and a newline. This will form part of the string that
         throws_ok regular expressions match against.
@@ -185,7 +185,7 @@
 
           is read_file('answer.txt'), "42\n", 'answer is 42';
 
-        unless "read_file('answer.txt')" dies, in which case you get the
+        unless `read_file('answer.txt')' dies, in which case you get the
         same kind of error as lives_ok()
 
           not ok 1 - answer is 42
@@ -215,49 +215,49 @@
       plan tests => 2;
       # ... tests that need Test::Exception ...
 
-    Note that we load Test::Exception in a "BEGIN" block ensuring that the
+    Note that we load Test::Exception in a `BEGIN' block ensuring that the
     subroutine prototypes are in place before the rest of the test script is
     compiled.
 
 BUGS
     There are some edge cases in Perl's exception handling where
     Test::Exception will miss exceptions thrown in DESTROY blocks. See the
-    RT bug <http://rt.cpan.org/Ticket/Display.html?id=24678> for details,
+    RT bug http://rt.cpan.org/Ticket/Display.html?id=24678 for details,
     along with the t/edge-cases.t in the distribution test suite. These will
     be addressed in a future Test::Exception release.
 
     If you find any more bugs please let me know by e-mail, or report the
-    problem with <http://rt.cpan.org/>.
+    problem with http://rt.cpan.org/.
 
 COMMUNITY
     perl-qa
         If you are interested in testing using Perl I recommend you visit
-        <http://qa.perl.org/> and join the excellent perl-qa mailing list.
-        See <http://lists.perl.org/showlist.cgi?name=perl-qa> for details on
-        how to subscribe.
+        http://qa.perl.org/ and join the excellent perl-qa mailing list. See
+        http://lists.perl.org/showlist.cgi?name=perl-qa for details on how
+        to subscribe.
 
     perlmonks
         You can find users of Test::Exception, including the module author,
-        on <http://www.perlmonks.org/>. Feel free to ask questions on
+        on http://www.perlmonks.org/. Feel free to ask questions on
         Test::Exception there.
 
     CPAN::Forum
         The CPAN Forum is a web forum for discussing Perl's CPAN modules.
         The Test::Exception forum can be found at
-        <http://www.cpanforum.com/dist/Test-Exception>.
+        http://www.cpanforum.com/dist/Test-Exception.
 
     AnnoCPAN
         AnnoCPAN is a web site that allows community annotations of Perl
         module documentation. The Test::Exception annotations can be found
-        at <http://annocpan.org/~ADIE/Test-Exception/>.
+        at http://annocpan.org/~ADIE/Test-Exception/.
 
 TO DO
     If you think this module should do something that it doesn't (or does
     something that it shouldn't) please let me know.
 
     You can see my current to do list at
-    <http://adrianh.tadalist.com/lists/public/15421>, with an RSS feed of
-    changes at <http://adrianh.tadalist.com/lists/feed_public/15421>.
+    http://adrianh.tadalist.com/lists/public/15421, with an RSS feed of
+    changes at http://adrianh.tadalist.com/lists/feed_public/15421.
 
 ACKNOWLEDGMENTS
     Thanks to chromatic and Michael G Schwern for the excellent
@@ -279,7 +279,7 @@
     useful.
 
 SEE ALSO
-    <http://del.icio.us/tag/Test::Exception>
+    http://del.icio.us/tag/Test::Exception
         Delicious links on Test::Exception.
 
     Test::Warn & Test::NoWarnings
@@ -291,10 +291,10 @@
     Test::Simple & Test::More
         Basic utilities for writing tests.
 
-    <http://qa.perl.org/test-modules.html>
+    http://qa.perl.org/test-modules.html
         Overview of some of the many testing modules available on CPAN.
 
-    <http://del.icio.us/tag/perl+testing>
+    http://del.icio.us/tag/perl+testing
         Delicious links on perl testing.
 
 LICENCE
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/Test-Exception-0.31/lib/Test/Exception.pm 
new/Test-Exception-0.32/lib/Test/Exception.pm
--- old/Test-Exception-0.31/lib/Test/Exception.pm       2010-10-10 
13:29:13.000000000 +0200
+++ new/Test-Exception-0.32/lib/Test/Exception.pm       2013-04-28 
02:02:17.000000000 +0200
@@ -6,7 +6,7 @@
 use Sub::Uplevel qw( uplevel );
 use base qw( Exporter );
 
-our $VERSION = '0.31';
+our $VERSION = '0.32';
 our @EXPORT = qw(dies_ok lives_ok throws_ok lives_and);
 
 my $Tester = Test::Builder->new;
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/Test-Exception-0.31/t/lives_and.t 
new/Test-Exception-0.32/t/lives_and.t
--- old/Test-Exception-0.31/t/lives_and.t       2010-10-10 13:29:13.000000000 
+0200
+++ new/Test-Exception-0.32/t/lives_and.t       2013-04-28 02:02:17.000000000 
+0200
@@ -25,7 +25,7 @@
 test_err("# died: oops at $filename line 11.");
 lives_and {is dies(42), 42}            'lives_and, exception';
 
-test_out('ok 3 - The object isa Foo' );
-lives_and { isa_ok( bless({}, 'Foo'), 'Foo') };
+test_out('ok 3 - the test passed' );
+lives_and { ok(1, 'the test passed') };
 
 test_test('lives_and works');

-- 
To unsubscribe, e-mail: opensuse-commit+unsubscr...@opensuse.org
For additional commands, e-mail: opensuse-commit+h...@opensuse.org

Reply via email to