Пакет perl-Hash-MultiKey: Specfile
# # - Hash::MultiKey - # This spec file was automatically generated by cpan2rpm [ver: 2.027] # (ALT Linux revision) # The following arguments were used: # '--packager=Igor Vlasenko <viy@altlinux.ru>' --name=Hash-MultiKey Hash-MultiKey-0.06.tar.gz # For more information on cpan2rpm please visit: http://perl.arix.com/ # %define module Hash-MultiKey %define m_distro Hash-MultiKey %define m_name Hash::MultiKey %define m_author_id unknown %define _enable_test 1 Name: perl-Hash-MultiKey Version: 0.06 Release: alt2.1 Summary: hashes whose keys can be multiple License: Artistic Group: Development/Perl Url: http://www.cpan.org Packager: Igor Vlasenko <viy@altlinux.ru> BuildArch: noarch Source: %m_distro-%version.tar.gz # Automatically added by buildreq on Fri Aug 24 2007 BuildRequires: perl-devel %description Hash::MultiKey provides hashes that accept arrayrefs of strings as keys. Two multi-keys are regarded as being equal if their *contents* are equal, there is no need to use the same reference to refer to the same hash entry: $hmk{['foo', 'bar', 'baz']} = 1; exists $hmk{['foo', 'bar', 'baz']}; # different arrayref, but true A given hash can have multi-keys of different lengths: $hmk{['foo']} = 1; # length 1 $hmk{['foo', 'bar', 'baz']} = 3; # length 3, no problem In addition, multi-keys cannot be empty: $hmk{[]} = 1; # ERROR The next sections document how hash-related operations work in a multi-key hash. Some parts have been copied from standard documentation, since everything has standard semantics. %prep %setup -q -n %m_distro-%version %build %perl_vendor_build %install %perl_vendor_install %files %perl_vendor_privlib/* %exclude %perl_vendor_archlib %changelog * Mon Nov 22 2010 Igor Vlasenko <viy@altlinux.ru> 0.06-alt2.1 - repair after perl 5.12 upgrade using girar-nmu * Wed Sep 03 2008 Igor Vlasenko <viy@altlinux.ru> 0.06-alt2 - removed perl dir ownership * Fri Aug 24 2007 Igor Vlasenko <viy@altlinux.ru> 0.06-alt1 - first build for ALT Linux Sisyphus |