1 Commits

Author SHA256 Message Date
7725c31924 Automatic update to Feature-Compat-Class-0.08.tar.gz 2025-12-09 05:34:49 +00:00
4 changed files with 27 additions and 13 deletions

View File

@@ -1,3 +0,0 @@
version https://git-lfs.github.com/spec/v1
oid sha256:4da9105a5deba5adedb22196963d77353b163346170e02bc34e91fc8a25daa38
size 20878

BIN
Feature-Compat-Class-0.08.tar.gz LFS Normal file

Binary file not shown.

View File

@@ -1,3 +1,16 @@
-------------------------------------------------------------------
Tue Dec 9 05:34:49 UTC 2025 - Tina Müller <timueller+perl@suse.de>
- updated to 0.80.0 (0.08)
see /usr/share/doc/packages/perl-Feature-Compat-Class/Changes
0.08 2025-12-08
[CHANGES]
* Updated for Perl v5.42 to support the `:writer` field attribute on
scalar fields
* Swapped unit tests from `Test::More` to `Test2::V0`
* Account for respelling of "unrecognized" in latest bleadperl
-------------------------------------------------------------------
Tue Jan 28 17:28:49 UTC 2025 - Tina Müller <tina.mueller@suse.com>

View File

@@ -1,7 +1,7 @@
#
# spec file for package perl-Feature-Compat-Class
#
# Copyright (c) 2025 SUSE LLC
# Copyright (c) 2025 SUSE LLC and contributors
#
# All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed
@@ -18,10 +18,10 @@
%define cpan_name Feature-Compat-Class
Name: perl-Feature-Compat-Class
Version: 0.70.0
Version: 0.80.0
Release: 0
# 0.07 -> normalize -> 0.70.0
%define cpan_version 0.07
# 0.08 -> normalize -> 0.80.0
%define cpan_version 0.08
License: Artistic-1.0 OR GPL-1.0-or-later
Summary: Make class syntax available
URL: https://metacpan.org/release/%{cpan_name}
@@ -31,10 +31,10 @@ Source100: README.md
BuildArch: noarch
BuildRequires: perl
BuildRequires: perl-macros
BuildRequires: perl(Module::Build) >= 0.4004
BuildRequires: perl(Object::Pad) >= 0.806
BuildRequires: perl(Test::More) >= 0.88
Requires: perl(Object::Pad) >= 0.806
BuildRequires: perl(Module::Build) >= 0.400.400
BuildRequires: perl(Object::Pad) >= 0.823
BuildRequires: perl(Test2::V0)
Requires: perl(Object::Pad) >= 0.823
Provides: perl(Feature::Compat::Class) = %{version}
%undefine __perllib_provides
%{perl_requires}
@@ -48,7 +48,8 @@ Perl added such syntax at version 5.38.0, which is enabled by
use feature 'class';
This syntax was further expanded in 5.40, adding the '__CLASS__' keyword
and ':reader' attribute on fields.
and ':reader' attribute on fields, and again in 5.42 to add the ':writer'
attribute.
On that version of perl or later, this module simply enables the core
feature equivalent of using it directly. On such perls, this module will
@@ -66,7 +67,7 @@ of the early-access nature of this branch, and are expected to be lifted as
work progresses towards a more featureful and complete implementation.
%prep
%autosetup -n %{cpan_name}-%{cpan_version} -p1
%autosetup -n %{cpan_name}-%{cpan_version} -p1
%build
perl Build.PL --installdirs=vendor