Compare commits

1 Commits
1.1 ... main

4 changed files with 50 additions and 15 deletions

BIN
Syntax-Keyword-Try-0.28.tar.gz (Stored with Git LFS)

Binary file not shown.

BIN
Syntax-Keyword-Try-0.30.tar.gz (Stored with Git LFS) Normal file

Binary file not shown.

View File

@@ -1,3 +1,33 @@
-------------------------------------------------------------------
Sun Sep 1 05:33:34 UTC 2024 - Tina Müller <timueller+perl@suse.de>
- updated to 0.300.0 (0.30)
see /usr/share/doc/packages/perl-Syntax-Keyword-Try/Changes
0.30 2024-08-29
[CHANGES]
* Updates for XS::Parse::Keyword v0.35: new container macro names
* Updated to latest hax/ support files: avoids SAVEt_LONG, now
removed in perl 5.41.3
-------------------------------------------------------------------
Fri Mar 8 23:04:48 UTC 2024 - Tina Müller <tina.mueller@suse.com>
- Fix disabling of __perllib_provides
-------------------------------------------------------------------
Fri Jul 14 03:06:53 UTC 2023 - Tina Müller <timueller+perl@suse.de>
- updated to 0.29
see /usr/share/doc/packages/perl-Syntax-Keyword-Try/Changes
0.29 2023-07-13
[CHANGES]
* Updates to compile cleanly on perl v5.38
* Remember to implement `no Syntax::Keyword::Try` to disable the
syntax
* Swap all the unit tests to `Test2::V0`
-------------------------------------------------------------------
Fri Dec 9 03:09:01 UTC 2022 - Tina Müller <timueller+perl@suse.de>

View File

@@ -1,7 +1,7 @@
#
# spec file for package perl-Syntax-Keyword-Try
#
# Copyright (c) 2022 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,21 +18,26 @@
%define cpan_name Syntax-Keyword-Try
Name: perl-Syntax-Keyword-Try
Version: 0.28
Version: 0.300.0
Release: 0
# 0.30 -> normalize -> 0.300.0
%define cpan_version 0.30
License: Artistic-1.0 OR GPL-1.0-or-later
Summary: Try/catch/finally syntax for perl
URL: https://metacpan.org/release/%{cpan_name}
Source0: https://cpan.metacpan.org/authors/id/P/PE/PEVANS/%{cpan_name}-%{version}.tar.gz
Source0: https://cpan.metacpan.org/authors/id/P/PE/PEVANS/%{cpan_name}-%{cpan_version}.tar.gz
Source1: cpanspec.yml
BuildRequires: perl
BuildRequires: perl-macros
BuildRequires: perl(ExtUtils::CBuilder)
BuildRequires: perl(Module::Build) >= 0.400400
BuildRequires: perl(Test::More) >= 0.88
BuildRequires: perl(XS::Parse::Keyword) >= 0.06
BuildRequires: perl(XS::Parse::Keyword::Builder) >= 0.06
Requires: perl(XS::Parse::Keyword) >= 0.06
BuildRequires: perl(Module::Build) >= 0.4004
BuildRequires: perl(Test2::V0)
BuildRequires: perl(XS::Parse::Keyword) >= 0.350
BuildRequires: perl(XS::Parse::Keyword::Builder) >= 0.350
Requires: perl(XS::Parse::Keyword) >= 0.350
Provides: perl(Syntax::Keyword::Try) = %{version}
Provides: perl(Syntax::Keyword::Try::Deparse) = %{version}
%undefine __perllib_provides
%{perl_requires}
%description
@@ -53,17 +58,17 @@ the core feature on those supported perl versions, falling back to
'Syntax::Keyword::Try' on older perls.
%prep
%autosetup -n %{cpan_name}-%{version}
%autosetup -n %{cpan_name}-%{cpan_version}
%build
perl Build.PL installdirs=vendor optimize="%{optflags}"
./Build build flags=%{?_smp_mflags}
perl Build.PL --installdirs=vendor optimize="%{optflags}"
./Build build --flags=%{?_smp_mflags}
%check
./Build test
%install
./Build install destdir=%{buildroot} create_packlist=0
./Build install --destdir=%{buildroot} --create_packlist=0
%perl_gen_filelist
%files -f %{name}.files