epel9
Petr Písař 11 years ago
parent 435ac16bed
commit 0eda2224b7

1
.gitignore vendored

@ -1,3 +1,4 @@
/MooseX-Types-LoadableClass-0.006.tar.gz
/MooseX-Types-LoadableClass-0.007.tar.gz
/MooseX-Types-LoadableClass-0.008.tar.gz
/MooseX-Types-LoadableClass-0.012.tar.gz

@ -1,20 +1,35 @@
Name: perl-MooseX-Types-LoadableClass
Version: 0.008
Release: 5%{?dist}
Version: 0.012
Release: 1%{?dist}
Summary: ClassName type constraint with coercion to load the class
License: GPL+ or Artistic
Group: Development/Libraries
URL: http://search.cpan.org/dist/MooseX-Types-LoadableClass/
Source0: http://www.cpan.org/authors/id/B/BO/BOBTFISH/MooseX-Types-LoadableClass-%{version}.tar.gz
Source0: http://www.cpan.org/authors/id/E/ET/ETHER/MooseX-Types-LoadableClass-%{version}.tar.gz
BuildArch: noarch
BuildRequires: perl(Class::Load) >= 0.06
BuildRequires: perl
BuildRequires: perl(Module::Build::Tiny) >= 0.030
# Run-time:
BuildRequires: perl(Class::Load)
BuildRequires: perl(Module::Runtime)
BuildRequires: perl(Moose::Util::TypeConstraints)
BuildRequires: perl(MooseX::Types)
BuildRequires: perl(MooseX::Types::Moose)
BuildRequires: perl(namespace::autoclean)
BuildRequires: perl(strict)
BuildRequires: perl(warnings)
# Tests:
BuildRequires: perl(ExtUtils::MakeMaker)
BuildRequires: perl(File::Spec::Functions)
BuildRequires: perl(lib)
BuildRequires: perl(List::Util)
BuildRequires: perl(Moose)
BuildRequires: perl(MooseX::Types) >= 0.22
BuildRequires: perl(namespace::clean)
BuildRequires: perl(Test::More) >= 0.88
Requires: perl(Class::Load) >= 0.06
Requires: perl(MooseX::Types) >= 0.22
BuildRequires: perl(Moose::Role)
BuildRequires: perl(Test::Fatal)
BuildRequires: perl(Test::More)
# Optional tests:
BuildRequires: perl(CPAN::Meta)
BuildRequires: perl(CPAN::Meta::Requirements)
Requires: perl(:MODULE_COMPAT_%(eval "`%{__perl} -V:version`"; echo $version))
%{?perl_default_filter}
@ -26,19 +41,15 @@ ClassName type constraint with coercion to load the class.
%setup -q -n MooseX-Types-LoadableClass-%{version}
%build
%{__perl} Makefile.PL INSTALLDIRS=vendor
make %{?_smp_mflags}
%{__perl} Build.PL --installdirs=vendor
./Build
%install
make pure_install DESTDIR=%{buildroot}
find %{buildroot} -type f -name .packlist -exec rm -f {} \;
find %{buildroot} -depth -type d -exec rmdir {} 2>/dev/null \;
./Build install '--destdir=%{buildroot}' --create_packlist=0
%{_fixperms} %{buildroot}/*
%check
make test
./Build test
%files
%doc Changes README
@ -46,6 +57,9 @@ make test
%{_mandir}/man3/*
%changelog
* Wed Apr 09 2014 Petr Pisar <ppisar@redhat.com> - 0.012-1
- 0.012 bump
* Sat Aug 03 2013 Petr Pisar <ppisar@redhat.com> - 0.008-5
- Perl 5.18 rebuild

@ -1 +1 @@
29d8808258f365176c1fa0af5300691a MooseX-Types-LoadableClass-0.008.tar.gz
7cc6a67656af0d91fd29c639d6716393 MooseX-Types-LoadableClass-0.012.tar.gz

Loading…
Cancel
Save