7
0
forked from pool/perl-Try-Tiny

2 Commits

Author SHA256 Message Date
9b8d9b8cc7 Accepting request 1197314 from devel:languages:perl
OBS-URL: https://build.opensuse.org/request/show/1197314
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/perl-Try-Tiny?expand=0&rev=27
2024-08-30 11:26:21 +00:00
285030379f Accepting request 1195924 from devel:languages:perl:autoupdate
- updated to 0.320.0 (0.32)
   see /usr/share/doc/packages/perl-Try-Tiny/Changes
  0.32      2024-08-16 22:23:44Z
    - skip given, when tests on perls >= 5.41.3 which removed these constructs

OBS-URL: https://build.opensuse.org/request/show/1195924
OBS-URL: https://build.opensuse.org/package/show/devel:languages:perl/perl-Try-Tiny?expand=0&rev=41
2024-08-29 07:07:00 +00:00
6 changed files with 48 additions and 16 deletions

3
.gitattributes vendored
View File

@@ -1,4 +1,4 @@
*.changes merge=merge-changes
## Default LFS
*.7z filter=lfs diff=lfs merge=lfs -text
*.bsp filter=lfs diff=lfs merge=lfs -text
*.bz2 filter=lfs diff=lfs merge=lfs -text
@@ -12,7 +12,6 @@
*.pdf filter=lfs diff=lfs merge=lfs -text
*.png filter=lfs diff=lfs merge=lfs -text
*.rpm filter=lfs diff=lfs merge=lfs -text
*.tar filter=lfs diff=lfs merge=lfs -text
*.tbz filter=lfs diff=lfs merge=lfs -text
*.tbz2 filter=lfs diff=lfs merge=lfs -text
*.tgz filter=lfs diff=lfs merge=lfs -text

Binary file not shown.

BIN
Try-Tiny-0.32.tar.gz LFS Normal file

Binary file not shown.

28
cpanspec.yml Normal file
View File

@@ -0,0 +1,28 @@
---
#description_paragraphs: 3
#description: |-
# override description from CPAN
#summary: override summary from CPAN
#no_testing: broken upstream
#sources:
# - source1
# - source2
#patches:
# foo.patch: -p1
# bar.patch:
#preamble: |-
# BuildRequires: gcc-c++
#post_prep: |-
# hunspell=`pkg-config --libs hunspell | sed -e 's,-l,,; s, *,,g'`
# sed -i -e "s,hunspell-X,$hunspell," t/00-prereq.t Makefile.PL
#post_build: |-
# rm unused.files
#post_install: |-
# sed on %{name}.files
#license: SUSE-NonFree
#skip_noarch: 1
#custom_build: |-
#./Build build flags=%{?_smp_mflags} --myflag
#custom_test: |-
#startserver && make test
#ignore_requires: Bizarre::Module

View File

@@ -1,8 +1,11 @@
-------------------------------------------------------------------
Fri Aug 4 10:05:19 UTC 2023 - Victor Zhestkov <vzhestkov@suse.com>
Sat Aug 17 05:31:48 UTC 2024 - Tina Müller <timueller+perl@suse.de>
- Remove unused file:
* cpanspec.yml
- updated to 0.320.0 (0.32)
see /usr/share/doc/packages/perl-Try-Tiny/Changes
0.32 2024-08-16 22:23:44Z
- skip given, when tests on perls >= 5.41.3 which removed these constructs
-------------------------------------------------------------------
Wed Nov 24 03:09:38 UTC 2021 - Tina Müller <timueller+perl@suse.de>

View File

@@ -1,7 +1,7 @@
#
# spec file for package perl-Try-Tiny
#
# Copyright (c) 2023 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,18 +18,20 @@
%define cpan_name Try-Tiny
Name: perl-Try-Tiny
Version: 0.31
Version: 0.320.0
Release: 0
Summary: Minimal try/catch with proper preservation of $@
# 0.32 -> normalize -> 0.320.0
%define cpan_version 0.32
License: MIT
Summary: Minimal try/catch with proper preservation of $@
URL: https://metacpan.org/release/%{cpan_name}
Source0: https://cpan.metacpan.org/authors/id/E/ET/ETHER/%{cpan_name}-%{version}.tar.gz
%if "%_vendor" != "debbuild"
ExclusiveArch: do_not_build
%endif
Source0: https://cpan.metacpan.org/authors/id/E/ET/ETHER/%{cpan_name}-%{cpan_version}.tar.gz
Source1: cpanspec.yml
BuildArch: noarch
BuildRequires: perl
BuildRequires: perl-macros
Provides: perl(Try::Tiny) = %{version}
%undefine __perllib_provides
%{perl_requires}
%description
@@ -82,7 +84,7 @@ learned the 'try'/'finally' pattern from one of these languages, watch out
for this.
%prep
%autosetup -n %{cpan_name}-%{version}
%autosetup -n %{cpan_name}-%{cpan_version}
%build
perl Makefile.PL INSTALLDIRS=vendor