SHA256
8
0
forked from pool/perl-Specio

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 10 additions and 54 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 (Stored with Git LFS) Normal file

Binary file not shown.

View File

@@ -1,3 +0,0 @@
version https://git-lfs.github.com/spec/v1
oid sha256:505f5de28bee55545b9ec0c45c1d5e4ae568d4f5dbb5e8eabe9d980cb9b68f93
size 133033

View File

@@ -1,26 +1,3 @@
-------------------------------------------------------------------
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
# 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,29 +18,25 @@
%define cpan_name Specio
Name: perl-Specio
Version: 0.510.0
Version: 0.490.0
Release: 0
# 0.51 -> normalize -> 0.510.0
%define cpan_version 0.51
# 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::Choose)
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)
@@ -51,15 +47,12 @@ BuildRequires: perl(XString)
BuildRequires: perl(parent)
BuildRequires: perl(version) >= 0.83
Requires: perl(Clone)
Requires: perl(Clone::Choose)
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)
@@ -102,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
@@ -128,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