From 7f91ace9f29e42b92af8f7c544fd9b94ab33455d8e61bcb7e38bd2d68d39ff7a Mon Sep 17 00:00:00 2001 From: Stephan Kulow Date: Tue, 4 Jun 2013 15:34:44 +0000 Subject: [PATCH] Accepting request 177504 from home:coolo:update-perl - updated to 1.23 New method Clear() Deleting current element when doing cycle using each will work (test by OLEG, RT#82248) OBS-URL: https://build.opensuse.org/request/show/177504 OBS-URL: https://build.opensuse.org/package/show/devel:languages:perl/perl-Tie-IxHash?expand=0&rev=22 --- Tie-IxHash-1.22.tar.gz | 3 --- Tie-IxHash-1.23.tar.gz | 3 +++ perl-Tie-IxHash.changes | 7 ++++++ perl-Tie-IxHash.spec | 54 +++++++++++++++++++---------------------- 4 files changed, 35 insertions(+), 32 deletions(-) delete mode 100644 Tie-IxHash-1.22.tar.gz create mode 100644 Tie-IxHash-1.23.tar.gz diff --git a/Tie-IxHash-1.22.tar.gz b/Tie-IxHash-1.22.tar.gz deleted file mode 100644 index 9d2803a..0000000 --- a/Tie-IxHash-1.22.tar.gz +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:273b870799ef0dc993f8303edc126aeb34c4268a4153db2f68bdc56951071538 -size 8552 diff --git a/Tie-IxHash-1.23.tar.gz b/Tie-IxHash-1.23.tar.gz new file mode 100644 index 0000000..3864600 --- /dev/null +++ b/Tie-IxHash-1.23.tar.gz @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:fabb0b8c97e67c9b34b6cc18ed66f6c5e01c55b257dcf007555e0b027d4caf56 +size 9352 diff --git a/perl-Tie-IxHash.changes b/perl-Tie-IxHash.changes index adbb269..1fd223c 100644 --- a/perl-Tie-IxHash.changes +++ b/perl-Tie-IxHash.changes @@ -1,3 +1,10 @@ +------------------------------------------------------------------- +Tue Jun 4 15:22:47 UTC 2013 - coolo@suse.com + +- updated to 1.23 + New method Clear() + Deleting current element when doing cycle using each will work (test by OLEG, RT#82248) + ------------------------------------------------------------------- Wed Feb 27 06:22:50 UTC 2013 - coolo@suse.com diff --git a/perl-Tie-IxHash.spec b/perl-Tie-IxHash.spec index 60f20c2..d1d3270 100644 --- a/perl-Tie-IxHash.spec +++ b/perl-Tie-IxHash.spec @@ -17,49 +17,45 @@ Name: perl-Tie-IxHash -Provides: perl_tie -Obsoletes: perl_tie -Summary: TieIxHash Perl Module -License: Artistic-1.0 or GPL-2.0+ -Group: Development/Libraries/Perl -Version: 1.22 +Version: 1.23 Release: 0 -Source: Tie-IxHash-%{version}.tar.gz +%define cpan_name Tie-IxHash +Summary: ordered associative arrays for Perl +License: Artistic-1.0 or GPL-1.0+ +Group: Development/Libraries/Perl +Url: http://search.cpan.org/dist/Tie-IxHash/ +Source: http://www.cpan.org/authors/id/C/CH/CHORNY/%{cpan_name}-%{version}.tar.gz +BuildArch: noarch BuildRoot: %{_tmppath}/%{name}-%{version}-build -%{perl_requires} BuildRequires: perl BuildRequires: perl-macros +BuildRequires: perl(Module::Build) +#BuildRequires: perl(Tie::IxHash) +%{perl_requires} %description -If you have been led to believe that associative arrays in Perl do not -preserve order, and if you have ever craved that feature, this module -is for you. - - +This Perl module implements Perl hashes that preserve the order in which +the hash elements were added. The order is not affected when values +corresponding to existing keys in the IxHash are changed. The elements can +also be set to any arbitrary supplied order. The familiar perl array +operations can also be performed on the IxHash. %prep -%setup -n Tie-IxHash-%{version} -q +%setup -q -n %{cpan_name}-%{version} %build -perl Makefile.PL -make %{?_smp_mflags} +%{__perl} Build.PL installdirs=vendor +./Build build flags=%{?_smp_mflags} %check -make test +./Build test %install -install -d $RPM_BUILD_ROOT/var/adm/perl-modules -make DESTDIR=$RPM_BUILD_ROOT install_vendor -%perl_process_packlist +./Build install destdir=%{buildroot} create_packlist=0 +%perl_gen_filelist -%files -%defattr(-,root,root) -%doc README MANIFEST Changes -%doc %{_mandir}/man?/* -%{perl_vendorarch}/auto/Tie -%{perl_vendorlib}/Tie - -%clean -rm -rf $RPM_BUILD_ROOT +%files -f %{name}.files +%defattr(-,root,root,755) +%doc Changes README %changelog