3 Commits

5 changed files with 35 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

12
README.md Normal file
View File

@@ -0,0 +1,12 @@
## Build Results
Current state of perl in openSUSE:Factory is
![Factory build results](https://br.opensuse.org/status/openSUSE:Factory/perl-Clone/standard)
The current state of perl in the devel project build (devel:languages:perl)
![Devel project build results](https://br.opensuse.org/status/devel:languages:perl/perl-Clone)

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,22 @@
%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
Source100: README.md
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 +51,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}"