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
This commit is contained in:
Stephan Kulow 2013-06-04 15:34:44 +00:00 committed by Git OBS Bridge
parent 78c6b1f581
commit 7f91ace9f2
4 changed files with 35 additions and 32 deletions

View File

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

BIN
Tie-IxHash-1.23.tar.gz (Stored with Git LFS) Normal file

Binary file not shown.

View File

@ -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

View File

@ -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