2 Commits

Author SHA256 Message Date
973da0d4d3 Accepting request 1236290 from devel:languages:perl
OBS-URL: https://build.opensuse.org/request/show/1236290
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/perl-Specio?expand=0&rev=11
2025-01-12 10:09:35 +00:00
65e871a4f7 - updated to 0.490.0 (0.49)
see /usr/share/doc/packages/perl-Specio/Changes
  0.49     2024-12-23
  - Attempting to import any structured type caused a confusing "Can't store CODE items"
    error. Reported by Kerin Millar.
  - Removed the "this is alpha" warning from Specio::Library::Structured. Given that I don't plan on
    making any major changes to this module, it's as production-ready as it's going to get.

OBS-URL: https://build.opensuse.org/package/show/devel:languages:perl/perl-Specio?expand=0&rev=28
2025-01-09 16:30:30 +00:00
5 changed files with 11 additions and 66 deletions

View File

@@ -1,12 +0,0 @@
## Build Results
Current state of perl in openSUSE:Factory is
![Factory build results](https://br.opensuse.org/status/openSUSE:Factory/perl-Specio/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-Specio)

BIN
Specio-0.49.tar.gz LFS Normal file

Binary file not shown.

Binary file not shown.

View File

@@ -1,39 +1,3 @@
-------------------------------------------------------------------
Thu Oct 9 20:28:12 UTC 2025 - Tina Müller <timueller+perl@suse.de>
- updated to 0.530.0 (0.53)
see /usr/share/doc/packages/perl-Specio/Changes
0.53 2025-10-04
- Fixed a test failure when trying to open $^X on some platforms.
0.52 2025-08-09
- Really made it possible to force Specio to use only pure Perl dependencies. The changes in 0.51
were incomplete, so lots of places still loaded the Clone (XS) module. Fixed by @arodland (Andrew
Rodland). GH #23.
-------------------------------------------------------------------
Fri Jun 20 05:34:49 UTC 2025 - Tina Müller <timueller+perl@suse.de>
- updated to 0.510.0 (0.51)
see /usr/share/doc/packages/perl-Specio/Changes
0.51 2025-06-19
- Made it possible to force Specio to only use pure Perl dependencies by setting the
SPECIO_IMPLEMENTATION environment variable to "PP". Requested by @arodland (Andrew Rodland). GH
#23.
-------------------------------------------------------------------
Wed Feb 19 05:34:05 UTC 2025 - Tina Müller <timueller+perl@suse.de>
- updated to 0.500.0 (0.50)
see /usr/share/doc/packages/perl-Specio/Changes
0.50 2025-02-18
- Fixed a bug in the Int type that caused it to accept numbers like 124512.000000000123, which when
stringified, are stringified as integers.
-------------------------------------------------------------------
Tue Dec 24 05:34:28 UTC 2024 - Tina Müller <timueller+perl@suse.de>

View File

@@ -1,7 +1,7 @@
#
# spec file for package perl-Specio
#
# Copyright (c) 2025 SUSE LLC and contributors
# Copyright (c) 2024 SUSE LLC
#
# All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed
@@ -18,28 +18,25 @@
%define cpan_name Specio
Name: perl-Specio
Version: 0.530.0
Version: 0.490.0
Release: 0
# 0.53 -> normalize -> 0.530.0
%define cpan_version 0.53
# 0.49 -> normalize -> 0.490.0
%define cpan_version 0.49
License: Artistic-2.0
Summary: Type constraints and coercions for Perl
URL: https://metacpan.org/release/%{cpan_name}
Source0: https://cpan.metacpan.org/authors/id/D/DR/DROLSKY/%{cpan_name}-%{cpan_version}.tar.gz
Source1: cpanspec.yml
Source100: README.md
BuildArch: noarch
BuildRequires: perl
BuildRequires: perl-macros
BuildRequires: perl(Clone)
BuildRequires: perl(Clone::PP)
BuildRequires: perl(Devel::StackTrace)
BuildRequires: perl(Eval::Closure)
BuildRequires: perl(List::Util) >= 1.33
BuildRequires: perl(MRO::Compat)
BuildRequires: perl(Module::Implementation)
BuildRequires: perl(Module::Runtime)
BuildRequires: perl(Role::Tiny) >= 1.3.3
BuildRequires: perl(Role::Tiny) >= 1.003003
BuildRequires: perl(Role::Tiny::With)
BuildRequires: perl(Sub::Quote)
BuildRequires: perl(Test::Fatal)
@@ -50,14 +47,12 @@ BuildRequires: perl(XString)
BuildRequires: perl(parent)
BuildRequires: perl(version) >= 0.83
Requires: perl(Clone)
Requires: perl(Clone::PP)
Requires: perl(Devel::StackTrace)
Requires: perl(Eval::Closure)
Requires: perl(List::Util) >= 1.33
Requires: perl(MRO::Compat)
Requires: perl(Module::Implementation)
Requires: perl(Module::Runtime)
Requires: perl(Role::Tiny) >= 1.3.3
Requires: perl(Role::Tiny) >= 1.003003
Requires: perl(Role::Tiny::With)
Requires: perl(Sub::Quote)
Requires: perl(Test::Fatal)
@@ -100,13 +95,11 @@ Provides: perl(Specio::Library::Structured::Dict) = %{version}
Provides: perl(Specio::Library::Structured::Map) = %{version}
Provides: perl(Specio::Library::Structured::Tuple) = %{version}
Provides: perl(Specio::OO) = %{version}
Provides: perl(Specio::PP) = %{version}
Provides: perl(Specio::PartialDump) = %{version}
Provides: perl(Specio::Registry) = %{version}
Provides: perl(Specio::Role::Inlinable) = %{version}
Provides: perl(Specio::Subs) = %{version}
Provides: perl(Specio::TypeChecks) = %{version}
Provides: perl(Specio::XS) = %{version}
Provides: perl(Test::Specio) = %{version}
%undefine __perllib_provides
Recommends: perl(Ref::Util) >= 0.112
@@ -126,7 +119,7 @@ Instead, you can explicitly check a value against a type, and optionally
coerce values to that type.
%prep
%autosetup -n %{cpan_name}-%{cpan_version} -p1
%autosetup -n %{cpan_name}-%{cpan_version}
find . -type f ! -path "*/t/*" ! -name "*.pl" ! -path "*/bin/*" ! -path "*/script/*" ! -path "*/scripts/*" ! -name "configure" -print0 | xargs -0 chmod 644
@@ -143,7 +136,7 @@ make test
%perl_gen_filelist
%files -f %{name}.files
%doc Changes CODE_OF_CONDUCT.md CONTRIBUTING.md GOVERNANCE.md README.md SECURITY.md SUPPORT.md TODO.md
%doc Changes CODE_OF_CONDUCT.md CONTRIBUTING.md README.md TODO.md
%license LICENSE
%changelog