Accepting request 177530 from devel:languages:perl

- updated to 1.23
  New method Clear()
  Deleting current element when doing cycle using each will work (test by OLEG, RT#82248) (forwarded request 177504 from coolo)

OBS-URL: https://build.opensuse.org/request/show/177530
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/perl-Tie-IxHash?expand=0&rev=21
This commit is contained in:
Stephan Kulow 2013-06-06 13:06:23 +00:00 committed by Git OBS Bridge
commit 5001542885
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 Wed Feb 27 06:22:50 UTC 2013 - coolo@suse.com

View File

@ -17,49 +17,45 @@
Name: perl-Tie-IxHash Name: perl-Tie-IxHash
Provides: perl_tie Version: 1.23
Obsoletes: perl_tie
Summary: TieIxHash Perl Module
License: Artistic-1.0 or GPL-2.0+
Group: Development/Libraries/Perl
Version: 1.22
Release: 0 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 BuildRoot: %{_tmppath}/%{name}-%{version}-build
%{perl_requires}
BuildRequires: perl BuildRequires: perl
BuildRequires: perl-macros BuildRequires: perl-macros
BuildRequires: perl(Module::Build)
#BuildRequires: perl(Tie::IxHash)
%{perl_requires}
%description %description
If you have been led to believe that associative arrays in Perl do not This Perl module implements Perl hashes that preserve the order in which
preserve order, and if you have ever craved that feature, this module the hash elements were added. The order is not affected when values
is for you. 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 %prep
%setup -n Tie-IxHash-%{version} -q %setup -q -n %{cpan_name}-%{version}
%build %build
perl Makefile.PL %{__perl} Build.PL installdirs=vendor
make %{?_smp_mflags} ./Build build flags=%{?_smp_mflags}
%check %check
make test ./Build test
%install %install
install -d $RPM_BUILD_ROOT/var/adm/perl-modules ./Build install destdir=%{buildroot} create_packlist=0
make DESTDIR=$RPM_BUILD_ROOT install_vendor %perl_gen_filelist
%perl_process_packlist
%files %files -f %{name}.files
%defattr(-,root,root) %defattr(-,root,root,755)
%doc README MANIFEST Changes %doc Changes README
%doc %{_mandir}/man?/*
%{perl_vendorarch}/auto/Tie
%{perl_vendorlib}/Tie
%clean
rm -rf $RPM_BUILD_ROOT
%changelog %changelog