7
0

2 Commits

4 changed files with 33 additions and 26 deletions

View File

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

View File

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

View File

@@ -1,3 +1,11 @@
-------------------------------------------------------------------
Wed Oct 16 05:34:01 UTC 2024 - Tina Müller <timueller+perl@suse.de>
- updated to 0.52.0 (0.052)
see /usr/share/doc/packages/perl-Hash-Merge-Simple/Changes
Revision history for Perl extension Hash-Merge-Simple
-------------------------------------------------------------------
Mon Jan 17 20:43:32 UTC 2011 - coolo@novell.com

View File

@@ -1,7 +1,7 @@
#
# spec file for package perl-Hash-Merge-Simple
#
# Copyright (c) 2012 SUSE LINUX Products GmbH, Nuernberg, Germany.
# Copyright (c) 2024 SUSE LLC
#
# All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed
@@ -12,26 +12,28 @@
# 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-Hash-Merge-Simple
Version: 0.051
Release: 0
%define cpan_name Hash-Merge-Simple
Name: perl-Hash-Merge-Simple
Version: 0.52.0
Release: 0
# 0.052 -> normalize -> 0.52.0
%define cpan_version 0.052
License: Artistic-1.0 OR GPL-1.0-or-later
Summary: Recursively merge two or more hashes, simply
License: GPL-1.0+ or Artistic-1.0
Group: Development/Libraries/Perl
Url: http://search.cpan.org/dist/Hash-Merge-Simple/
#Source: http://www.cpan.org/authors/id/R/RO/ROKR/Hash-Merge-Simple-%{version}.tar.gz
Source: %{cpan_name}-%{version}.tar.gz
URL: https://metacpan.org/release/%{cpan_name}
Source0: https://cpan.metacpan.org/authors/id/H/HA/HAARG/%{cpan_name}-%{cpan_version}.tar.gz
BuildArch: noarch
BuildRequires: perl
BuildRequires: perl-macros
BuildRequires: perl(Clone)
BuildRequires: perl(Test::Most)
BuildRequires: perl(Test::More) >= 0.88
Requires: perl(Clone)
BuildRoot: %{_tmppath}/%{name}-%{version}-build
BuildArch: noarch
Provides: perl(Hash::Merge::Simple) = %{version}
%undefine __perllib_provides
%{perl_requires}
%description
@@ -42,29 +44,26 @@ hash, but doesn't attempt to combine arrays, objects, scalars, or anything
else. The rightmost hash also takes precedence, replacing whatever was in
the left hash if a conflict occurs.
This code was pretty much taken straight from the Catalyst::Utils manpage,
and modified to handle more than 2 hashes at the same time.
This code was pretty much taken straight from Catalyst::Utils, and modified
to handle more than 2 hashes at the same time.
%prep
%setup -q -n %{cpan_name}-%{version}
%autosetup -n %{cpan_name}-%{cpan_version}
%build
%{__perl} Makefile.PL INSTALLDIRS=vendor
%{__make} %{?_smp_mflags}
perl Makefile.PL INSTALLDIRS=vendor
%make_build
%check
%{__make} test
make test
%install
%perl_make_install
%perl_process_packlist
%perl_gen_filelist
%clean
%{__rm} -rf %{buildroot}
%files -f %{name}.files
%defattr(644,root,root,755)
%doc Changes README
%license LICENSE
%changelog