17
0

2 Commits

Author SHA256 Message Date
398e1aabbd Normalize CPAN version
See https://github.com/openSUSE/cpanspec/issues/47 for details
2025-12-22 13:59:43 +01:00
2912a7e204 Add Gitea build results 2025-08-12 18:16:18 +02:00
3 changed files with 32 additions and 7 deletions

12
README.md Normal file
View File

@@ -0,0 +1,12 @@
## Build Results
Current state of perl in openSUSE:Factory is
![Factory build results](https://br.opensuse.org/status/openSUSE:Factory/perl-Params-ValidationCompiler/standard)
The current state of perl in the devel project build (devel:languages:perl)
![Devel project build results](https://br.opensuse.org/status/devel:languages:perl/perl-Params-ValidationCompiler)

View File

@@ -1,3 +1,9 @@
-------------------------------------------------------------------
Mon Dec 22 12:59:27 UTC 2025 - Tina Müller <tina.mueller@suse.com>
- Normalize CPAN version
See https://github.com/openSUSE/cpanspec/issues/47 for details
------------------------------------------------------------------- -------------------------------------------------------------------
Tue Feb 14 03:07:34 UTC 2023 - Tina Müller <timueller+perl@suse.de> Tue Feb 14 03:07:34 UTC 2023 - Tina Müller <timueller+perl@suse.de>

View File

@@ -1,7 +1,7 @@
# #
# spec file for package perl-Params-ValidationCompiler # spec file for package perl-Params-ValidationCompiler
# #
# Copyright (c) 2023 SUSE LLC # Copyright (c) 2025 SUSE LLC and contributors
# #
# All modifications and additions to the file contributed by third parties # All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed # remain the property of their copyright owners, unless otherwise agreed
@@ -18,20 +18,23 @@
%define cpan_name Params-ValidationCompiler %define cpan_name Params-ValidationCompiler
Name: perl-Params-ValidationCompiler Name: perl-Params-ValidationCompiler
Version: 0.31 Version: 0.310.0
Release: 0 Release: 0
# 0.31 -> normalize -> 0.310.0
%define cpan_version 0.31
License: Artistic-2.0 License: Artistic-2.0
Summary: Build an optimized subroutine parameter validator once, use it forever Summary: Build an optimized subroutine parameter validator once, use it forever
URL: https://metacpan.org/release/%{cpan_name} 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 Source1: cpanspec.yml
Source100: README.md
BuildArch: noarch BuildArch: noarch
BuildRequires: perl BuildRequires: perl
BuildRequires: perl-macros BuildRequires: perl-macros
BuildRequires: perl(Eval::Closure) BuildRequires: perl(Eval::Closure)
BuildRequires: perl(Exception::Class) BuildRequires: perl(Exception::Class)
BuildRequires: perl(List::Util) >= 1.29 BuildRequires: perl(List::Util) >= 1.29
BuildRequires: perl(Specio) >= 0.14 BuildRequires: perl(Specio) >= 0.140
BuildRequires: perl(Test2::Plugin::NoWarnings) BuildRequires: perl(Test2::Plugin::NoWarnings)
BuildRequires: perl(Test2::Require::Module) BuildRequires: perl(Test2::Require::Module)
BuildRequires: perl(Test2::V0) BuildRequires: perl(Test2::V0)
@@ -40,7 +43,11 @@ BuildRequires: perl(Test::Without::Module)
Requires: perl(Eval::Closure) Requires: perl(Eval::Closure)
Requires: perl(Exception::Class) Requires: perl(Exception::Class)
Requires: perl(List::Util) >= 1.29 Requires: perl(List::Util) >= 1.29
Recommends: perl(Class::XSAccessor) >= 1.17 Provides: perl(Params::ValidationCompiler) = %{version}
Provides: perl(Params::ValidationCompiler::Compiler) = %{version}
Provides: perl(Params::ValidationCompiler::Exceptions) = %{version}
%undefine __perllib_provides
Recommends: perl(Class::XSAccessor) >= 1.170
Recommends: perl(Sub::Util) >= 1.40 Recommends: perl(Sub::Util) >= 1.40
%{perl_requires} %{perl_requires}
@@ -53,9 +60,9 @@ In addition to type checks, it also supports parameter defaults, optional
parameters, and extra "slurpy" parameters. parameters, and extra "slurpy" parameters.
%prep %prep
%autosetup -n %{cpan_name}-%{version} %autosetup -n %{cpan_name}-%{cpan_version} -p1
find . -type f ! -path "*/t/*" ! -name "*.pl" ! -path "*/bin/*" ! -path "*/script/*" ! -name "configure" -print0 | xargs -0 chmod 644 find . -type f ! -path "*/t/*" ! -name "*.pl" ! -path "*/bin/*" ! -path "*/script/*" ! -path "*/scripts/*" ! -name "configure" -print0 | xargs -0 chmod 644
%build %build
perl Makefile.PL INSTALLDIRS=vendor perl Makefile.PL INSTALLDIRS=vendor