forked from pool/perl-Array-Diff
Accepting request 296154 from devel:languages:perl:autoupdate
automatic update OBS-URL: https://build.opensuse.org/request/show/296154 OBS-URL: https://build.opensuse.org/package/show/devel:languages:perl/perl-Array-Diff?expand=0&rev=7
This commit is contained in:
@@ -1,3 +0,0 @@
|
||||
version https://git-lfs.github.com/spec/v1
|
||||
oid sha256:cf6341565099d155e0cd7499abebcc62893d9137c6707d54e06f2c6f12d28132
|
||||
size 45810
|
@@ -1,3 +1,27 @@
|
||||
-------------------------------------------------------------------
|
||||
Tue Apr 14 11:46:23 UTC 2015 - coolo@suse.com
|
||||
|
||||
- updated to 0.07
|
||||
see /usr/share/doc/packages/perl-Array-Diff/Changes
|
||||
|
||||
0.07 2010-10-08T08:59:12+09:00
|
||||
- oops, depends Algorithm::Diff 1.19 again ;) (RT #61967)
|
||||
|
||||
0.06 2010-10-08T08:48:01+09:00
|
||||
- depends Algorithm::Diff 0.19 (RT #61967)
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Tue Apr 14 11:46:21 UTC 2015 - coolo@suse.com
|
||||
|
||||
- updated to 0.07
|
||||
see /usr/share/doc/packages/perl-Array-Diff/Changes
|
||||
|
||||
0.07 2010-10-08T08:59:12+09:00
|
||||
- oops, depends Algorithm::Diff 1.19 again ;) (RT #61967)
|
||||
|
||||
0.06 2010-10-08T08:48:01+09:00
|
||||
- depends Algorithm::Diff 0.19 (RT #61967)
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Wed Dec 1 09:44:28 UTC 2010 - coolo@novell.com
|
||||
|
||||
|
@@ -1,56 +1,65 @@
|
||||
# vim: set sw=4 ts=4 et nu:
|
||||
# norootforbuild
|
||||
#
|
||||
# spec file for package perl-Array-Diff
|
||||
#
|
||||
# Copyright (c) 2015 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
|
||||
# upon. The license for this file, and modifications and additions to the
|
||||
# file, is the same license as for the pristine package itself (unless the
|
||||
# license for the pristine package is not an Open Source License, in which
|
||||
# case the license is the MIT License). An "Open Source License" is a
|
||||
# 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/
|
||||
#
|
||||
|
||||
|
||||
Name: perl-Array-Diff
|
||||
Version: 0.05002
|
||||
Version: 0.07
|
||||
Release: 0
|
||||
%define cpan_name Array-Diff
|
||||
Summary: Find the differences between two arrays
|
||||
Source: http://search.cpan.org/CPAN/authors/id/T/TY/TYPESTER/Array-Diff-%{version}.tar.gz
|
||||
URL: http://search.cpan.org/dist/Array-Diff
|
||||
License: Artistic-1.0 or GPL-1.0+
|
||||
Group: Development/Libraries/Perl
|
||||
License: Perl License
|
||||
BuildRoot: %{_tmppath}/build-%{name}-%{version}
|
||||
%{perl_requires}
|
||||
BuildRequires: make perl
|
||||
Url: http://search.cpan.org/dist/Array-Diff/
|
||||
Source: http://www.cpan.org/authors/id/T/TY/TYPESTER/%{cpan_name}-%{version}.tar.gz
|
||||
BuildArch: noarch
|
||||
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
||||
BuildRequires: perl
|
||||
BuildRequires: perl-macros
|
||||
BuildRequires: perl(Test::More)
|
||||
BuildRequires: perl(ExtUtils::MakeMaker) >= 6.42
|
||||
BuildRequires: perl(Algorithm::Diff) >= 1.19
|
||||
BuildRequires: perl(Class::Accessor::Fast)
|
||||
BuildRequires: perl(Algorithm::Diff)
|
||||
BuildRequires: perl(Test::Pod)
|
||||
BuildRequires: perl(Test::Pod::Coverage)
|
||||
Requires: perl(Algorithm::Diff) >= 1.19
|
||||
Requires: perl(Class::Accessor::Fast)
|
||||
Requires: perl(Algorithm::Diff)
|
||||
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 Algorithm::Diff.
|
||||
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.
|
||||
|
||||
And if you need more complex array tools, check Array::Compare.
|
||||
And if you need more complex array tools, check the Array::Compare manpage.
|
||||
|
||||
%prep
|
||||
%setup -q -n "Array-Diff-%{version}"
|
||||
%__sed -i '/^auto_install/d' Makefile.PL
|
||||
%setup -q -n %{cpan_name}-%{version}
|
||||
|
||||
%build
|
||||
%__perl Makefile.PL PREFIX="%{_prefix}"
|
||||
%__make %{?jobs:-j%{jobs}}
|
||||
%{__perl} Makefile.PL INSTALLDIRS=vendor
|
||||
%{__make} %{?_smp_mflags}
|
||||
|
||||
%check
|
||||
%{__make} test
|
||||
|
||||
%install
|
||||
%perl_make_install
|
||||
%perl_process_packlist
|
||||
%perl_gen_filelist
|
||||
|
||||
%check
|
||||
%__make test
|
||||
|
||||
%clean
|
||||
%{?buildroot:%__rm -rf "%{buildroot}"}
|
||||
|
||||
%files
|
||||
%defattr(-,root,root)
|
||||
%doc Changes README
|
||||
%dir %{perl_vendorlib}/Array
|
||||
%{perl_vendorlib}/Array/Diff.pm
|
||||
%dir %{perl_vendorarch}/auto/Array
|
||||
%{perl_vendorarch}/auto/Array/Diff
|
||||
%doc %{perl_man3dir}/Array::Diff.*
|
||||
%files -f %{name}.files
|
||||
%defattr(-,root,root,755)
|
||||
%doc Changes LICENSE README
|
||||
|
||||
%changelog
|
||||
|
Reference in New Issue
Block a user