Accepting request 1100477 from devel:languages:perl:autoupdate

- 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`

OBS-URL: https://build.opensuse.org/request/show/1100477
OBS-URL: https://build.opensuse.org/package/show/devel:languages:perl/perl-Syntax-Keyword-Try?expand=0&rev=29
This commit is contained in:
Dirk Stoecker 2023-07-27 07:51:38 +00:00 committed by Git OBS Bridge
parent b78fb24b6e
commit ee12be0694
4 changed files with 28 additions and 11 deletions

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

Binary file not shown.

View File

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

View File

@ -1,3 +1,16 @@
-------------------------------------------------------------------
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) 2023 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,25 @@
%define cpan_name Syntax-Keyword-Try
Name: perl-Syntax-Keyword-Try
Version: 0.28
Version: 0.290.0
Release: 0
%define cpan_version 0.29
Provides: perl(Syntax::Keyword::Try) = 0.290.0
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(Test2::V0)
BuildRequires: perl(XS::Parse::Keyword) >= 0.06
BuildRequires: perl(XS::Parse::Keyword::Builder) >= 0.06
Requires: perl(XS::Parse::Keyword) >= 0.06
Provides: perl(Syntax::Keyword::Try::Deparse) = 0.290.0
%define __perllib_provides /bin/true
%{perl_requires}
%description
@ -53,17 +57,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