From 04b21ac8a7cdd8df0dbed7203e98b5fdc94ade632c879e6246f93199449688e5 Mon Sep 17 00:00:00 2001 From: Dirk Stoecker Date: Thu, 16 Mar 2023 08:30:56 +0000 Subject: [PATCH] Accepting request 1072069 from devel:languages:perl:autoupdate - updated to 1.28 see /usr/share/doc/packages/perl-Data-Compare/CHANGELOG 1.28 2023-03-14 - Bug fix: DCANTRELL: undef values in hashes were treated incorrectly, need to check for existence, not definedness before comparing. See https://github.com/DrHyde/perl-modules-Data-Compare/issues/21 OBS-URL: https://build.opensuse.org/request/show/1072069 OBS-URL: https://build.opensuse.org/package/show/devel:languages:perl/perl-Data-Compare?expand=0&rev=17 --- Data-Compare-1.27.tar.gz | 3 --- Data-Compare-1.28.tar.gz | 3 +++ perl-Data-Compare.changes | 12 ++++++++++++ perl-Data-Compare.spec | 29 ++++++++++++++--------------- 4 files changed, 29 insertions(+), 18 deletions(-) delete mode 100644 Data-Compare-1.27.tar.gz create mode 100644 Data-Compare-1.28.tar.gz diff --git a/Data-Compare-1.27.tar.gz b/Data-Compare-1.27.tar.gz deleted file mode 100644 index 6cdd977..0000000 --- a/Data-Compare-1.27.tar.gz +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:818a20f1f38f74e65253cf8bcf6fed7f94a5a8dd662f75330dcaf4b117cee8bd -size 27111 diff --git a/Data-Compare-1.28.tar.gz b/Data-Compare-1.28.tar.gz new file mode 100644 index 0000000..9256adb --- /dev/null +++ b/Data-Compare-1.28.tar.gz @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:b09f093df3920411cf2ac6151e45ec421bf31c103f0ca7e8926b1dd09a6e3850 +size 27214 diff --git a/perl-Data-Compare.changes b/perl-Data-Compare.changes index 9f74efd..5d4e9d9 100644 --- a/perl-Data-Compare.changes +++ b/perl-Data-Compare.changes @@ -1,3 +1,15 @@ +------------------------------------------------------------------- +Wed Mar 15 03:06:49 UTC 2023 - Tina Müller + +- updated to 1.28 + see /usr/share/doc/packages/perl-Data-Compare/CHANGELOG + + 1.28 2023-03-14 + + - Bug fix: DCANTRELL: undef values in hashes were treated incorrectly, + need to check for existence, not definedness before comparing. See + https://github.com/DrHyde/perl-modules-Data-Compare/issues/21 + ------------------------------------------------------------------- Fri Nov 15 11:45:39 UTC 2019 - diff --git a/perl-Data-Compare.spec b/perl-Data-Compare.spec index aa3d107..f5ebbec 100644 --- a/perl-Data-Compare.spec +++ b/perl-Data-Compare.spec @@ -1,7 +1,7 @@ # # spec file for package perl-Data-Compare # -# Copyright (c) 2019 SUSE LINUX GmbH, Nuernberg, Germany. +# Copyright (c) 2023 SUSE LLC # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed @@ -16,22 +16,21 @@ # -Name: perl-Data-Compare -Version: 1.27 -Release: 0 -#Upstream: SUSE-Public-Domain %define cpan_name Data-Compare -Summary: Compare perl data structures +Name: perl-Data-Compare +Version: 1.28 +Release: 0 +#Upstream: Artistic-1.0 or GPL-1.0-or-later License: Artistic-1.0 OR GPL-1.0-or-later -Group: Development/Libraries/Perl -Url: https://metacpan.org/release/%{cpan_name} +Summary: Compare perl data structures +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 BuildRequires: perl BuildRequires: perl-macros BuildRequires: perl(Clone) >= 0.43 +BuildRequires: perl(ExtUtils::MakeMaker) >= 6.48 BuildRequires: perl(File::Find::Rule) >= 0.1 BuildRequires: perl(Test::More) >= 0.88 Requires: perl(Clone) >= 0.43 @@ -84,12 +83,13 @@ 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 ! -path "*/t/*" ! -name "*.pl" ! -name "*.sh" ! -path "*/bin/*" ! -path "*/script/*" ! -name "configure" -print0 | xargs -0 chmod 644 +%autosetup -n %{cpan_name}-%{version} + +find . -type f ! -path "*/t/*" ! -name "*.pl" ! -path "*/bin/*" ! -path "*/script/*" ! -name "configure" -print0 | xargs -0 chmod 644 %build perl Makefile.PL INSTALLDIRS=vendor -make %{?_smp_mflags} +%make_build %check make test @@ -100,8 +100,7 @@ make test %perl_gen_filelist %files -f %{name}.files -%defattr(-,root,root,755) -%doc CHANGELOG GPL2.txt MAINTAINERS-NOTE NOTES README -%license ARTISTIC.txt +%doc CHANGELOG MAINTAINERS-NOTE NOTES README +%license ARTISTIC.txt GPL2.txt %changelog