diff --git a/Feature-Compat-Class-0.07.tar.gz b/Feature-Compat-Class-0.07.tar.gz deleted file mode 100644 index c0b31d2..0000000 --- a/Feature-Compat-Class-0.07.tar.gz +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:4da9105a5deba5adedb22196963d77353b163346170e02bc34e91fc8a25daa38 -size 20878 diff --git a/Feature-Compat-Class-0.08.tar.gz b/Feature-Compat-Class-0.08.tar.gz new file mode 100644 index 0000000..ddc53ff --- /dev/null +++ b/Feature-Compat-Class-0.08.tar.gz @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:0ddf9a82841f10e35f107cdf627b160755f9de93d8b7ea2a090183fdc268c70b +size 21707 diff --git a/perl-Feature-Compat-Class.changes b/perl-Feature-Compat-Class.changes index ebbb36b..4f49976 100644 --- a/perl-Feature-Compat-Class.changes +++ b/perl-Feature-Compat-Class.changes @@ -1,3 +1,16 @@ +------------------------------------------------------------------- +Tue Dec 9 05:34:49 UTC 2025 - Tina Müller + +- 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 diff --git a/perl-Feature-Compat-Class.spec b/perl-Feature-Compat-Class.spec index 0652449..ddbca65 100644 --- a/perl-Feature-Compat-Class.spec +++ b/perl-Feature-Compat-Class.spec @@ -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