Группа :: Разработка/Perl
Пакет: perl-namespace-autoclean
Главная Изменения Спек Патчи Sources Загрузить Gear Bugs and FR Repocop
%define _unpackaged_files_terminate_build 1
BuildRequires: perl(Module/Build/Tiny.pm) perl(Sub/Identify.pm) perl(Test/Requires.pm) perl(Module/Build.pm) perl(Test/Needs.pm)
%define dist namespace-autoclean
Name: perl-%dist
Version: 0.29
Release: alt1
Summary: Keep imports out of your namespace
License: GPL or Artistic
Group: Development/Perl
URL: %CPAN %dist
Source0: http://www.cpan.org/authors/id/E/ET/ETHER/%{dist}-%{version}.tar.gz
BuildArch: noarch
# Automatically added by buildreq on Sat Nov 19 2011
BuildRequires: perl-Moose perl-devel perl-namespace-clean perl(Test/CheckDeps.pm)
%description
When you import a function into a Perl package, it will naturally also be
available as a method.
The namespace::autoclean pragma will remove all imported symbols at the end
of the current package's compile cycle. Functions called in the package itself
will still be bound by their name, but they won't show up as methods on your
class or instances.
%prep
%setup -q -n %{dist}-%{version}
%build
%perl_vendor_build
%install
%perl_vendor_install
%files
%doc Changes README CONTRIBUTING
%perl_vendor_privlib/namespace
%changelog
…
Полный changelog можно просмотреть здесь
BuildRequires: perl(Module/Build/Tiny.pm) perl(Sub/Identify.pm) perl(Test/Requires.pm) perl(Module/Build.pm) perl(Test/Needs.pm)
%define dist namespace-autoclean
Name: perl-%dist
Version: 0.29
Release: alt1
Summary: Keep imports out of your namespace
License: GPL or Artistic
Group: Development/Perl
URL: %CPAN %dist
Source0: http://www.cpan.org/authors/id/E/ET/ETHER/%{dist}-%{version}.tar.gz
BuildArch: noarch
# Automatically added by buildreq on Sat Nov 19 2011
BuildRequires: perl-Moose perl-devel perl-namespace-clean perl(Test/CheckDeps.pm)
%description
When you import a function into a Perl package, it will naturally also be
available as a method.
The namespace::autoclean pragma will remove all imported symbols at the end
of the current package's compile cycle. Functions called in the package itself
will still be bound by their name, but they won't show up as methods on your
class or instances.
%prep
%setup -q -n %{dist}-%{version}
%build
%perl_vendor_build
%install
%perl_vendor_install
%files
%doc Changes README CONTRIBUTING
%perl_vendor_privlib/namespace
%changelog
…
Полный changelog можно просмотреть здесь