From d55f31a4b75959407760d0c6cc619561980bec2911e90bbbebefae3e58a7a3cd Mon Sep 17 00:00:00 2001 From: OBS User autobuild Date: Thu, 18 Feb 2010 15:52:00 +0000 Subject: [PATCH] Accepting request 32767 from devel:languages:perl Copy from devel:languages:perl/perl-Params-Util based on submit request 32767 from user coolo OBS-URL: https://build.opensuse.org/request/show/32767 OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/perl-Params-Util?expand=0&rev=1 --- .gitattributes | 23 +++++++++++ .gitignore | 1 + Params-Util-1.00.tar.bz2 | 3 ++ perl-Params-Util.changes | 38 ++++++++++++++++++ perl-Params-Util.spec | 87 ++++++++++++++++++++++++++++++++++++++++ ready | 0 6 files changed, 152 insertions(+) create mode 100644 .gitattributes create mode 100644 .gitignore create mode 100644 Params-Util-1.00.tar.bz2 create mode 100644 perl-Params-Util.changes create mode 100644 perl-Params-Util.spec create mode 100644 ready diff --git a/.gitattributes b/.gitattributes new file mode 100644 index 0000000..9b03811 --- /dev/null +++ b/.gitattributes @@ -0,0 +1,23 @@ +## Default LFS +*.7z filter=lfs diff=lfs merge=lfs -text +*.bsp filter=lfs diff=lfs merge=lfs -text +*.bz2 filter=lfs diff=lfs merge=lfs -text +*.gem filter=lfs diff=lfs merge=lfs -text +*.gz filter=lfs diff=lfs merge=lfs -text +*.jar filter=lfs diff=lfs merge=lfs -text +*.lz filter=lfs diff=lfs merge=lfs -text +*.lzma filter=lfs diff=lfs merge=lfs -text +*.obscpio filter=lfs diff=lfs merge=lfs -text +*.oxt filter=lfs diff=lfs merge=lfs -text +*.pdf filter=lfs diff=lfs merge=lfs -text +*.png filter=lfs diff=lfs merge=lfs -text +*.rpm filter=lfs diff=lfs merge=lfs -text +*.tbz filter=lfs diff=lfs merge=lfs -text +*.tbz2 filter=lfs diff=lfs merge=lfs -text +*.tgz filter=lfs diff=lfs merge=lfs -text +*.ttf filter=lfs diff=lfs merge=lfs -text +*.txz filter=lfs diff=lfs merge=lfs -text +*.whl filter=lfs diff=lfs merge=lfs -text +*.xz filter=lfs diff=lfs merge=lfs -text +*.zip filter=lfs diff=lfs merge=lfs -text +*.zst filter=lfs diff=lfs merge=lfs -text diff --git a/.gitignore b/.gitignore new file mode 100644 index 0000000..57affb6 --- /dev/null +++ b/.gitignore @@ -0,0 +1 @@ +.osc diff --git a/Params-Util-1.00.tar.bz2 b/Params-Util-1.00.tar.bz2 new file mode 100644 index 0000000..8b24986 --- /dev/null +++ b/Params-Util-1.00.tar.bz2 @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:3574df4face382ab02e86f2d7f3f5d18317a5440e01454931e8c678a87506d30 +size 28771 diff --git a/perl-Params-Util.changes b/perl-Params-Util.changes new file mode 100644 index 0000000..5534af0 --- /dev/null +++ b/perl-Params-Util.changes @@ -0,0 +1,38 @@ +------------------------------------------------------------------- +Sat Jul 25 19:41:14 CEST 2009 - chris@computersalat.de + +- spec mods + * removed ^---------- + * removed ^#--------- + +------------------------------------------------------------------- +Sun Jun 21 20:27:19 CEST 2009 - chris@computersalat.de + +- update to 1.00 + o 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. + - Fixed XS implementation of _*LIKE and _INSTANCE + - Added test for a negative custom isa returning ('') + - Improving the 'clean' file list in a Makefile.PL + o 0.38 Tue 17 Feb 2009 + - Fix _IDENTIFIER to return false for "foo\n" (ZEFRAM) + - Fix _CLASS to return false for "foo\n" (ZEFRAM) + o 0.37 Wed 4 Feb 2009 + - Fix _HASH for bleadperl (patch from RAFL) + - Fix regex (more) for bleadperl (patch from RAFL) + o 0.36 Fri 30 Jan 2009 + - Fixing the overload for _REGEX + - Adding the tests for _REGEX + - Reorganising the Makefile.PL + - Adding duplicate tests for when the XS version isn't compiled +- added perl-macros + o autogen filelist with perl_gen_filelist +- spec mods + o added header + +------------------------------------------------------------------- +Sun Nov 30 07:39:09 CET 2008 - lars@linux-schulserver.de + +- initial version 0.35 + diff --git a/perl-Params-Util.spec b/perl-Params-Util.spec new file mode 100644 index 0000000..c3c9472 --- /dev/null +++ b/perl-Params-Util.spec @@ -0,0 +1,87 @@ +# +# 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 +# upon. The license for this file, and modifications and additions to the +# file, is the same license as for the pristine package itself (unless the +# license for the pristine package is not an Open Source License, in which +# case the license is the MIT License). An "Open Source License" is a +# 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.00 +Release: 1 +License: Artistic +Group: Development/Libraries/Perl +Url: http://search.cpan.org/perldoc?Params::Util +Source: %{cpan_name}-%{version}.tar.bz2 +BuildRoot: %{_tmppath}/%{name}-%{version}-build +BuildRequires: perl +BuildRequires: perl-macros +BuildRequires: perl(Scalar::Util) >= 1.18 +BuildRequires: perl(Test::More) >= 0.42 +BuildRequires: perl(File::Spec) >= 0.80 +Requires: perl = %{perl_version} +Requires: perl(Scalar::Util) >= 1.18 +Requires: perl(Test::More) >= 0.42 +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 + +%prep +%setup -q -n %{cpan_name}-%{version} + +%build +perl Makefile.PL OPTIMIZE="$RPM_OPT_FLAGS -Wall" +%{__make} + +%check +%{__make} test + +%install +%perl_make_install +%perl_process_packlist +%perl_gen_filelist + +%clean +%{__rm} -rf $RPM_BUILD_ROOT + +%files -f %{name}.files +# normally you only need to check for doc files +%defattr(-,root,root) +%doc README + +%changelog diff --git a/ready b/ready new file mode 100644 index 0000000..473a0f4