1 %include /usr/lib/rpm/macros.perl
4 Summary: Tie::IxHash - ordered associative arrays for Perl
9 Group: Development/Languages/Perl
10 Source0: ftp://ftp.cpan.org/pub/CPAN/modules/by-module/%{pdir}/%{pdir}-%{pnam}-%{version}.tar.gz
11 BuildRequires: rpm-perlprov >= 3.0.3-16
12 BuildRequires: perl >= 5.6
14 BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
17 This Perl module implements Perl hashes that preserve the order in which
18 the hash elements were added. The order is not affected when values
19 corresponding to existing keys in the IxHash are changed. The elements
20 can also be set to any arbitrary supplied order. The familiar perl
21 array operations can also be performed on the IxHash.
24 %setup -q -n %{pdir}-%{pnam}-%{version}
31 rm -rf $RPM_BUILD_ROOT
33 %{__make} install DESTDIR=$RPM_BUILD_ROOT
35 gzip -9nf Changes README
38 rm -rf $RPM_BUILD_ROOT
41 %defattr(644,root,root,755)
43 %{perl_sitelib}/Tie/IxHash.pm