Репозиторий Sisyphus
Последнее обновление: 1 октября 2023 | Пакетов: 18631 | Посещений: 37571594
en ru br
Репозитории ALT
S:0.15-alt1
5.1: 0.05-alt3
www.altlinux.org/Changes

Группа :: Разработка/Perl
Пакет: perl-MRO-Compat

 Главная   Изменения   Спек   Патчи   Sources   Загрузить   Gear   Bugs and FR  Repocop 

%define module MRO-Compat
%define name perl-%{module}
%define version 0.05

Name: %{name}
Version: %{version}
Release: alt3
Summary: mro::* interface compatibility for Perls < 5.9.5
URL: http://search.cpan.org/dist/%{module}
Source: http://search.cpan.org/CPAN/authors/id/B/BL/BLBLACK/%{module}-%{version}.tar.gz
License: GPL
Group: Development/Perl
BuildRequires: perl-devel
BuildRequires: perl-Module-Install
BuildRequires: perl-Class-C3
BuildRequires: perl-Class-C3-XS
Provides: perl(mro.pm)
BuildArch: noarch
%add_findreq_skiplist mro.pm


%description
The "mro" namespace provides several utilities for dealing with method
resolution order and method caching in general in Perl 5.9.5 and higher.

This module provides those interfaces for earlier versions of Perl (back to
5.6.0 anyways).

It is a harmless no-op to use this module on 5.9.5+. If you're writing a piece
of software that would like to use the parts of 5.9.5+'s mro:: interfaces that
are supported here, and you want compatibility with older Perls, this is the
module for you.

Some parts of this interface will work better with Class::C3::XS installed, but
it's not a requirement.

This module never exports any functions. All calls must be fully qualified with
the mro:: prefix.

The interface documentation here serves only as a quick reference of what the
function basically does, and what differences between MRO::Compat and 5.9.5+
one should look out for. The main docs in 5.9.5's mro are the real interface
docs, and contain a lot of other

%prep
%setup -q -n %{module}-%{version}

%build
#{__perl} Makefile.PL INSTALLDIRS=vendor
#make
#make test
%perl_vendor_build

%install
#make_install DESTDOR=%buildroot install
%perl_vendor_install


#files

#defattr(-,root,root)
#doc ChangeLog README
#{perl_vendorlib}/MRO
#{_mandir}/*/*


%files
%perl_vendor_privlib/*
%exclude %perl_vendor_archlib
%perl_vendor_man3dir/*


%changelog

Полный changelog можно просмотреть здесь

 
дизайн и разработка: Vladimir Lettiev aka crux © 2004-2005, Andrew Avramenko aka liks © 2007-2008
текущий майнтейнер: Michael Shigorin