|
|
@ -1,39 +1,71 @@
|
|
|
|
Name: perl-Moo
|
|
|
|
Name: perl-Moo
|
|
|
|
Version: 1.003001
|
|
|
|
Version: 1.005000
|
|
|
|
Release: 3%{?dist}
|
|
|
|
Release: 1%{?dist}
|
|
|
|
Summary: Minimalist Object Orientation (with Moose compatibility)
|
|
|
|
Summary: Minimalist Object Orientation (with Moose compatibility)
|
|
|
|
License: GPL+ or Artistic
|
|
|
|
License: GPL+ or Artistic
|
|
|
|
Group: Development/Libraries
|
|
|
|
Group: Development/Libraries
|
|
|
|
URL: http://search.cpan.org/dist/Moo/
|
|
|
|
URL: http://search.cpan.org/dist/Moo/
|
|
|
|
Source0: http://search.cpan.org/CPAN/authors/id/M/MS/MSTROUT/Moo-%{version}.tar.gz
|
|
|
|
Source0: http://search.cpan.org/CPAN/authors/id/H/HA/HAARG/Moo-%{version}.tar.gz
|
|
|
|
BuildArch: noarch
|
|
|
|
BuildArch: noarch
|
|
|
|
BuildRequires: perl
|
|
|
|
BuildRequires: perl
|
|
|
|
|
|
|
|
BuildRequires: perl(ExtUtils::MakeMaker)
|
|
|
|
|
|
|
|
BuildRequires: perl(strict)
|
|
|
|
|
|
|
|
BuildRequires: perl(warnings)
|
|
|
|
|
|
|
|
# Run-time:
|
|
|
|
BuildRequires: perl(B)
|
|
|
|
BuildRequires: perl(B)
|
|
|
|
BuildRequires: perl(base)
|
|
|
|
BuildRequires: perl(base)
|
|
|
|
BuildRequires: perl(B::Deparse)
|
|
|
|
|
|
|
|
BuildRequires: perl(Carp)
|
|
|
|
BuildRequires: perl(Carp)
|
|
|
|
BuildRequires: perl(Class::Method::Modifiers) >= 1.10
|
|
|
|
BuildRequires: perl(Class::Method::Modifiers) >= 1.10
|
|
|
|
|
|
|
|
BuildRequires: perl(Config)
|
|
|
|
|
|
|
|
BuildRequires: perl(constant)
|
|
|
|
BuildRequires: perl(Devel::GlobalDestruction) >= 0.11
|
|
|
|
BuildRequires: perl(Devel::GlobalDestruction) >= 0.11
|
|
|
|
BuildRequires: perl(Dist::CheckConflicts) >= 0.02
|
|
|
|
BuildRequires: perl(Exporter)
|
|
|
|
BuildRequires: perl(ExtUtils::MakeMaker)
|
|
|
|
# Filter::Simple not used at test-time
|
|
|
|
BuildRequires: perl(FindBin)
|
|
|
|
BuildRequires: perl(Import::Into) >= 1.002
|
|
|
|
BuildRequires: perl(lib)
|
|
|
|
|
|
|
|
BuildRequires: perl(Module::Runtime) >= 0.012
|
|
|
|
BuildRequires: perl(Module::Runtime) >= 0.012
|
|
|
|
|
|
|
|
BuildRequires: perl(mro)
|
|
|
|
|
|
|
|
# MRO::Compat not needed with modern perl
|
|
|
|
BuildRequires: perl(overload)
|
|
|
|
BuildRequires: perl(overload)
|
|
|
|
BuildRequires: perl(Role::Tiny) >= 1.003002
|
|
|
|
BuildRequires: perl(Role::Tiny) >= 1.003003
|
|
|
|
BuildRequires: perl(Scalar::Util)
|
|
|
|
BuildRequires: perl(Scalar::Util)
|
|
|
|
BuildRequires: perl(strictures) >= 1.004003
|
|
|
|
BuildRequires: perl(strictures) >= 1.004003
|
|
|
|
|
|
|
|
# Text::Balanced not used at test-time
|
|
|
|
|
|
|
|
# Optional run-time:
|
|
|
|
|
|
|
|
BuildRequires: perl(Class::XSAccessor) >= 1.18
|
|
|
|
|
|
|
|
BuildRequires: perl(Sub::Name)
|
|
|
|
|
|
|
|
# lib/Moo/HandleMoose.pm requires Moose modules. Moo::HandleMoose is used only
|
|
|
|
|
|
|
|
# if Moose has been loaded. So this is circular optional dependency definitly
|
|
|
|
|
|
|
|
# not suitable for Moo because Moo is reimplementation of Moose:
|
|
|
|
|
|
|
|
# Class::MOP
|
|
|
|
|
|
|
|
# Moose
|
|
|
|
|
|
|
|
# Moose::Meta::Method::Constructor
|
|
|
|
|
|
|
|
# Moose::Util::TypeConstraints
|
|
|
|
|
|
|
|
# Tests:
|
|
|
|
|
|
|
|
BuildRequires: perl(B::Deparse)
|
|
|
|
|
|
|
|
BuildRequires: perl(Class::XSAccessor::Array)
|
|
|
|
|
|
|
|
BuildRequires: perl(Data::Dumper)
|
|
|
|
|
|
|
|
BuildRequires: perl(FindBin)
|
|
|
|
|
|
|
|
BuildRequires: perl(lib)
|
|
|
|
|
|
|
|
# MooX::ArrayRef is defined internally via %%INC
|
|
|
|
BuildRequires: perl(Test::Fatal) >= 0.003
|
|
|
|
BuildRequires: perl(Test::Fatal) >= 0.003
|
|
|
|
BuildRequires: perl(Test::More) >= 0.96
|
|
|
|
BuildRequires: perl(Test::More) >= 0.96
|
|
|
|
Requires: perl(Class::Method::Modifiers) >= 1.10
|
|
|
|
BuildRequires: perl(threads)
|
|
|
|
Requires: perl(Role::Tiny) >= 1.003002
|
|
|
|
# Optional tests:
|
|
|
|
Requires: perl(Class::MOP)
|
|
|
|
BuildRequires: perl(CPAN::Meta::Requirements)
|
|
|
|
Requires: perl(:MODULE_COMPAT_%(eval "`%{__perl} -V:version`"; echo $version))
|
|
|
|
Requires: perl(:MODULE_COMPAT_%(eval "`%{__perl} -V:version`"; echo $version))
|
|
|
|
Provides: perl(Moo::Conflicts)
|
|
|
|
Requires: perl(Carp)
|
|
|
|
|
|
|
|
Requires: perl(Class::Method::Modifiers) >= 1.10
|
|
|
|
|
|
|
|
Requires: perl(Devel::GlobalDestruction) >= 0.11
|
|
|
|
|
|
|
|
Requires: perl(Import::Into) >= 1.002
|
|
|
|
|
|
|
|
Requires: perl(Module::Runtime) >= 0.012
|
|
|
|
|
|
|
|
Requires: perl(mro)
|
|
|
|
|
|
|
|
Requires: perl(Role::Tiny) >= 1.003003
|
|
|
|
|
|
|
|
|
|
|
|
%{?perl_default_filter}
|
|
|
|
%{?perl_default_filter}
|
|
|
|
%global __requires_exclude %{?__requires_exclude:%{__requires_exclude}|}perl\\(Moo::_
|
|
|
|
%global __requires_exclude %{?__requires_exclude:%{__requires_exclude}|}perl\\(Moo::_
|
|
|
|
%global __provides_exclude %{?__provides_exclude:%{__provides_exclude}|}perl\\(Moo::_
|
|
|
|
%global __provides_exclude %{?__provides_exclude:%{__provides_exclude}|}perl\\(Moo::_
|
|
|
|
|
|
|
|
# Remove under-specified dependencies
|
|
|
|
|
|
|
|
%global __requires_exclude %{?__requires_exclude:%{__requires_exclude}|}^perl\\((Devel::GlobalDestruction|Import::Into|Module::Runtime|Role::Tiny)\\)$
|
|
|
|
|
|
|
|
|
|
|
|
%description
|
|
|
|
%description
|
|
|
|
This module is an extremely light-weight, high-performance Moose
|
|
|
|
This module is an extremely light-weight, high-performance Moose
|
|
|
@ -50,9 +82,7 @@ make %{?_smp_mflags}
|
|
|
|
|
|
|
|
|
|
|
|
%install
|
|
|
|
%install
|
|
|
|
make pure_install DESTDIR=%{buildroot}
|
|
|
|
make pure_install DESTDIR=%{buildroot}
|
|
|
|
|
|
|
|
|
|
|
|
find %{buildroot} -type f -name .packlist -exec rm -f {} \;
|
|
|
|
find %{buildroot} -type f -name .packlist -exec rm -f {} \;
|
|
|
|
|
|
|
|
|
|
|
|
%{_fixperms} %{buildroot}/*
|
|
|
|
%{_fixperms} %{buildroot}/*
|
|
|
|
|
|
|
|
|
|
|
|
%check
|
|
|
|
%check
|
|
|
@ -62,9 +92,11 @@ make test
|
|
|
|
%doc Changes README
|
|
|
|
%doc Changes README
|
|
|
|
%{perl_vendorlib}/*
|
|
|
|
%{perl_vendorlib}/*
|
|
|
|
%{_mandir}/man3/*
|
|
|
|
%{_mandir}/man3/*
|
|
|
|
%{_bindir}/*
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
%changelog
|
|
|
|
%changelog
|
|
|
|
|
|
|
|
* Tue Jul 22 2014 Petr Pisar <ppisar@redhat.com> - 1.005000-1
|
|
|
|
|
|
|
|
- 1.005000 bump
|
|
|
|
|
|
|
|
|
|
|
|
* Sat Jun 07 2014 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.003001-3
|
|
|
|
* Sat Jun 07 2014 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.003001-3
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_21_Mass_Rebuild
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_21_Mass_Rebuild
|
|
|
|
|
|
|
|
|
|
|
|