forked from pool/perl-Array-Diff
Compare commits
10 Commits
ad05b9f624
...
7ef6606080
Author | SHA256 | Date | |
---|---|---|---|
7ef6606080 | |||
ee5f249724 | |||
|
c57b100aca | ||
|
6386ad80ab | ||
70b5a57d8c | |||
47f10527b0 | |||
ac3e3c75b2 | |||
|
d51b06f79d | ||
|
68ad20330a | ||
|
7c1ce5669a |
@@ -1,3 +0,0 @@
|
||||
version https://git-lfs.github.com/spec/v1
|
||||
oid sha256:cf6341565099d155e0cd7499abebcc62893d9137c6707d54e06f2c6f12d28132
|
||||
size 45810
|
3
Array-Diff-0.09.tar.gz
Normal file
3
Array-Diff-0.09.tar.gz
Normal file
@@ -0,0 +1,3 @@
|
||||
version https://git-lfs.github.com/spec/v1
|
||||
oid sha256:8006392e9861e741537c2bbc9116c8e42b962f2e07e8d641a2ff6a11c6445077
|
||||
size 11335
|
28
cpanspec.yml
Normal file
28
cpanspec.yml
Normal file
@@ -0,0 +1,28 @@
|
||||
---
|
||||
#description_paragraphs: 3
|
||||
#description: |-
|
||||
# override description from CPAN
|
||||
#summary: override summary from CPAN
|
||||
#no_testing: broken upstream
|
||||
#sources:
|
||||
# - source1
|
||||
# - source2
|
||||
#patches:
|
||||
# foo.patch: -p1
|
||||
# bar.patch:
|
||||
#preamble: |-
|
||||
# BuildRequires: gcc-c++
|
||||
#post_prep: |-
|
||||
# hunspell=`pkg-config --libs hunspell | sed -e 's,-l,,; s, *,,g'`
|
||||
# sed -i -e "s,hunspell-X,$hunspell," t/00-prereq.t Makefile.PL
|
||||
#post_build: |-
|
||||
# rm unused.files
|
||||
#post_install: |-
|
||||
# sed on %{name}.files
|
||||
#license: SUSE-NonFree
|
||||
#skip_noarch: 1
|
||||
#custom_build: |-
|
||||
#./Build build flags=%{?_smp_mflags} --myflag
|
||||
#custom_test: |-
|
||||
#startserver && make test
|
||||
#ignore_requires: Bizarre::Module
|
@@ -1,3 +1,75 @@
|
||||
-------------------------------------------------------------------
|
||||
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>
|
||||
|
||||
- updated to 0.09
|
||||
see /usr/share/doc/packages/perl-Array-Diff/Changes
|
||||
|
||||
0.09 2019-05-10 NEILB
|
||||
- Set minimum Perl version in metadata. PR from MANWAR.
|
||||
- Clarified in the doc that the arrays must be sorted. RT#39184
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Thu May 9 05:02:31 UTC 2019 - Stephan Kulow <coolo@suse.com>
|
||||
|
||||
- updated to 0.08
|
||||
see /usr/share/doc/packages/perl-Array-Diff/Changes
|
||||
|
||||
0.08 2019-05-08 NEILB
|
||||
- First non-developer release since switching to Dist::Zilla
|
||||
|
||||
0.07_03 2019-05-08 NEILB
|
||||
- Added Array::Compare to SEE ALSO
|
||||
- Added List::Compare to SEE ALSO
|
||||
- Really just making another developer release, as PAUSE and then
|
||||
CPAN Testers had issues, so previous dev releases didn't get much
|
||||
testing.
|
||||
|
||||
0.07_02 2019-05-07 NEILB
|
||||
- Added a bunch of entries to SEE ALSO.
|
||||
|
||||
0.07_01 2019-05-06 NEILB
|
||||
- Added version dependency for Algorithm::Diff in Array/Diff.pm
|
||||
- Switched to Dist::Zilla
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Sun Oct 7 12:24:47 UTC 2018 - Dirk Stoecker <opensuse@dstoecker.de>
|
||||
|
||||
- Fix build for perl 5.28
|
||||
|
||||
-------------------------------------------------------------------
|
||||
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
|
||||
|
||||
- switch to perl_requires macro
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Mon Nov 29 18:29:21 UTC 2010 - coolo@novell.com
|
||||
|
||||
|
@@ -1,55 +1,65 @@
|
||||
# vim: set sw=4 ts=4 et nu:
|
||||
# norootforbuild
|
||||
#
|
||||
# spec file for package perl-Array-Diff
|
||||
#
|
||||
# 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
|
||||
# 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 https://bugs.opensuse.org/
|
||||
#
|
||||
|
||||
|
||||
%define cpan_name Array-Diff
|
||||
Name: perl-Array-Diff
|
||||
Version: 0.05002
|
||||
Version: 0.09
|
||||
Release: 0
|
||||
License: Artistic-1.0 OR GPL-1.0-or-later
|
||||
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
|
||||
Group: Development/Libraries/Perl
|
||||
License: Perl License
|
||||
BuildRoot: %{_tmppath}/build-%{name}-%{version}
|
||||
Requires: perl = %{perl_version}
|
||||
BuildRequires: make perl
|
||||
BuildRequires: perl(Test::More)
|
||||
BuildRequires: perl(ExtUtils::MakeMaker) >= 6.42
|
||||
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
|
||||
BuildRequires: perl
|
||||
BuildRequires: perl-macros
|
||||
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)
|
||||
%{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 *pre-sorted* arrays and returns the added or
|
||||
deleted elements in two separate arrays. It's a simple wrapper around
|
||||
Algorithm::Diff.
|
||||
|
||||
*Note*: the arrays must be sorted before you call 'diff'.
|
||||
|
||||
And if you need more complex array tools, check Array::Compare.
|
||||
|
||||
%prep
|
||||
%setup -q -n "Array-Diff-%{version}"
|
||||
%__sed -i '/^auto_install/d' Makefile.PL
|
||||
%autosetup -n %{cpan_name}-%{version}
|
||||
|
||||
%build
|
||||
%__perl Makefile.PL PREFIX="%{_prefix}"
|
||||
%__make %{?jobs:-j%{jobs}}
|
||||
perl Makefile.PL INSTALLDIRS=vendor
|
||||
%make_build
|
||||
|
||||
%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)
|
||||
%files -f %{name}.files
|
||||
%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.*
|
||||
%license LICENSE
|
||||
|
||||
%changelog
|
||||
|
Reference in New Issue
Block a user