forked from pool/perl-Array-Diff
Compare commits
11 Commits
ad05b9f624
...
devel
Author | SHA256 | Date | |
---|---|---|---|
359d4f89ec | |||
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,81 @@
|
|||||||
|
-------------------------------------------------------------------
|
||||||
|
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>
|
||||||
|
|
||||||
|
- 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
|
Mon Nov 29 18:29:21 UTC 2010 - coolo@novell.com
|
||||||
|
|
||||||
|
@@ -1,55 +1,69 @@
|
|||||||
# vim: set sw=4 ts=4 et nu:
|
#
|
||||||
# norootforbuild
|
# spec file for package perl-Array-Diff
|
||||||
|
#
|
||||||
|
# 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
|
||||||
|
# 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
|
Name: perl-Array-Diff
|
||||||
Version: 0.05002
|
Version: 0.90.0
|
||||||
Release: 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
|
Summary: Find the differences between two arrays
|
||||||
Source: http://search.cpan.org/CPAN/authors/id/T/TY/TYPESTER/Array-Diff-%{version}.tar.gz
|
URL: https://metacpan.org/release/%{cpan_name}
|
||||||
URL: http://search.cpan.org/dist/Array-Diff
|
Source0: https://cpan.metacpan.org/authors/id/N/NE/NEILB/%{cpan_name}-%{cpan_version}.tar.gz
|
||||||
Group: Development/Libraries/Perl
|
Source1: cpanspec.yml
|
||||||
License: Perl License
|
BuildArch: noarch
|
||||||
BuildRoot: %{_tmppath}/build-%{name}-%{version}
|
BuildRequires: perl
|
||||||
Requires: perl = %{perl_version}
|
BuildRequires: perl-macros
|
||||||
BuildRequires: make perl
|
BuildRequires: perl(Algorithm::Diff) >= 1.190
|
||||||
BuildRequires: perl(Test::More)
|
|
||||||
BuildRequires: perl(ExtUtils::MakeMaker) >= 6.42
|
|
||||||
BuildRequires: perl(Class::Accessor::Fast)
|
BuildRequires: perl(Class::Accessor::Fast)
|
||||||
BuildRequires: perl(Algorithm::Diff)
|
Requires: perl(Algorithm::Diff) >= 1.190
|
||||||
BuildRequires: perl(Test::Pod)
|
|
||||||
BuildRequires: perl(Test::Pod::Coverage)
|
|
||||||
Requires: perl(Class::Accessor::Fast)
|
Requires: perl(Class::Accessor::Fast)
|
||||||
Requires: perl(Algorithm::Diff)
|
Provides: perl(Array::Diff) = %{version}
|
||||||
|
%undefine __perllib_provides
|
||||||
|
%{perl_requires}
|
||||||
|
|
||||||
%description
|
%description
|
||||||
This module compares two arrays and returns the added or deleted elements in
|
This module compares two *pre-sorted* arrays and returns the added or
|
||||||
two separate arrays. It's a simple wrapper around Algorithm::Diff.
|
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.
|
And if you need more complex array tools, check Array::Compare.
|
||||||
|
|
||||||
%prep
|
%prep
|
||||||
%setup -q -n "Array-Diff-%{version}"
|
%autosetup -n %{cpan_name}-%{cpan_version} -p1
|
||||||
%__sed -i '/^auto_install/d' Makefile.PL
|
|
||||||
|
|
||||||
%build
|
%build
|
||||||
%__perl Makefile.PL PREFIX="%{_prefix}"
|
perl Makefile.PL INSTALLDIRS=vendor
|
||||||
%__make %{?jobs:-j%{jobs}}
|
%make_build
|
||||||
|
|
||||||
|
%check
|
||||||
|
make test
|
||||||
|
|
||||||
%install
|
%install
|
||||||
%perl_make_install
|
%perl_make_install
|
||||||
%perl_process_packlist
|
%perl_process_packlist
|
||||||
|
%perl_gen_filelist
|
||||||
|
|
||||||
%check
|
%files -f %{name}.files
|
||||||
%__make test
|
|
||||||
|
|
||||||
%clean
|
|
||||||
%{?buildroot:%__rm -rf "%{buildroot}"}
|
|
||||||
|
|
||||||
%files
|
|
||||||
%defattr(-,root,root)
|
|
||||||
%doc Changes README
|
%doc Changes README
|
||||||
%dir %{perl_vendorlib}/Array
|
%license LICENSE
|
||||||
%{perl_vendorlib}/Array/Diff.pm
|
|
||||||
%dir %{perl_vendorarch}/auto/Array
|
|
||||||
%{perl_vendorarch}/auto/Array/Diff
|
|
||||||
%doc %{perl_man3dir}/Array::Diff.*
|
|
||||||
|
|
||||||
|
%changelog
|
||||||
|
Reference in New Issue
Block a user