Sync from SUSE:SLFO:Main perl-Params-Util revision 94b39af996459f3f937c3e6970bb73d0

This commit is contained in:
Adrian Schröter 2024-05-03 18:36:30 +02:00
commit 9a6b0abc47
5 changed files with 268 additions and 0 deletions

23
.gitattributes vendored Normal file
View File

@ -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

BIN
Params-Util-1.102.tar.gz (Stored with Git LFS) Normal file

Binary file not shown.

28
cpanspec.yml Normal file
View File

@ -0,0 +1,28 @@
---
#description_paragraphs: 3
#description: |-
# override description from CPAN
#summary: override summary from CPAN
#no_testing: broken upstream
#sources:
# - source1
# - source2
#patches:
# foo.patch: -p1
# bar.patch:
#preamble: |-
# BuildRequires: gcc-c++
#post_prep: |-
# hunspell=`pkg-config --libs hunspell | sed -e 's,-l,,; s, *,,g'`
# sed -i -e "s,hunspell-X,$hunspell," t/00-prereq.t Makefile.PL
#post_build: |-
# rm unused.files
#post_install: |-
# sed on %{name}.files
#license: SUSE-NonFree
#skip_noarch: 1
#custom_build: |-
#./Build build flags=%{?_smp_mflags} --myflag
#custom_test: |-
#startserver && make test
#ignore_requires: Bizarre::Module

125
perl-Params-Util.changes Normal file
View File

@ -0,0 +1,125 @@
-------------------------------------------------------------------
Wed Nov 4 03:12:23 UTC 2020 - Tina Müller <timueller+perl@suse.de>
- updated to 1.102
see /usr/share/doc/packages/perl-Params-Util/Changes
1.102 2020-11-02
- fix RT#133623 - Can't install in pureperl mode. Thanks to Nigel
Gregoire (@nfg) for reporting and proposal for proper fix.
- update ppport.h from Devel::PPPort 3.62
-------------------------------------------------------------------
Fri Oct 23 19:26:18 UTC 2020 - Dirk Stoecker <opensuse@dstoecker.de>
- updated to 1.101
see /usr/share/doc/packages/perl-Params-Util/Changes
1.101 2020-10-22
- fix inconsistent license conditions in meta data and documentation
and add appropriate LICENSE files. Fixes RT#133586.
-------------------------------------------------------------------
Thu Oct 22 03:20:38 UTC 2020 - Tina Müller <timueller+perl@suse.de>
- updated to 1.100
see /usr/share/doc/packages/perl-Params-Util/Changes
-------------------------------------------------------------------
Fri Mar 16 09:27:34 UTC 2012 - lars@linux-schulserver.de
- update to 1.07:
+ Disable XS version on cygwin as it shows bizarre behaviour
that breaks form when using Params::Util XS verwion.
-------------------------------------------------------------------
Tue Mar 6 08:06:12 UTC 2012 - coolo@suse.com
- updated to 1.06
- Remove the need for the sanexs.c file by generating into a temp
file instead.
- Restore compatibility with pre-5.8.8 Perls without a working
compiler available install time (RIBASUSHI)
-------------------------------------------------------------------
Sat Apr 30 15:18:28 UTC 2011 - coolo@opensuse.org
- updated to 1.04
- Fixed #67522 have_compiler returns
-------------------------------------------------------------------
Fri Apr 1 05:35:33 UTC 2011 - coolo@novell.com
- update to 1.03
- Trying for a much more advanced can_xs() alternative to can_cc()
to deal with the situation where a host has a superficially
working compiler, but completely screwed up headers.
- Adding some fallback strategies to deal with cases where these
same machines don't support configure_requires.
- Adopt Chorny's eumm-upgrade style for the Makefile.PL.
- Allow the Makefile.PL to build it's own META.yml now.
-------------------------------------------------------------------
Wed Dec 1 13:34:18 UTC 2010 - coolo@novell.com
- switch to perl_requires macro
-------------------------------------------------------------------
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
- readd whitespace removed by autobuild
-------------------------------------------------------------------
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

89
perl-Params-Util.spec Normal file
View File

@ -0,0 +1,89 @@
#
# spec file for package perl-Params-Util
#
# Copyright (c) 2020 SUSE LLC
#
# 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 https://bugs.opensuse.org/
#
Name: perl-Params-Util
Version: 1.102
Release: 0
%define cpan_name Params-Util
Summary: Simple, compact and correct param-checking functions
License: Artistic-1.0 OR GPL-1.0-or-later
Group: Development/Libraries/Perl
URL: https://metacpan.org/release/%{cpan_name}
Source0: https://cpan.metacpan.org/authors/id/R/RE/REHSACK/%{cpan_name}-%{version}.tar.gz
Source1: cpanspec.yml
BuildRoot: %{_tmppath}/%{name}-%{version}-build
BuildRequires: perl
BuildRequires: perl-macros
BuildRequires: perl(IPC::Cmd)
BuildRequires: perl(Test::LeakTrace)
BuildRequires: perl(Test::More) >= 0.96
BuildRequires: perl(XSLoader) >= 0.22
BuildRequires: perl(parent)
Requires: perl(XSLoader) >= 0.22
%{perl_requires}
%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.
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)
%prep
%setup -q -n %{cpan_name}-%{version}
find . -type f ! -path "*/t/*" ! -name "*.pl" ! -path "*/bin/*" ! -path "*/script/*" ! -name "configure" -print0 | xargs -0 chmod 644
%build
perl Makefile.PL INSTALLDIRS=vendor OPTIMIZE="%{optflags}"
make %{?_smp_mflags}
%check
make test
%install
%perl_make_install
%perl_process_packlist
%perl_gen_filelist
%files -f %{name}.files
%defattr(-,root,root,755)
%doc Changes README.md
%license ARTISTIC-1.0 GPL-1 LICENSE
%changelog