Accepting request 1034221 from devel:languages:perl:autoupdate

- updated to 0.46
   see /usr/share/doc/packages/perl-Clone/Changes
  0.46 2022-10-18 20:23:00 garu
    - fix backwards compatibility with older perls (haarg)
    - bump MANIFEST to include extra tests

OBS-URL: https://build.opensuse.org/request/show/1034221
OBS-URL: https://build.opensuse.org/package/show/devel:languages:perl/perl-Clone?expand=0&rev=41
This commit is contained in:
Dirk Stoecker 2022-11-07 16:27:05 +00:00 committed by Git OBS Bridge
parent e1518ca7f7
commit bcd3c09734
4 changed files with 23 additions and 15 deletions

View File

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

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

Binary file not shown.

View File

@ -1,3 +1,13 @@
-------------------------------------------------------------------
Thu Oct 20 03:06:12 UTC 2022 - Tina Müller <timueller+perl@suse.de>
- updated to 0.46
see /usr/share/doc/packages/perl-Clone/Changes
0.46 2022-10-18 20:23:00 garu
- fix backwards compatibility with older perls (haarg)
- bump MANIFEST to include extra tests
-------------------------------------------------------------------
Fri Apr 24 03:08:49 UTC 2020 - <timueller+perl@suse.de>

View File

@ -1,7 +1,7 @@
#
# spec file for package perl-Clone
#
# Copyright (c) 2020 SUSE LINUX GmbH, Nuernberg, Germany.
# Copyright (c) 2022 SUSE LLC
#
# All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed
@ -16,20 +16,19 @@
#
Name: perl-Clone
Version: 0.45
Release: 0
%define cpan_name Clone
Summary: Recursively copy Perl datatypes
Name: perl-Clone
Version: 0.46
Release: 0
License: Artistic-1.0 OR GPL-1.0-or-later
Group: Development/Libraries/Perl
Url: https://metacpan.org/release/%{cpan_name}
Source0: https://cpan.metacpan.org/authors/id/A/AT/ATOOMIC/%{cpan_name}-%{version}.tar.gz
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
Source1: cpanspec.yml
BuildRoot: %{_tmppath}/%{name}-%{version}-build
BuildRequires: perl
BuildRequires: perl-macros
BuildRequires: perl(B::COW) >= 0.004
BuildRequires: perl(Test::More) >= 0.88
%{perl_requires}
%description
@ -47,12 +46,12 @@ arrays or hashes, pass them in by reference, e.g.
my %copy = %{ clone (\%hash) };
%prep
%setup -q -n %{cpan_name}-%{version}
%autosetup -n %{cpan_name}-%{version}
find . -type f ! -path "*/t/*" ! -name "*.pl" ! -path "*/bin/*" ! -path "*/script/*" ! -name "configure" -print0 | xargs -0 chmod 644
%build
perl Makefile.PL INSTALLDIRS=vendor OPTIMIZE="%{optflags}"
make %{?_smp_mflags}
%make_build
%check
make test
@ -63,7 +62,6 @@ make test
%perl_gen_filelist
%files -f %{name}.files
%defattr(-,root,root,755)
%doc Changes README.md
%changelog