Accepting request 1197307 from devel:languages:perl

OBS-URL: https://build.opensuse.org/request/show/1197307
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/perl-Clone?expand=0&rev=33
This commit is contained in:
Dominique Leuenberger 2024-08-30 11:26:19 +00:00 committed by Git OBS Bridge
commit 27a18b7002
4 changed files with 22 additions and 8 deletions

BIN
Clone-0.46.tar.gz (Stored with Git LFS)

Binary file not shown.

3
Clone-0.47.tar.gz Normal file
View File

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

View File

@ -1,3 +1,12 @@
-------------------------------------------------------------------
Sun Aug 18 05:29:53 UTC 2024 - Tina Müller <timueller+perl@suse.de>
- updated to 0.470.0 (0.47)
see /usr/share/doc/packages/perl-Clone/Changes
0.47 2024-08-17 12:30:00 atoomic
- Stop using quote as package separator
-------------------------------------------------------------------
Thu Oct 20 03:06:12 UTC 2022 - Tina Müller <timueller+perl@suse.de>

View File

@ -1,7 +1,7 @@
#
# spec file for package perl-Clone
#
# 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,17 +18,21 @@
%define cpan_name Clone
Name: perl-Clone
Version: 0.46
Version: 0.470.0
Release: 0
# 0.47 -> normalize -> 0.470.0
%define cpan_version 0.47
License: Artistic-1.0 OR GPL-1.0-or-later
Summary: Recursively copy Perl datatypes
URL: https://metacpan.org/release/%{cpan_name}
Source0: https://cpan.metacpan.org/authors/id/G/GA/GARU/%{cpan_name}-%{version}.tar.gz
Source0: https://cpan.metacpan.org/authors/id/A/AT/ATOOMIC/%{cpan_name}-%{cpan_version}.tar.gz
Source1: cpanspec.yml
BuildRequires: perl
BuildRequires: perl-macros
BuildRequires: perl(B::COW) >= 0.004
BuildRequires: perl(Test::More) >= 0.88
Provides: perl(Clone) = %{version}
%undefine __perllib_provides
%{perl_requires}
%description
@ -46,8 +50,9 @@ arrays or hashes, pass them in by reference, e.g.
my %copy = %{ clone (\%hash) };
%prep
%autosetup -n %{cpan_name}-%{version}
find . -type f ! -path "*/t/*" ! -name "*.pl" ! -path "*/bin/*" ! -path "*/script/*" ! -name "configure" -print0 | xargs -0 chmod 644
%autosetup -n %{cpan_name}-%{cpan_version}
find . -type f ! -path "*/t/*" ! -name "*.pl" ! -path "*/bin/*" ! -path "*/script/*" ! -path "*/scripts/*" ! -name "configure" -print0 | xargs -0 chmod 644
%build
perl Makefile.PL INSTALLDIRS=vendor OPTIMIZE="%{optflags}"