1
0

Compare commits

...

1 Commits

2 changed files with 16 additions and 6 deletions

View File

@@ -1,3 +1,9 @@
-------------------------------------------------------------------
Thu Jun 12 17:24:17 UTC 2025 - Tina Müller <tina.mueller@suse.com>
- Normalize CPAN version
See https://github.com/openSUSE/cpanspec/issues/47 for details
-------------------------------------------------------------------
Tue Sep 14 19:42:19 UTC 2021 - Dirk Stoecker <opensuse@dstoecker.de>

View File

@@ -1,7 +1,7 @@
#
# spec file for package perl-Array-Diff
#
# Copyright (c) 2021 SUSE LLC
# Copyright (c) 2025 SUSE LLC
#
# All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed
@@ -18,20 +18,24 @@
%define cpan_name Array-Diff
Name: perl-Array-Diff
Version: 0.09
Version: 0.90.0
Release: 0
# 0.09 -> normalize -> 0.90.0
%define cpan_version 0.09
License: Artistic-1.0 OR GPL-1.0-or-later
Summary: Find the differences between two arrays
URL: https://metacpan.org/release/%{cpan_name}
Source0: https://cpan.metacpan.org/authors/id/N/NE/NEILB/%{cpan_name}-%{version}.tar.gz
Source0: https://cpan.metacpan.org/authors/id/N/NE/NEILB/%{cpan_name}-%{cpan_version}.tar.gz
Source1: cpanspec.yml
BuildArch: noarch
BuildRequires: perl
BuildRequires: perl-macros
BuildRequires: perl(Algorithm::Diff) >= 1.19
BuildRequires: perl(Algorithm::Diff) >= 1.190
BuildRequires: perl(Class::Accessor::Fast)
Requires: perl(Algorithm::Diff) >= 1.19
Requires: perl(Algorithm::Diff) >= 1.190
Requires: perl(Class::Accessor::Fast)
Provides: perl(Array::Diff) = %{version}
%undefine __perllib_provides
%{perl_requires}
%description
@@ -44,7 +48,7 @@ Algorithm::Diff.
And if you need more complex array tools, check Array::Compare.
%prep
%autosetup -n %{cpan_name}-%{version}
%autosetup -n %{cpan_name}-%{cpan_version} -p1
%build
perl Makefile.PL INSTALLDIRS=vendor