Accepting request 731878 from devel:languages:perl:autoupdate

- updated to 1.26
   see /usr/share/doc/packages/perl-Data-Compare/CHANGELOG
  1.26    2019-09-18  DCANTRELL  Minor code quality improvements from Alberto
                                   Simõe;
                                 Reinstate check for cwd being inaccessible
                                   (Daniel Collins)

OBS-URL: https://build.opensuse.org/request/show/731878
OBS-URL: https://build.opensuse.org/package/show/devel:languages:perl/perl-Data-Compare?expand=0&rev=14
This commit is contained in:
Tina Müller 2019-09-20 10:30:32 +00:00 committed by Git OBS Bridge
parent fa56b034b7
commit 0617e7c6c0
4 changed files with 43 additions and 31 deletions

View File

@ -1,3 +0,0 @@
version https://git-lfs.github.com/spec/v1
oid sha256:1d4b36db545fa9fbacd8c012618f6a7846238ee12ab627a2764cfaf45ad4ea73
size 26249

3
Data-Compare-1.26.tar.gz Normal file
View File

@ -0,0 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:975078ab2b9a80b4cecf7f3e427c76224ca80ffe864e6e3a28e77c88b8f8e00d
size 26684

View File

@ -1,3 +1,14 @@
-------------------------------------------------------------------
Thu Sep 19 07:52:32 UTC 2019 - <timueller+perl@suse.de>
- updated to 1.26
see /usr/share/doc/packages/perl-Data-Compare/CHANGELOG
1.26 2019-09-18 DCANTRELL Minor code quality improvements from Alberto
Simõe;
Reinstate check for cwd being inaccessible
(Daniel Collins)
-------------------------------------------------------------------
Thu Apr 16 21:11:04 UTC 2015 - coolo@suse.com

View File

@ -1,7 +1,7 @@
#
# spec file for package perl-Data-Compare
#
# 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,19 +12,19 @@
# 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-Data-Compare
Version: 1.25
Version: 1.26
Release: 0
%define cpan_name Data-Compare
Summary: Compare Perl Data Structures
License: GPL-1.0+ or Artistic-1.0
Summary: Compare perl data structures
License: Artistic-1.0 OR GPL-1.0-or-later
Group: Development/Libraries/Perl
Url: http://search.cpan.org/dist/Data-Compare/
Source0: http://www.cpan.org/authors/id/D/DC/DCANTRELL/%{cpan_name}-%{version}.tar.gz
Url: https://metacpan.org/release/%{cpan_name}
Source0: https://cpan.metacpan.org/authors/id/D/DC/DCANTRELL/%{cpan_name}-%{version}.tar.gz
Source1: cpanspec.yml
BuildArch: noarch
BuildRoot: %{_tmppath}/%{name}-%{version}-build
@ -42,30 +42,30 @@ A few data types are treated as special cases:
* Scalar::Properties objects
This has been moved into a plugin, although functionality remains the
same as with the previous version. Full documentation is in the
Data::Compare::Plugins::Scalar::Properties manpage.
This has been moved into a plugin, although functionality remains the same
as with the previous version. Full documentation is in
Data::Compare::Plugins::Scalar::Properties.
* Compiled regular expressions, eg qr/foo/
These are stringified before comparison, so the following will match:
These are stringified before comparison, so the following will match:
$r = qr/abc/i;
$s = qr/abc/i;
Compare($r, $s);
$r = qr/abc/i;
$s = qr/abc/i;
Compare($r, $s);
and the following won't, despite them matching *exactly* the same text:
and the following won't, despite them matching *exactly* the same text:
$r = qr/abc/i;
$s = qr/[aA][bB][cC]/;
Compare($r, $s);
$r = qr/abc/i;
$s = qr/[aA][bB][cC]/;
Compare($r, $s);
Sorry, that's the best we can do.
Sorry, that's the best we can do.
* CODE and GLOB references
These are assumed not to match unless the references are identical - ie,
both are references to the same thing.
These are assumed not to match unless the references are identical - ie,
both are references to the same thing.
You may also customise how we compare structures by supplying options in a
hashref as a third parameter to the 'Compare()' function. This is not yet
@ -75,19 +75,19 @@ lurking deep down in your data as well as at the top level, so beware!
* ignore_hash_keys
an arrayref of strings. When comparing two hashes, any keys mentioned in
this list will be ignored.
an arrayref of strings. When comparing two hashes, any keys mentioned in
this list will be ignored.
%prep
%setup -q -n %{cpan_name}-%{version}
find . -type f -print0 | xargs -0 chmod 644
find . -type f ! -name \*.pl -print0 | xargs -0 chmod 644
%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
@ -96,6 +96,7 @@ find . -type f -print0 | xargs -0 chmod 644
%files -f %{name}.files
%defattr(-,root,root,755)
%doc ARTISTIC.txt CHANGELOG GPL2.txt MAINTAINERS-NOTE NOTES README TODO
%doc CHANGELOG GPL2.txt MAINTAINERS-NOTE NOTES README
%license ARTISTIC.txt
%changelog