summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorTim Orling <TicoTimo@gmail.com>2015-07-27 21:37:57 -0700
committerTim Orling <TicoTimo@gmail.com>2015-07-27 21:37:57 -0700
commitc8f18a2b11c43e45bd0fc5e1daec8d81ca8a8a76 (patch)
treee069d64ef32a9f3e781fbbdfc00a84cea92326ed
parent1a08f9c90b794110d16c38d3930c7dba7f44769f (diff)
downloadperl-MooX-Roles-Pluggable-c8f18a2b11c43e45bd0fc5e1daec8d81ca8a8a76.zip
perl-MooX-Roles-Pluggable-c8f18a2b11c43e45bd0fc5e1daec8d81ca8a8a76.tar.gz
perl-MooX-Roles-Pluggable-c8f18a2b11c43e45bd0fc5e1daec8d81ca8a8a76.tar.xz
Orignal submittal
Update to 0.003 Update to ExtUtils::MakeMaker build
-rw-r--r--.gitignore2
-rw-r--r--perl-MooX-Roles-Pluggable.spec24
-rw-r--r--sources2
3 files changed, 18 insertions, 10 deletions
diff --git a/.gitignore b/.gitignore
index 19cf04e..d2e254b 100644
--- a/.gitignore
+++ b/.gitignore
@@ -1 +1 @@
-MooX-Roles-Pluggable-0.002.tar.gz
+MooX-Roles-Pluggable-0.003.tar.gz
diff --git a/perl-MooX-Roles-Pluggable.spec b/perl-MooX-Roles-Pluggable.spec
index 779d9b8..8d3b3b7 100644
--- a/perl-MooX-Roles-Pluggable.spec
+++ b/perl-MooX-Roles-Pluggable.spec
@@ -1,5 +1,5 @@
Name: perl-MooX-Roles-Pluggable
-Version: 0.002
+Version: 0.003
Release: 1%{?dist}
Summary: Moo eXtension for pluggable roles
License: GPL+ or Artistic
@@ -8,10 +8,12 @@ URL: http://search.cpan.org/dist/MooX-Roles-Pluggable/
Source0: http://www.cpan.org/authors/id/R/RE/REHSACK/MooX-Roles-Pluggable-%{version}.tar.gz
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
BuildArch: noarch
-BuildRequires: perl(Module::Build)
+BuildRequires: perl(ExtUtils::MakeMaker)
+BuildRequires: perl(File::Spec)
BuildRequires: perl(Module::Pluggable) >= 4.8
+BuildRequires: perl(Moo)
BuildRequires: perl(Moo::Role) >= 1.003000
-BuildRequires: perl(Test::More) >= 0.90
+BuildRequires: perl(Test::More) >= 0.9
Requires: perl(Module::Pluggable) >= 4.8
Requires: perl(Moo::Role) >= 1.003000
Requires: perl(:MODULE_COMPAT_%(eval "`%{__perl} -V:version`"; echo $version))
@@ -24,29 +26,35 @@ Module::Pluggable::Object.
%setup -q -n MooX-Roles-Pluggable-%{version}
%build
-%{__perl} Build.PL installdirs=vendor
-./Build
+%{__perl} Makefile.PL INSTALLDIRS=vendor
+make %{?_smp_mflags}
%install
rm -rf $RPM_BUILD_ROOT
-./Build install destdir=$RPM_BUILD_ROOT create_packlist=0
+make pure_install PERL_INSTALL_ROOT=$RPM_BUILD_ROOT
+
+find $RPM_BUILD_ROOT -type f -name .packlist -exec rm -f {} \;
find $RPM_BUILD_ROOT -depth -type d -exec rmdir {} 2>/dev/null \;
%{_fixperms} $RPM_BUILD_ROOT/*
%check
-./Build test
+make test
%clean
rm -rf $RPM_BUILD_ROOT
%files
%defattr(-,root,root,-)
-%doc Changes META.json README
+%doc Changes META.json README.md
%{perl_vendorlib}/*
%{_mandir}/man3/*
%changelog
+* Sun Jul 12 2015 Tim Orling 0.003-1
+- Update to 0.003 version
+- Build is now with ExtUtils::MakeMaker
+- Merge specfile autogenerated by cpanspec 1.78 for 0.003
* Thu Apr 02 2015 Tim Orling 0.002-1
- Specfile autogenerated by cpanspec 1.78.
diff --git a/sources b/sources
index d95f15f..8fef74e 100644
--- a/sources
+++ b/sources
@@ -1 +1 @@
-39a91bb0644d3c34e62220541a5833a070a806f9 MooX-Roles-Pluggable-0.002.tar.gz
+5a226969fe635016928f13a672473ccbf8951d8a MooX-Roles-Pluggable-0.003.tar.gz