Hello community,
here is the log from the commit of package perl-Test-Manifest for openSUSE:Factory
checked in at Fri Sep 3 16:44:59 CEST 2010.
--------
--- perl-Test-Manifest/perl-Test-Manifest.changes 2010-08-10 15:31:31.000000000 +0200
+++ perl-Test-Manifest/perl-Test-Manifest.changes 2010-08-27 18:02:15.000000000 +0200
@@ -1,0 +2,16 @@
+Fri Aug 27 15:44:17 UTC 2010 - chris@computersalat.de
+
+- update to 1.23
+ * Fixed bug for missing file: previously the missing file
+ name was passed through to run_t_files, although without
+ the t/ added to its path. Test::Manifest should only
+ warn about and skip missing files.
+- 1.22_03 - Tue Jul 29 21:14:49 2008
+ * Fixed bug for missing file: previously the missing file
+ name was passed through to run_t_files, although without
+ the t/ added to its path. Test::Manifest should only
+ warn about and skip missing files.
+- recreated by cpanspec 1.78
+- noarch pkg
+
+-------------------------------------------------------------------
calling whatdependson for head-i586
Old:
----
Test-Manifest-1.22_02.tar.gz
New:
----
Test-Manifest-1.23.tar.gz
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Other differences:
------------------
++++++ perl-Test-Manifest.spec ++++++
--- /var/tmp/diff_new_pack.QoPxwg/_old 2010-09-03 16:44:07.000000000 +0200
+++ /var/tmp/diff_new_pack.QoPxwg/_new 2010-09-03 16:44:07.000000000 +0200
@@ -1,5 +1,5 @@
#
-# spec file for package perl-Test-Manifest (Version 1.22_02)
+# spec file for package perl-Test-Manifest (Version 1.23)
#
# Copyright (c) 2010 SUSE LINUX Products GmbH, Nuernberg, Germany.
#
@@ -15,48 +15,68 @@
# Please submit bugfixes or comments via http://bugs.opensuse.org/
#
+# norootforbuild
-%define cpan_name Test-Manifest
-Name: perl-%cpan_name
-Version: 1.22_02
-Release: 2
-Provides: %cpan_name
-Requires: perl = %{perl_version}
+Name: perl-Test-Manifest
+%define cpan_name Test-Manifest
+Summary: Interact with a t/test_manifest file
+Version: 1.23
+Release: 1
+License: GPL+ or Artistic
Group: Development/Libraries/Perl
-License: Perl License
Url: http://search.cpan.org/dist/Test-Manifest/
-Summary: A Perl Module that interact with a t/test_manifest file
-Source: %cpan_name-%{version}.tar.gz
+Source: http://www.cpan.org/modules/by-module/Test/Test-Manifest-%{version}.tar.gz
+BuildArch: noarch
BuildRoot: %{_tmppath}/%{name}-%{version}-build
-BuildRequires: perl-XML-Parser
+BuildRequires: perl
+%if 0%{?suse_version} < 1120
+BuildRequires: perl-macros
+%endif
+BuildRequires: perl(Test::More)
+Requires: perl = %{perl_version}
%description
-Test::Harness assumes that you want to run all of the .t files in the t/ directory in ascii-betical order during make test unless you say otherwise. This leads to some interesting naming schemes for test files to get them in the desired order. This interesting names ossify when they get into source control, and get even more interesting as more tests show up.
-
-Test::Manifest overrides the default behaviour by replacing the test_via_harness target in the Makefile. Instead of running at the t/*.t files in ascii-betical order, it looks in the t/test_manifest file to find out which tests you want to run and the order in which you want to run them. It constructs the right value for MakeMaker to do the right thing.
+Test::Harness assumes that you want to run all of the .t files in the t/
+directory in ascii-betical order during make test unless you say otherwise.
+This leads to some interesting naming schemes for test files to get them in
+the desired order. This interesting names ossify when they get into source
+control, and get even more interesting as more tests show up.
+
+Test::Manifest overrides the default behaviour by replacing the
+test_via_harness target in the Makefile. Instead of running at the t/*.t
+files in ascii-betical order, it looks in the t/test_manifest file to
+find out which tests you want to run and the order in which you want
+to run them. It constructs the right value for MakeMaker to do the right thing.
+
+Authors:
+--------
+ brian d foy,
%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_process_packlist
+%perl_make_install
+# do not perl_process_packlist (noarch)
+# remove .packlist file
+%{__rm} -rf $RPM_BUILD_ROOT%perl_vendorarch
+# remove perllocal.pod file
+%{__rm} -rf $RPM_BUILD_ROOT%perl_archlib
+%perl_gen_filelist
%clean
-# clean up the hard disc after build
-rm -rf $RPM_BUILD_ROOT
+%{__rm} -rf $RPM_BUILD_ROOT
-%files
-%defattr(-,root,root)
-%doc %{_mandir}/man?/*
-%{perl_vendorlib}/Test
-%{perl_vendorarch}/auto/Test
-/var/adm/perl-modules/%{name}
+%files -f %{name}.files
+%defattr(-,root,root,-)
+%doc Changes LICENSE README test_manifest test_manifest_levels test_manifest_with_include
%changelog
++++++ Test-Manifest-1.22_02.tar.gz -> Test-Manifest-1.23.tar.gz ++++++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/Test-Manifest-1.22_02/Changes new/Test-Manifest-1.23/Changes
--- old/Test-Manifest-1.22_02/Changes 2008-01-24 13:13:44.000000000 +0100
+++ new/Test-Manifest-1.23/Changes 2009-07-17 10:05:50.000000000 +0200
@@ -1,4 +1,11 @@
-$Id: Changes 2507 2008-01-24 12:13:44Z comdog $
+1.22_03 - Tue Jul 29 21:14:49 2008
+ * Fixed bug for missing file: previously the missing file
+ name was passed through to run_t_files, although without
+ the t/ added to its path. Test::Manifest should only
+ warn about and skip missing files.
+
+1.23 - Fri Jul 17 03:04:38 2009
+ * Move everything to git and finally make a release
1.22_02 - Thu Jan 24 06:13:13 2008
* File path and unlink fixes for VMS (RT #32061). Let's see if this works.
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/Test-Manifest-1.22_02/META.yml new/Test-Manifest-1.23/META.yml
--- old/Test-Manifest-1.22_02/META.yml 2008-01-24 13:13:45.000000000 +0100
+++ new/Test-Manifest-1.23/META.yml 2009-07-17 10:05:52.000000000 +0200
@@ -1,15 +1,23 @@
--- #YAML:1.0
-name: Test-Manifest
-version: 1.22_02
-abstract: interact with a t/test_manifest file
-license: perl
-generated_by: ExtUtils::MakeMaker version 6.36
-distribution_type: module
-requires:
- ExtUtils::MakeMaker: 6.03
- Test::More: 0
-meta-spec:
- url: http://module-build.sourceforge.net/META-spec-v1.3.html
- version: 1.3
+name: Test-Manifest
+version: 1.23
+abstract: interact with a t/test_manifest file
author:
- brian d foy
+license: perl
+distribution_type: module
+configure_requires:
+ ExtUtils::MakeMaker: 0
+build_requires:
+ ExtUtils::MakeMaker: 0
+requires:
+ ExtUtils::MakeMaker: 6.03
+ Test::More: 0
+no_index:
+ directory:
+ - t
+ - inc
+generated_by: ExtUtils::MakeMaker version 6.50
+meta-spec:
+ url: http://module-build.sourceforge.net/META-spec-v1.4.html
+ version: 1.4
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/Test-Manifest-1.22_02/Makefile.PL new/Test-Manifest-1.23/Makefile.PL
--- old/Test-Manifest-1.22_02/Makefile.PL 2007-10-28 03:23:35.000000000 +0100
+++ new/Test-Manifest-1.23/Makefile.PL 2009-07-17 10:05:50.000000000 +0200
@@ -1,4 +1,3 @@
-# $Id: Makefile.PL 2349 2007-10-28 02:23:24Z comdog $
use ExtUtils::MakeMaker;
require 5.006;
@@ -21,10 +20,7 @@
'lib/Manifest.pm' => '$(INST_LIBDIR)/Manifest.pm',
},
- 'MAN3PODS' =>
- {
- 'lib/Manifest.pm' => '$(INST_MAN3DIR)/Test::Manifest.3',
- },
+ 'MAN3PODS' => {},
clean => { FILES => 'Test-Manifest-* t/test_manifest' },
);
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/Test-Manifest-1.22_02/README new/Test-Manifest-1.23/README
--- old/Test-Manifest-1.22_02/README 2007-02-09 02:31:01.000000000 +0100
+++ new/Test-Manifest-1.23/README 2009-07-17 10:05:50.000000000 +0200
@@ -1,6 +1,4 @@
-$Id: README 1373 2004-09-02 20:43:32Z comdog $
-
-You can install this using in the usual Perl fashion
+You can install this using in the usual Perl fashion:
perl Makefile.PL
make
@@ -17,11 +15,11 @@
perldoc lib/Manifest.pm
-This module is also in CVS on SourceForge
+This module is also in Github
- http://sourceforge.net/projects/brian-d-foy/
+ http://github.com/briandfoy/Test-Manifest/tree/master
Enjoy,
-brian d foy, bdfoy@cpan.org
\ No newline at end of file
+brian d foy, bdfoy@cpan.org
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/Test-Manifest-1.22_02/lib/Manifest.pm new/Test-Manifest-1.23/lib/Manifest.pm
--- old/Test-Manifest-1.22_02/lib/Manifest.pm 2008-01-24 13:10:55.000000000 +0100
+++ new/Test-Manifest-1.23/lib/Manifest.pm 2009-07-17 10:05:50.000000000 +0200
@@ -1,4 +1,3 @@
-# $Id: Manifest.pm 2506 2008-01-24 12:10:54Z comdog $
package Test::Manifest;
use strict;
@@ -14,7 +13,7 @@
@EXPORT = qw(run_t_manifest);
@EXPORT_OK = qw(get_t_files make_test_manifest manifest_name);
-$VERSION = '1.22_02';
+$VERSION = '1.23';
my $Manifest = catfile( "t", "test_manifest" );
my %SeenInclude = ();
@@ -45,29 +44,30 @@
=head1 DESCRIPTION
-Test::Harness assumes that you want to run all of the .t files in the
-t/ directory in ascii-betical order during C<make test> unless you say
+CTest::Harness assumes that you want to run all of the F<.t> files in the
+F<t/> directory in ascii-betical order during C<make test> unless you say
otherwise. This leads to some interesting naming schemes for test
files to get them in the desired order. This interesting names ossify
when they get into source control, and get even more interesting as
more tests show up.
-Test::Manifest overrides the default behaviour by replacing the
+CTest::Manifest overrides the default behaviour by replacing the
test_via_harness target in the Makefile. Instead of running at the
-t/*.t files in ascii-betical order, it looks in the t/test_manifest
+F files in ascii-betical order, it looks in the F
file to find out which tests you want to run and the order in which
you want to run them. It constructs the right value for MakeMaker to
do the right thing.
-In t/test_manifest, simply list the tests that you want to run. Their
+In F, simply list the tests that you want to run. Their
order in the file is the order in which they run. You can comment
-lines with a #, just like in Perl, and Test::Manifest will strip
+lines with a C<#>, just like in Perl, and CTest::Manifest will strip
leading and trailing whitespace from each line. It also checks that
-the specified file is actually in the t/ directory. If the file does
-not exist, it does not put its name in the list of test files to run.
+the specified file is actually in the F<t/> directory. If the file does
+not exist, it does not put its name in the list of test files to run and
+it will issue a warning.
Optionally, you can add a number after the test name in test_manifest
-to define sets of tests. See get_t_files() for more information.
+to define sets of tests. See C for more information.
=head2 Functions
@@ -92,8 +92,11 @@
local @INC = @INC;
unshift @INC, map { File::Spec->rel2abs($_) } @_[0,1];
- my( $level ) = $_[2] || ();
+ my( $level ) = $_[2] || 0;
+ print STDERR "Test::Manifest $VERSION\n"
+ if $Test::Harness::verbose;
+
print STDERR "Level is $level\n"
if $Test::Harness::verbose;
@@ -219,6 +222,13 @@
carp( "test file begins with t/ [$test]" ) if m|^t/|;
$test = catfile( "t", $test ) if -e catfile( "t", $test );
+
+ unless( -e $test )
+ {
+ carp( "test file [$test] does not exist! Skipping!" );
+ next;
+ }
+
# Make sure we don't include a test we've already seen
next if exists $SeenTest{$test};
@@ -300,13 +310,9 @@
=head1 SOURCE AVAILABILITY
-This source is part of a SourceForge project which always has the
-latest sources in CVS, as well as all of the previous releases.
-
- http://sourceforge.net/projects/brian-d-foy/
+This source is in Github:
-If, for some reason, I disappear from the world, one of the other
-members of the project can shepherd this module appropriately.
+ http://github.com/briandfoy/Test-Manifest/tree/master
=head1 CREDITS
@@ -319,7 +325,7 @@
=head1 COPYRIGHT AND LICENSE
-Copyright (c) 2002-2008 brian d foy. All rights reserved.
+Copyright (c) 2002-2009 brian d foy. All rights reserved.
This program is free software; you can redistribute it and/or modify
it under the same terms as Perl itself.
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/Test-Manifest-1.22_02/t/00load.t new/Test-Manifest-1.23/t/00load.t
--- old/Test-Manifest-1.22_02/t/00load.t 2008-01-06 21:06:49.000000000 +0100
+++ new/Test-Manifest-1.23/t/00load.t 2009-07-17 10:05:50.000000000 +0200
@@ -1,5 +1,3 @@
-# $Id: 00load.t 2478 2008-01-06 20:06:49Z comdog $
-
use Test::More tests => 1;
print "bail out! Test::Manifest could not compile.\n"
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/Test-Manifest-1.22_02/t/01get_test_files.t new/Test-Manifest-1.23/t/01get_test_files.t
--- old/Test-Manifest-1.22_02/t/01get_test_files.t 2008-01-24 13:10:55.000000000 +0100
+++ new/Test-Manifest-1.23/t/01get_test_files.t 2009-07-17 10:05:50.000000000 +0200
@@ -1,4 +1,3 @@
-# $Id: 01get_test_files.t 2506 2008-01-24 12:10:54Z comdog $
use strict;
use Test::More tests => 13;
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/Test-Manifest-1.22_02/t/01make_test_manifest.t new/Test-Manifest-1.23/t/01make_test_manifest.t
--- old/Test-Manifest-1.22_02/t/01make_test_manifest.t 2008-01-24 13:10:55.000000000 +0100
+++ new/Test-Manifest-1.23/t/01make_test_manifest.t 2009-07-17 10:05:50.000000000 +0200
@@ -1,5 +1,3 @@
-# $Id: 01make_test_manifest.t 2506 2008-01-24 12:10:54Z comdog $
-
use Test::More tests => 2;
use Test::Manifest qw(make_test_manifest);
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/Test-Manifest-1.22_02/t/99pod.t new/Test-Manifest-1.23/t/99pod.t
--- old/Test-Manifest-1.22_02/t/99pod.t 2008-01-06 21:06:49.000000000 +0100
+++ new/Test-Manifest-1.23/t/99pod.t 2009-07-17 10:05:50.000000000 +0200
@@ -1,5 +1,4 @@
-# $Id: 99pod.t 2478 2008-01-06 20:06:49Z comdog $
use Test::More;
eval "use Test::Pod 1.00";
plan skip_all => "Test::Pod 1.00 required for testing POD" if $@;
-all_pod_files_ok();
\ No newline at end of file
+all_pod_files_ok();
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/Test-Manifest-1.22_02/t/include.t new/Test-Manifest-1.23/t/include.t
--- old/Test-Manifest-1.22_02/t/include.t 2008-01-06 21:18:10.000000000 +0100
+++ new/Test-Manifest-1.23/t/include.t 2009-07-17 10:05:50.000000000 +0200
@@ -1,4 +1,3 @@
-# $Id: include.t 2479 2008-01-06 20:18:10Z comdog $
use strict;
use Test::More tests => 4;
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/Test-Manifest-1.22_02/t/pod_coverage.t new/Test-Manifest-1.23/t/pod_coverage.t
--- old/Test-Manifest-1.22_02/t/pod_coverage.t 2007-02-09 02:31:01.000000000 +0100
+++ new/Test-Manifest-1.23/t/pod_coverage.t 2009-07-17 10:05:50.000000000 +0200
@@ -1,5 +1,3 @@
-# $Id: pod_coverage.t 1633 2005-03-19 18:35:04Z comdog $
-
use Test::More;
eval "use Test::Pod::Coverage";
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Remember to have fun...
--
To unsubscribe, e-mail: opensuse-commit+unsubscribe@opensuse.org
For additional commands, e-mail: opensuse-commit+help@opensuse.org