Accepting request 36910 from devel:languages:perl
Copy from devel:languages:perl/perl-Params-Util based on submit request 36910 from user computersalat OBS-URL: https://build.opensuse.org/request/show/36910 OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/perl-Params-Util?expand=0&rev=4
This commit is contained in:
parent
ad706d5538
commit
4349ea0ffd
@ -1,3 +0,0 @@
|
||||
version https://git-lfs.github.com/spec/v1
|
||||
oid sha256:3574df4face382ab02e86f2d7f3f5d18317a5440e01454931e8c678a87506d30
|
||||
size 28771
|
3
Params-Util-1.01.tar.bz2
Normal file
3
Params-Util-1.01.tar.bz2
Normal file
@ -0,0 +1,3 @@
|
||||
version https://git-lfs.github.com/spec/v1
|
||||
oid sha256:667dd64b36770ce72d9629d0e16b960a49d204e493b7d658184130230d8beac5
|
||||
size 28839
|
@ -1,3 +1,20 @@
|
||||
-------------------------------------------------------------------
|
||||
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
|
||||
|
||||
|
@ -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(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.
|
||||
|
||||
%{cpan_name} module for perl
|
||||
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.
|
||||
|
||||
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 use, simply load the module providing the functions you want to use as
|
||||
arguments (as shown in the SYNOPSIS).
|
||||
|
||||
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 aid in maintainability, Params::Util will never export by default.
|
||||
|
||||
To use, simply load the module providing the functions you want to use as
|
||||
arguments (as shown in the SYNOPSIS).
|
||||
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 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>
|
||||
Author:
|
||||
-------
|
||||
Adam Kennedy <adamk@cpan.org>
|
||||
|
||||
%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 @@ 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 README
|
||||
%doc Changes LICENSE README
|
||||
|
||||
%changelog
|
||||
|
Loading…
x
Reference in New Issue
Block a user