8
0
2021-09-14 19:42:33 +00:00
committed by Git OBS Bridge
parent c57b100aca
commit ee5f249724
2 changed files with 11 additions and 9 deletions

View File

@@ -1,3 +1,8 @@
-------------------------------------------------------------------
Tue Sep 14 19:42:19 UTC 2021 - Dirk Stoecker <opensuse@dstoecker.de>
- refresh spec file
-------------------------------------------------------------------
Mon May 13 05:02:35 UTC 2019 - Stephan Kulow <coolo@suse.com>

View File

@@ -1,7 +1,7 @@
#
# spec file for package perl-Array-Diff
#
# Copyright (c) 2019 SUSE LINUX GmbH, Nuernberg, Germany.
# Copyright (c) 2021 SUSE LLC
#
# All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed
@@ -16,18 +16,16 @@
#
%define cpan_name Array-Diff
Name: perl-Array-Diff
Version: 0.09
Release: 0
%define cpan_name Array-Diff
Summary: Find the differences between two arrays
License: Artistic-1.0 OR GPL-1.0-or-later
Group: Development/Libraries/Perl
Url: https://metacpan.org/release/%{cpan_name}
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
Source1: cpanspec.yml
BuildArch: noarch
BuildRoot: %{_tmppath}/%{name}-%{version}-build
BuildRequires: perl
BuildRequires: perl-macros
BuildRequires: perl(Algorithm::Diff) >= 1.19
@@ -46,11 +44,11 @@ Algorithm::Diff.
And if you need more complex array tools, check Array::Compare.
%prep
%setup -q -n %{cpan_name}-%{version}
%autosetup -n %{cpan_name}-%{version}
%build
perl Makefile.PL INSTALLDIRS=vendor
make %{?_smp_mflags}
%make_build
%check
make test
@@ -61,7 +59,6 @@ make test
%perl_gen_filelist
%files -f %{name}.files
%defattr(-,root,root,755)
%doc Changes README
%license LICENSE