Accepting request 36910 from devel:languages:perl

checked in (request 36910)

OBS-URL: https://build.opensuse.org/request/show/36910
OBS-URL: https://build.opensuse.org/package/show/devel:languages:perl/perl-Params-Util?expand=0&rev=10
This commit is contained in:
OBS User autobuild 2010-04-04 18:11:13 +00:00 committed by Git OBS Bridge
parent e8fd74a964
commit 95407acd1d
4 changed files with 37 additions and 48 deletions

3
Params-Util-1.00.tar.bz2 Normal file
View File

@ -0,0 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:3574df4face382ab02e86f2d7f3f5d18317a5440e01454931e8c678a87506d30
size 28771

View File

@ -1,3 +0,0 @@
version https://git-lfs.github.com/spec/v1
oid sha256:667dd64b36770ce72d9629d0e16b960a49d204e493b7d658184130230d8beac5
size 28839

View File

@ -1,20 +1,3 @@
-------------------------------------------------------------------
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
-------------------------------------------------------------------
Thu Mar 4 10:38:55 UTC 2010 - coolo@novell.com

View File

@ -1,5 +1,7 @@
#
# spec file for package perl-Params-Util (Version 1.01)
# spec file for package perl-Params-Util (Version 1.00)
#
# Copyright (c) 2010 SUSE LINUX Products GmbH, Nuernberg, Germany.
#
# All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed
@ -10,21 +12,24 @@
# license that conforms to the Open Source Definition (Version 1.9)
# published by the Open Source Initiative.
# 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.01
Version: 1.00
Release: 2
License: Artistic
Group: Development/Libraries/Perl
Url: http://search.cpan.org/dist/Params-Util
Url: http://search.cpan.org/perldoc?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
@ -34,39 +39,40 @@ Requires: perl(Test::More) >= 0.42
Requires: perl(File::Spec) >= 0.80
%description
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.
%{cpan_name} module for perl
To use, simply load the module providing the functions you want to use as
arguments (as shown in the SYNOPSIS).
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.
To aid in maintainability, Params::Util will never export by default.
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.
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)
To use, simply load the module providing the functions you want to use as
arguments (as shown in the SYNOPSIS).
Author:
-------
Adam Kennedy <adamk@cpan.org>
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 <adamk@cpan.org>
%prep
%setup -q -n %{cpan_name}-%{version}
%build
perl Makefile.PL OPTIMIZE="$RPM_OPT_FLAGS -Wall"
%{__make} %{?jobs:-j%jobs}
%{__make}
%check
%{__make} test
@ -82,6 +88,6 @@ perl Makefile.PL OPTIMIZE="$RPM_OPT_FLAGS -Wall"
%files -f %{name}.files
# normally you only need to check for doc files
%defattr(-,root,root)
%doc Changes LICENSE README
%doc README
%changelog