8
0

Accepting request 701669 from devel:languages:perl:autoupdate

automatic update

OBS-URL: https://build.opensuse.org/request/show/701669
OBS-URL: https://build.opensuse.org/package/show/devel:languages:perl/perl-Array-Diff?expand=0&rev=10
This commit is contained in:
Lars Vogdt
2019-05-12 12:51:47 +00:00
committed by Git OBS Bridge
parent 70b5a57d8c
commit 6386ad80ab
5 changed files with 68 additions and 18 deletions

View File

@@ -1,7 +1,7 @@
#
# spec file for package perl-Array-Diff
#
# Copyright (c) 2015 SUSE LINUX GmbH, Nuernberg, Germany.
# Copyright (c) 2019 SUSE LINUX GmbH, Nuernberg, Germany.
#
# All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed
@@ -12,47 +12,45 @@
# license that conforms to the Open Source Definition (Version 1.9)
# published by the Open Source Initiative.
# Please submit bugfixes or comments via http://bugs.opensuse.org/
# Please submit bugfixes or comments via https://bugs.opensuse.org/
#
Name: perl-Array-Diff
Version: 0.07
Version: 0.08
Release: 0
%define cpan_name Array-Diff
Summary: Find the differences between two arrays
License: Artistic-1.0 or GPL-1.0+
License: Artistic-1.0 OR GPL-1.0-or-later
Group: Development/Libraries/Perl
Url: http://search.cpan.org/dist/Array-Diff/
Source: http://www.cpan.org/authors/id/T/TY/TYPESTER/%{cpan_name}-%{version}.tar.gz
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
BuildRequires: perl(Class::Accessor::Fast)
BuildRequires: perl(Module::Install)
Requires: perl(Algorithm::Diff) >= 1.19
Requires: perl(Class::Accessor::Fast)
Recommends: perl(Algorithm::Diff::XS)
%{perl_requires}
%description
This module compares two arrays and returns the added or deleted elements
in two separate arrays. It's a simple wrapper around the Algorithm::Diff
manpage.
in two separate arrays. It's a simple wrapper around Algorithm::Diff.
And if you need more complex array tools, check the Array::Compare manpage.
And if you need more complex array tools, check Array::Compare.
%prep
%setup -q -n %{cpan_name}-%{version}
%build
%{__perl} Makefile.PL INSTALLDIRS=vendor
%{__make} %{?_smp_mflags}
perl Makefile.PL INSTALLDIRS=vendor
make %{?_smp_mflags}
%check
%{__make} test
make test
%install
%perl_make_install
@@ -61,6 +59,7 @@ And if you need more complex array tools, check the Array::Compare manpage.
%files -f %{name}.files
%defattr(-,root,root,755)
%doc Changes LICENSE README
%doc Changes README
%license LICENSE
%changelog