[perl-MooseX-Types-LoadableClass] 0.012 bump

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



commit 0eda2224b7240bde04b0b72b779fb650fbe2fe25
Author: Petr Písař <ppisar@xxxxxxxxxx>
Date:   Thu Apr 10 09:26:17 2014 +0200

    0.012 bump

 .gitignore                           |    1 +
 perl-MooseX-Types-LoadableClass.spec |   48 ++++++++++++++++++++++------------
 sources                              |    2 +-
 3 files changed, 33 insertions(+), 18 deletions(-)
---
diff --git a/.gitignore b/.gitignore
index d73959f..27ccc24 100644
--- a/.gitignore
+++ b/.gitignore
@@ -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
diff --git a/perl-MooseX-Types-LoadableClass.spec b/perl-MooseX-Types-LoadableClass.spec
index ca94cac..df1f365 100644
--- a/perl-MooseX-Types-LoadableClass.spec
+++ b/perl-MooseX-Types-LoadableClass.spec
@@ -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@xxxxxxxxxx> - 0.012-1
+- 0.012 bump
+
 * Sat Aug 03 2013 Petr Pisar <ppisar@xxxxxxxxxx> - 0.008-5
 - Perl 5.18 rebuild
 
diff --git a/sources b/sources
index d75a7c8..92fae73 100644
--- a/sources
+++ b/sources
@@ -1 +1 @@
-29d8808258f365176c1fa0af5300691a  MooseX-Types-LoadableClass-0.008.tar.gz
+7cc6a67656af0d91fd29c639d6716393  MooseX-Types-LoadableClass-0.012.tar.gz
--
Fedora Extras Perl SIG
http://www.fedoraproject.org/wiki/Extras/SIGs/Perl
perl-devel mailing list
perl-devel@xxxxxxxxxxxxxxxxxxxxxxx
https://admin.fedoraproject.org/mailman/listinfo/perl-devel





[Index of Archives]     [Fedora Announce]     [Fedora Kernel]     [Fedora Testing]     [Fedora Legacy Announce]     [Fedora PHP Devel]     [Kernel Devel]     [Fedora Legacy]     [Fedora Maintainers]     [Fedora Desktop]     [PAM]     [Red Hat Development]     [Big List of Linux Books]     [Gimp]     [Yosemite Information]
  Powered by Linux