8
0

Compare commits

...

29 Commits

Author SHA256 Message Date
cd725ce60f Accepting request 1279834 from devel:languages:perl
- Normalize CPAN version
  See https://github.com/openSUSE/cpanspec/issues/47 for details

OBS-URL: https://build.opensuse.org/request/show/1279834
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/perl-Params-Validate?expand=0&rev=47
2025-05-27 16:49:28 +00:00
975baafff2 Normalize CPAN version
See https://github.com/openSUSE/cpanspec/issues/47 for details

OBS-URL: https://build.opensuse.org/package/show/devel:languages:perl/perl-Params-Validate?expand=0&rev=63
2025-05-24 16:18:02 +00:00
8dd92a44ee Accepting request 1034342 from devel:languages:perl
OBS-URL: https://build.opensuse.org/request/show/1034342
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/perl-Params-Validate?expand=0&rev=46
2022-11-09 11:56:01 +00:00
4b371bce92 Accepting request 842994 from devel:languages:perl
OBS-URL: https://build.opensuse.org/request/show/842994
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/perl-Params-Validate?expand=0&rev=45
2020-10-24 13:13:30 +00:00
c0ca8b22cb Accepting request 504926 from devel:languages:perl
1

OBS-URL: https://build.opensuse.org/request/show/504926
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/perl-Params-Validate?expand=0&rev=44
2017-06-21 11:57:19 +00:00
836bc0f53b Accepting request 494769 from devel:languages:perl
1

OBS-URL: https://build.opensuse.org/request/show/494769
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/perl-Params-Validate?expand=0&rev=43
2017-05-31 10:16:33 +00:00
66d2b662f4 Accepting request 492404 from devel:languages:perl
1

OBS-URL: https://build.opensuse.org/request/show/492404
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/perl-Params-Validate?expand=0&rev=42
2017-05-03 13:57:15 +00:00
e7a4bacdf5 Accepting request 433886 from devel:languages:perl
1

OBS-URL: https://build.opensuse.org/request/show/433886
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/perl-Params-Validate?expand=0&rev=41
2016-11-04 19:59:42 +00:00
623a1c1d45 Accepting request 431494 from devel:languages:perl
1

OBS-URL: https://build.opensuse.org/request/show/431494
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/perl-Params-Validate?expand=0&rev=40
2016-10-01 22:08:10 +00:00
3ec9c60bd4 Accepting request 397848 from devel:languages:perl
1

OBS-URL: https://build.opensuse.org/request/show/397848
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/perl-Params-Validate?expand=0&rev=39
2016-05-25 19:29:25 +00:00
dd0476a139 Accepting request 381102 from devel:languages:perl
1

OBS-URL: https://build.opensuse.org/request/show/381102
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/perl-Params-Validate?expand=0&rev=38
2016-03-31 11:02:56 +00:00
239bde7cce Accepting request 360652 from devel:languages:perl
1

OBS-URL: https://build.opensuse.org/request/show/360652
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/perl-Params-Validate?expand=0&rev=37
2016-02-25 21:04:00 +00:00
Stephan Kulow
f5d113d6fd Accepting request 317482 from devel:languages:perl
1

OBS-URL: https://build.opensuse.org/request/show/317482
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/perl-Params-Validate?expand=0&rev=36
2015-07-20 09:22:38 +00:00
5ca3ac2175 Accepting request 314314 from devel:languages:perl
1

OBS-URL: https://build.opensuse.org/request/show/314314
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/perl-Params-Validate?expand=0&rev=35
2015-06-30 08:19:09 +00:00
57ed21cb07 Accepting request 312023 from devel:languages:perl
1

OBS-URL: https://build.opensuse.org/request/show/312023
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/perl-Params-Validate?expand=0&rev=34
2015-06-15 15:50:29 +00:00
4c5cffd9df Accepting request 296674 from devel:languages:perl
1

OBS-URL: https://build.opensuse.org/request/show/296674
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/perl-Params-Validate?expand=0&rev=33
2015-04-15 14:26:31 +00:00
Stephan Kulow
ae854ad86a Accepting request 243686 from devel:languages:perl
1

OBS-URL: https://build.opensuse.org/request/show/243686
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/perl-Params-Validate?expand=0&rev=31
2014-08-05 19:11:21 +00:00
Stephan Kulow
66e2b314dc Accepting request 105930 from devel:languages:perl
OBS-URL: https://build.opensuse.org/request/show/105930
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/perl-Params-Validate?expand=0&rev=27
2012-02-20 15:16:20 +00:00
Stephan Kulow
ad7f516b13 Accepting request 103733 from devel:languages:perl
- update to 1.05
  * The XS code had a code path where it could pass the contents of a Perl
    variable as the first argument to the XS croak() subroutine. This subroutine
    is like printf(), and should receive a format string as its first
    argument. According to RT #74777, this can lead to segfaults on some systems.
    This could in theory be a security bug, but it's very unlikely that
    untrusted user input could end up being passed to this croak(). It is called
    when a spec specifies a "depend" value on another parameter. The value of
    the "depend" parameter was passed in the first argument to croak().
  1.04    2012-02-08
  * Use the latest Module::XSOrPP dzil plugin to generate a saner Build.PL. No
    need update if you're using an earlier version.
  * This release uses Module::Implementation to handle loading the XS or pure
    Perl implementation of Params::Validate.
  1.02    2012-02-06
  * The previous release never loaded the XS implementation, even if it had been
    compiled.
  * With newer versions of Perl, the pure Perl implementation treated regexp
    objects differently than the XS implementation. They should be treated as
    belonging to the SCALARREF type for backwards compatibility.
  * These two bugs combined managed to break the test suites of a number of
    modules on CPAN. This release should fix them.

- update to 1.01
- The generated Build.PL detects whether or not the machine it's run on has a
  working compiler, and disables XS automatically if it doesn't. Fixes RT
  #44719.

OBS-URL: https://build.opensuse.org/request/show/103733
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/perl-Params-Validate?expand=0&rev=26
2012-02-16 15:22:14 +00:00
Stephan Kulow
881f20510a replace license with spdx.org variant
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/perl-Params-Validate?expand=0&rev=25
2011-12-06 17:45:54 +00:00
Stephan Kulow
491123a1e0 Accepting request 92290 from devel:languages:perl
update

OBS-URL: https://build.opensuse.org/request/show/92290
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/perl-Params-Validate?expand=0&rev=24
2011-11-21 11:44:12 +00:00
Sascha Peilicke
5e1eb37d11 Autobuild autoformatter for 81902
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/perl-Params-Validate?expand=0&rev=22
2011-09-13 10:29:56 +00:00
Sascha Peilicke
d643ff03e0 Accepting request 81902 from devel:languages:perl
- remove Author from desc
- fix deps
  * fix build for 1120 (perl -p -i -e 's|0.3601|0.280801|' Build.PL)
- add bcond_with opt (Test::Taint, Readonly::XS)

OBS-URL: https://build.opensuse.org/request/show/81902
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/perl-Params-Validate?expand=0&rev=21
2011-09-13 10:29:51 +00:00
Sascha Peilicke
765fedfd81 Accepting request 73434 from devel:languages:perl
- update to 1.00
- Fix documentation indexing on search.cpan.org. Reported by Lutz Gehlen. RT
  #68756.

OBS-URL: https://build.opensuse.org/request/show/73434
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/perl-Params-Validate?expand=0&rev=20
2011-06-14 10:01:40 +00:00
Sascha Peilicke
ee883864d3 Accepting request 71966 from devel:languages:perl
- update to 0.99
  - The metadata file - META.{json,yml} - had references to a different distro
    because of a copy and paste error. Reported by Bernhad Graf. RT #68514.

OBS-URL: https://build.opensuse.org/request/show/71966
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/perl-Params-Validate?expand=0&rev=19
2011-05-30 14:26:03 +00:00
Sascha Peilicke
4fd31c8a4d Autobuild autoformatter for 68353
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/perl-Params-Validate?expand=0&rev=18
2011-05-20 14:50:49 +00:00
Sascha Peilicke
c85b13c0ec Accepting request 68353 from devel:languages:perl
- update to 0.98
- Attribute::Params::Validate's $VERSION regressed in 0.96. 
  It's now manually set to 1.07.

- update to 0.97
- The XS version of the code always called Carp::confess, regardless of
  whether you provided your own on_fail callback. Reported by Scott Bolte. RT
  #66359.
- There were a couple spots that called eval without localizing $@ first. RT
  #58087.
- The parameters for each key validation (can, isa, regex) are now checked,
  and an error is thrown if any of the keys are not valid. Basically, we
  validate the validation spec. Based on a patch by Andreas Faafeng. RT
  #57831.
- This module now requires Perl 5.8.1.
- Switched to version 2.0 of the Artistic License.

OBS-URL: https://build.opensuse.org/request/show/68353
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/perl-Params-Validate?expand=0&rev=17
2011-05-20 14:50:39 +00:00
Ruediger Oertel
3f8659b81e Autobuild autoformatter for 59487
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/perl-Params-Validate?expand=0&rev=15
2011-02-02 00:39:15 +00:00
Ruediger Oertel
73ff7babc7 Accepting request 59487 from devel:languages:perl
Accepted submit request 59487 from user vitezslav_cizek

OBS-URL: https://build.opensuse.org/request/show/59487
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/perl-Params-Validate?expand=0&rev=14
2011-02-02 00:39:08 +00:00
2 changed files with 22 additions and 9 deletions

View File

@@ -1,3 +1,9 @@
-------------------------------------------------------------------
Sat May 24 16:17:48 UTC 2025 - Tina Müller <tina.mueller@suse.com>
- Normalize CPAN version
See https://github.com/openSUSE/cpanspec/issues/47 for details
-------------------------------------------------------------------
Sun Oct 23 03:11:02 UTC 2022 - Tina Müller <timueller+perl@suse.de>

View File

@@ -1,7 +1,7 @@
#
# spec file for package perl-Params-Validate
#
# Copyright (c) 2022 SUSE LLC
# Copyright (c) 2025 SUSE LLC
#
# All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed
@@ -18,21 +18,28 @@
%define cpan_name Params-Validate
Name: perl-Params-Validate
Version: 1.31
Version: 1.310.0
Release: 0
# 1.31 -> normalize -> 1.310.0
%define cpan_version 1.31
License: Artistic-2.0
Summary: Validate method/function parameters
URL: https://metacpan.org/release/%{cpan_name}
Source0: https://cpan.metacpan.org/authors/id/D/DR/DROLSKY/%{cpan_name}-%{version}.tar.gz
Source0: https://cpan.metacpan.org/authors/id/D/DR/DROLSKY/%{cpan_name}-%{cpan_version}.tar.gz
Source1: cpanspec.yml
BuildRequires: perl
BuildRequires: perl-macros
BuildRequires: perl(Module::Build) >= 0.422700
BuildRequires: perl(Module::Build) >= 0.4227
BuildRequires: perl(Module::Implementation)
BuildRequires: perl(Test::Fatal)
BuildRequires: perl(Test::More) >= 0.96
BuildRequires: perl(Test::Requires)
Requires: perl(Module::Implementation)
Provides: perl(Params::Validate) = %{version}
Provides: perl(Params::Validate::Constants) = %{version}
Provides: perl(Params::Validate::PP) = %{version}
Provides: perl(Params::Validate::XS) = %{version}
%undefine __perllib_provides
%{perl_requires}
%description
@@ -51,21 +58,21 @@ that it is an object of a certain class hierarchy, that it possesses
certain methods, or applying validation callbacks to arguments.
%prep
%autosetup -n %{cpan_name}-%{version}
%autosetup -n %{cpan_name}-%{cpan_version} -p1
%build
perl Build.PL installdirs=vendor optimize="%{optflags}"
./Build build flags=%{?_smp_mflags}
perl Build.PL --installdirs=vendor optimize="%{optflags}"
./Build build --flags=%{?_smp_mflags}
%check
./Build test
%install
./Build install destdir=%{buildroot} create_packlist=0
./Build install --destdir=%{buildroot} --create_packlist=0
%perl_gen_filelist
%files -f %{name}.files
%doc azure-pipelines.yml Changes CODE_OF_CONDUCT.md CONTRIBUTING.md README.md TODO
%doc Changes CODE_OF_CONDUCT.md CONTRIBUTING.md README.md TODO
%license LICENSE
%changelog