Репозитории ALT
Группа :: Разработка/Perl
Пакет: perl-Module-Load
Главная Изменения Спек Патчи Sources Загрузить Gear Bugs and FR Repocop
#
# - Module::Load -
# This spec file was automatically generated by cpan2rpm [ver: 2.027]
# (ALT Linux revision)
# The following arguments were used:
# --spec-only Module::Load
# For more information on cpan2rpm please visit: http://perl.arix.com/
#
%define module Module-Load
%define m_distro Module-Load
%define m_name Module::Load
%define m_author_id unknown
%define _enable_test 1
Name: perl-Module-Load
Version: 0.10
Release: alt1
Summary: Module-Load - Load modules in a DWIM style
License: Artistic
Group: Development/Perl
Url: http://www.cpan.org
Packager: Vitaly Lipatov <lav at altlinux.ru>
BuildArch: noarch
Source: http://search.cpan.org//CPAN/authors/id/K/KA/KANE/%m_distro-%version.tar.gz
# Automatically added by buildreq on Tue Jul 12 2005
BuildRequires: perl-devel
%description
"load" eliminates the need to know whether you are trying to require
either a file or a module.
If you consult "perldoc -f require" you will see that "require" will
behave differently when given a bareword or a string.
In the case of a string, "require" assumes you are wanting to load a
file. But in the case of a bareword, it assumes you mean a module.
This gives nasty overhead when you are trying to dynamically require
modules at runtime, since you will need to change the module notation
("Acme::Comment") to a file notation fitting the particular platform
you are on.
"load" elimates the need for this overhead and will just DWYM.
%prep
%setup -q -n %m_distro-%version
%build
%perl_vendor_build
%install
%perl_vendor_install
%files
%perl_vendor_privlib/*
%perl_vendor_man3dir/*
%changelog
…
Полный changelog можно просмотреть здесь
# - Module::Load -
# This spec file was automatically generated by cpan2rpm [ver: 2.027]
# (ALT Linux revision)
# The following arguments were used:
# --spec-only Module::Load
# For more information on cpan2rpm please visit: http://perl.arix.com/
#
%define module Module-Load
%define m_distro Module-Load
%define m_name Module::Load
%define m_author_id unknown
%define _enable_test 1
Name: perl-Module-Load
Version: 0.10
Release: alt1
Summary: Module-Load - Load modules in a DWIM style
License: Artistic
Group: Development/Perl
Url: http://www.cpan.org
Packager: Vitaly Lipatov <lav at altlinux.ru>
BuildArch: noarch
Source: http://search.cpan.org//CPAN/authors/id/K/KA/KANE/%m_distro-%version.tar.gz
# Automatically added by buildreq on Tue Jul 12 2005
BuildRequires: perl-devel
%description
"load" eliminates the need to know whether you are trying to require
either a file or a module.
If you consult "perldoc -f require" you will see that "require" will
behave differently when given a bareword or a string.
In the case of a string, "require" assumes you are wanting to load a
file. But in the case of a bareword, it assumes you mean a module.
This gives nasty overhead when you are trying to dynamically require
modules at runtime, since you will need to change the module notation
("Acme::Comment") to a file notation fitting the particular platform
you are on.
"load" elimates the need for this overhead and will just DWYM.
%prep
%setup -q -n %m_distro-%version
%build
%perl_vendor_build
%install
%perl_vendor_install
%files
%perl_vendor_privlib/*
%perl_vendor_man3dir/*
%changelog
…
Полный changelog можно просмотреть здесь