Hello community,
here is the log from the commit of package perl-Params-Util for openSUSE:Factory
checked in at Sun Apr 4 20:11:12 CEST 2010.
--------
--- perl-Params-Util/perl-Params-Util.changes 2010-03-04 11:39:08.000000000 +0100
+++ /mounts/work_src_done/STABLE/perl-Params-Util/perl-Params-Util.changes 2010-04-04 19:58:41.000000000 +0200
@@ -1,0 +2,17 @@
+Sun Apr 4 17:57:21 UTC 2010 - chris@computersalat.de
+
+- spec mods
+ - fixed HEADER
+ - updated Url
+ - fixed perl-macros deps
+
+-------------------------------------------------------------------
+Sun Mar 21 17:57:30 UTC 2010 - lars@linux-schulserver.de
+
+- update to 1.01:
+ + Fixed can_cc() bug in Makefile.PL where it was checking an
+ existence of PATH directory rather than executables. RT#55668
+ (DGOLDEN, MIYAGAWA)
+- build parallel
+
+-------------------------------------------------------------------
calling whatdependson for head-i586
Old:
----
Params-Util-1.00.tar.bz2
New:
----
Params-Util-1.01.tar.bz2
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Other differences:
------------------
++++++ perl-Params-Util.spec ++++++
--- /var/tmp/diff_new_pack.mQ3UyO/_old 2010-04-04 20:10:44.000000000 +0200
+++ /var/tmp/diff_new_pack.mQ3UyO/_new 2010-04-04 20:10:44.000000000 +0200
@@ -1,5 +1,5 @@
#
-# spec file for package perl-Params-Util (Version 1.00)
+# spec file for package perl-Params-Util (Version 1.01)
#
# Copyright (c) 2010 SUSE LINUX Products GmbH, Nuernberg, Germany.
#
@@ -15,21 +15,22 @@
# Please submit bugfixes or comments via http://bugs.opensuse.org/
#
-# norootforbuild
Name: perl-Params-Util
%define cpan_name %( echo %{name} | %{__sed} -e 's,perl-,,' )
Summary: Simple, compact and correct param-checking functions
-Version: 1.00
-Release: 2
+Version: 1.01
+Release: 1
License: Artistic
Group: Development/Libraries/Perl
-Url: http://search.cpan.org/perldoc?Params::Util
+Url: http://search.cpan.org/dist/Params-Util
Source: %{cpan_name}-%{version}.tar.bz2
BuildRoot: %{_tmppath}/%{name}-%{version}-build
BuildRequires: perl
+%if 0%{?suse_version} < 1120
BuildRequires: perl-macros
+%endif
BuildRequires: perl(Scalar::Util) >= 1.18
BuildRequires: perl(Test::More) >= 0.42
BuildRequires: perl(File::Spec) >= 0.80
@@ -39,40 +40,39 @@
Requires: perl(File::Spec) >= 0.80
%description
-
- %{cpan_name} module for perl
-
- Params::Util provides a basic set of importable functions that makes checking
- parameters a hell of a lot easier While they can be (and are) used in other
- contexts, the main point behind this module is that the functions both Do What
- You Mean, and Do The Right Thing, so they are most useful when you are getting
- params passed into your code from someone and/or somewhere else and you can't
- really trust the quality.
-
- Thus, Params::Util is of most use at the edges of your API, where params and
- data are coming in from outside your code. The functions provided by
- Params::Util check in the most strictly correct manner known, are documented as
- thoroughly as possible so their exact behaviour is clear, and heavily tested so
- make sure they are not fooled by weird data and Really Bad Things.
-
- To use, simply load the module providing the functions you want to use as
- arguments (as shown in the SYNOPSIS).
-
- To aid in maintainability, Params::Util will never export by default.
-
- You must explicitly name the functions you want to export, or use the :ALL
- param to just have it export everything (although this is not recommended if
- you have any _FOO functions yourself with which future additions to
- Params::Util may clash)
-
- Author: Adam Kennedy
+Params::Util provides a basic set of importable functions that makes checking
+parameters a hell of a lot easier While they can be (and are) used in other
+contexts, the main point behind this module is that the functions both Do What
+You Mean, and Do The Right Thing, so they are most useful when you are getting
+params passed into your code from someone and/or somewhere else and you can't
+really trust the quality.
+
+Thus, Params::Util is of most use at the edges of your API, where params and
+data are coming in from outside your code. The functions provided by
+Params::Util check in the most strictly correct manner known, are documented as
+thoroughly as possible so their exact behaviour is clear, and heavily tested so
+make sure they are not fooled by weird data and Really Bad Things.
+
+To use, simply load the module providing the functions you want to use as
+arguments (as shown in the SYNOPSIS).
+
+To aid in maintainability, Params::Util will never export by default.
+
+You must explicitly name the functions you want to export, or use the :ALL
+param to just have it export everything (although this is not recommended if
+you have any _FOO functions yourself with which future additions to
+Params::Util may clash)
+
+Author:
+-------
+ Adam Kennedy
%prep
%setup -q -n %{cpan_name}-%{version}
%build
perl Makefile.PL OPTIMIZE="$RPM_OPT_FLAGS -Wall"
-%{__make}
+%{__make} %{?jobs:-j%jobs}
%check
%{__make} test
@@ -88,6 +88,6 @@
%files -f %{name}.files
# normally you only need to check for doc files
%defattr(-,root,root)
-%doc README
+%doc Changes LICENSE README
%changelog
++++++ Params-Util-1.00.tar.bz2 -> Params-Util-1.01.tar.bz2 ++++++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/Params-Util-1.00/Changes new/Params-Util-1.01/Changes
--- old/Params-Util-1.00/Changes 2009-05-30 20:32:28.000000000 +0200
+++ new/Params-Util-1.01/Changes 2010-03-18 02:17:07.000000000 +0100
@@ -1,5 +1,9 @@
Revision history for Perl extension Params-Util
+1.01 Thu 18 Mar 2010
+ - Fixed can_cc() bug in Makefile.PL where it was checking an existence
+ of PATH directory rather than executables. RT#55668 (DGOLDEN, MIYAGAWA)
+
1.00 Sun 31 May 2009
- Now all known XS bugs are worked out, I've removed
the experimental flags and set that as the first 1+ release.
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/Params-Util-1.00/MANIFEST new/Params-Util-1.01/MANIFEST
--- old/Params-Util-1.00/MANIFEST 2009-05-30 20:33:13.000000000 +0200
+++ new/Params-Util-1.01/MANIFEST 2010-03-18 02:17:26.000000000 +0100
@@ -23,9 +23,6 @@
t/17_handle.t
t/18_driver.t
t/19_insideout.t
-t/97_meta.t
-t/98_pod.t
-t/99_pmv.t
t/driver/A.pm
t/driver/B.pm
t/driver/D.pm
@@ -35,3 +32,6 @@
t/handles/handle.txt
t/handles/readfile.txt
Util.xs
+xt/meta.t
+xt/pmv.t
+xt/pod.t
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/Params-Util-1.00/META.yml new/Params-Util-1.01/META.yml
--- old/Params-Util-1.00/META.yml 2009-05-30 20:32:29.000000000 +0200
+++ new/Params-Util-1.01/META.yml 2010-03-18 02:17:08.000000000 +0100
@@ -26,4 +26,4 @@
resources:
ChangeLog: http://fisheye2.atlassian.com/changelog/cpan/trunk/Params-Util
repository: http://svn.ali.as/cpan/trunk/Params-Util
-version: 1.00
+version: 1.01
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/Params-Util-1.00/Makefile.PL new/Params-Util-1.01/Makefile.PL
--- old/Params-Util-1.00/Makefile.PL 2009-05-30 20:32:28.000000000 +0200
+++ new/Params-Util-1.01/Makefile.PL 2010-03-18 02:17:07.000000000 +0100
@@ -96,7 +96,6 @@
# Support Functions (adapted from Module::Install)
sub can_cc {
- my $self = shift;
my @chunks = split(/ /, $Config::Config{cc}) or return;
# $Config{cc} may contain args; try to find out the program part
@@ -108,14 +107,14 @@
}
sub can_run {
- my ($self, $cmd) = @_;
+ my ($cmd) = @_;
my $_cmd = $cmd;
return $_cmd if (-x $_cmd or $_cmd = MM->maybe_command($_cmd));
for my $dir ((split /$Config::Config{path_sep}/, $ENV{PATH}), '.') {
next if $dir eq '';
- my $abs = File::Spec->catfile($dir, $_[1]);
+ my $abs = File::Spec->catfile($dir, $cmd);
return $abs if (-x $abs or $abs = MM->maybe_command($abs));
}
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/Params-Util-1.00/README new/Params-Util-1.01/README
--- old/Params-Util-1.00/README 2009-05-30 20:32:28.000000000 +0200
+++ new/Params-Util-1.01/README 2010-03-18 02:17:07.000000000 +0100
@@ -378,7 +378,7 @@
Params::Validate
COPYRIGHT
- Copyright 2005 - 2009 Adam Kennedy.
+ Copyright 2005 - 2010 Adam Kennedy.
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/Params-Util-1.00/lib/Params/Util.pm new/Params-Util-1.01/lib/Params/Util.pm
--- old/Params-Util-1.00/lib/Params/Util.pm 2009-05-30 20:32:28.000000000 +0200
+++ new/Params-Util-1.01/lib/Params/Util.pm 2010-03-18 02:17:07.000000000 +0100
@@ -64,7 +64,7 @@
use vars qw{$VERSION @ISA @EXPORT_OK %EXPORT_TAGS};
-$VERSION = '1.00';
+$VERSION = '1.01';
@ISA = qw{
Exporter
DynaLoader
@@ -801,7 +801,7 @@
=head1 COPYRIGHT
-Copyright 2005 - 2009 Adam Kennedy.
+Copyright 2005 - 2010 Adam Kennedy.
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/Params-Util-1.00/t/97_meta.t new/Params-Util-1.01/t/97_meta.t
--- old/Params-Util-1.00/t/97_meta.t 2009-05-30 20:32:29.000000000 +0200
+++ new/Params-Util-1.01/t/97_meta.t 1970-01-01 01:00:00.000000000 +0100
@@ -1,27 +0,0 @@
-#!/usr/bin/perl
-
-# Test that our META.yml file matches the current specification.
-
-use strict;
-BEGIN {
- $| = 1;
- $^W = 1;
-}
-
-my $MODULE = 'Test::CPAN::Meta 0.12';
-
-# Don't run tests for installs
-use Test::More;
-unless ( $ENV{AUTOMATED_TESTING} or $ENV{RELEASE_TESTING} ) {
- plan( skip_all => "Author tests not required for installation" );
-}
-
-# Load the testing module
-eval "use $MODULE";
-if ( $@ ) {
- $ENV{RELEASE_TESTING}
- ? die( "Failed to load required release-testing module $MODULE" )
- : plan( skip_all => "$MODULE not available for testing" );
-}
-
-meta_yaml_ok();
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/Params-Util-1.00/t/98_pod.t new/Params-Util-1.01/t/98_pod.t
--- old/Params-Util-1.00/t/98_pod.t 2009-05-30 20:32:29.000000000 +0200
+++ new/Params-Util-1.01/t/98_pod.t 1970-01-01 01:00:00.000000000 +0100
@@ -1,32 +0,0 @@
-#!/usr/bin/perl
-
-# Test that the syntax of our POD documentation is valid
-
-use strict;
-BEGIN {
- $| = 1;
- $^W = 1;
-}
-
-my @MODULES = (
- 'Pod::Simple 3.07',
- 'Test::Pod 1.26',
-);
-
-# Don't run tests for installs
-use Test::More;
-unless ( $ENV{AUTOMATED_TESTING} or $ENV{RELEASE_TESTING} ) {
- plan( skip_all => "Author tests not required for installation" );
-}
-
-# Load the testing modules
-foreach my $MODULE ( @MODULES ) {
- eval "use $MODULE";
- if ( $@ ) {
- $ENV{RELEASE_TESTING}
- ? die( "Failed to load required release-testing module $MODULE" )
- : plan( skip_all => "$MODULE not available for testing" );
- }
-}
-
-all_pod_files_ok();
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/Params-Util-1.00/t/99_pmv.t new/Params-Util-1.01/t/99_pmv.t
--- old/Params-Util-1.00/t/99_pmv.t 2009-05-30 20:32:29.000000000 +0200
+++ new/Params-Util-1.01/t/99_pmv.t 1970-01-01 01:00:00.000000000 +0100
@@ -1,32 +0,0 @@
-#!/usr/bin/perl
-
-# Test that our declared minimum Perl version matches our syntax
-
-use strict;
-BEGIN {
- $| = 1;
- $^W = 1;
-}
-
-my @MODULES = (
- 'Perl::MinimumVersion 1.20',
- 'Test::MinimumVersion 0.008',
-);
-
-# Don't run tests for installs
-use Test::More;
-unless ( $ENV{AUTOMATED_TESTING} or $ENV{RELEASE_TESTING} ) {
- plan( skip_all => "Author tests not required for installation" );
-}
-
-# Load the testing modules
-foreach my $MODULE ( @MODULES ) {
- eval "use $MODULE";
- if ( $@ ) {
- $ENV{RELEASE_TESTING}
- ? die( "Failed to load required release-testing module $MODULE" )
- : plan( skip_all => "$MODULE not available for testing" );
- }
-}
-
-all_minimum_version_from_metayml_ok();
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/Params-Util-1.00/xt/meta.t new/Params-Util-1.01/xt/meta.t
--- old/Params-Util-1.00/xt/meta.t 1970-01-01 01:00:00.000000000 +0100
+++ new/Params-Util-1.01/xt/meta.t 2010-03-18 02:17:07.000000000 +0100
@@ -0,0 +1,27 @@
+#!/usr/bin/perl
+
+# Test that our META.yml file matches the current specification.
+
+use strict;
+BEGIN {
+ $| = 1;
+ $^W = 1;
+}
+
+my $MODULE = 'Test::CPAN::Meta 0.12';
+
+# Don't run tests for installs
+use Test::More;
+unless ( $ENV{AUTOMATED_TESTING} or $ENV{RELEASE_TESTING} ) {
+ plan( skip_all => "Author tests not required for installation" );
+}
+
+# Load the testing module
+eval "use $MODULE";
+if ( $@ ) {
+ $ENV{RELEASE_TESTING}
+ ? die( "Failed to load required release-testing module $MODULE" )
+ : plan( skip_all => "$MODULE not available for testing" );
+}
+
+meta_yaml_ok();
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/Params-Util-1.00/xt/pmv.t new/Params-Util-1.01/xt/pmv.t
--- old/Params-Util-1.00/xt/pmv.t 1970-01-01 01:00:00.000000000 +0100
+++ new/Params-Util-1.01/xt/pmv.t 2010-03-18 02:17:07.000000000 +0100
@@ -0,0 +1,32 @@
+#!/usr/bin/perl
+
+# Test that our declared minimum Perl version matches our syntax
+
+use strict;
+BEGIN {
+ $| = 1;
+ $^W = 1;
+}
+
+my @MODULES = (
+ 'Perl::MinimumVersion 1.20',
+ 'Test::MinimumVersion 0.008',
+);
+
+# Don't run tests for installs
+use Test::More;
+unless ( $ENV{AUTOMATED_TESTING} or $ENV{RELEASE_TESTING} ) {
+ plan( skip_all => "Author tests not required for installation" );
+}
+
+# Load the testing modules
+foreach my $MODULE ( @MODULES ) {
+ eval "use $MODULE";
+ if ( $@ ) {
+ $ENV{RELEASE_TESTING}
+ ? die( "Failed to load required release-testing module $MODULE" )
+ : plan( skip_all => "$MODULE not available for testing" );
+ }
+}
+
+all_minimum_version_from_metayml_ok();
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/Params-Util-1.00/xt/pod.t new/Params-Util-1.01/xt/pod.t
--- old/Params-Util-1.00/xt/pod.t 1970-01-01 01:00:00.000000000 +0100
+++ new/Params-Util-1.01/xt/pod.t 2010-03-18 02:17:07.000000000 +0100
@@ -0,0 +1,32 @@
+#!/usr/bin/perl
+
+# Test that the syntax of our POD documentation is valid
+
+use strict;
+BEGIN {
+ $| = 1;
+ $^W = 1;
+}
+
+my @MODULES = (
+ 'Pod::Simple 3.07',
+ 'Test::Pod 1.26',
+);
+
+# Don't run tests for installs
+use Test::More;
+unless ( $ENV{AUTOMATED_TESTING} or $ENV{RELEASE_TESTING} ) {
+ plan( skip_all => "Author tests not required for installation" );
+}
+
+# Load the testing modules
+foreach my $MODULE ( @MODULES ) {
+ eval "use $MODULE";
+ if ( $@ ) {
+ $ENV{RELEASE_TESTING}
+ ? die( "Failed to load required release-testing module $MODULE" )
+ : plan( skip_all => "$MODULE not available for testing" );
+ }
+}
+
+all_pod_files_ok();
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Remember to have fun...
--
To unsubscribe, e-mail: opensuse-commit+unsubscribe@opensuse.org
For additional commands, e-mail: opensuse-commit+help@opensuse.org