Группа :: Разработка/Perl
Пакет: perl-Hash-MultiKey
Главная Изменения Спек Патчи Sources Загрузить Gear Bugs and FR Repocop
#
# - 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 at 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 at 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
…
Полный changelog можно просмотреть здесь
# - 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 at 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 at 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
…
Полный changelog можно просмотреть здесь