From bf4d162eedd8591da179dcfa8d63e1b7f502041f Mon Sep 17 00:00:00 2001
From: Emmanuel Seyman <emman...@seyman.fr>
Date: Thu, 20 Aug 2015 09:35:27 +0200
Subject: Update to 0.13 and move to the Module::Build::Tiny workflow


diff --git a/.gitignore b/.gitignore
index ab3f404..0ecf653 100644
--- a/.gitignore
+++ b/.gitignore
@@ -1,2 +1,3 @@
 MooseX-Traits-0.11.tar.gz
 /MooseX-Traits-0.12.tar.gz
+/MooseX-Traits-0.13.tar.gz
diff --git a/perl-MooseX-Traits.spec b/perl-MooseX-Traits.spec
index c29bfb2..32fd464 100644
--- a/perl-MooseX-Traits.spec
+++ b/perl-MooseX-Traits.spec
@@ -1,7 +1,7 @@
 Name:           perl-MooseX-Traits
 Summary:        Automatically apply roles at object creation time
-Version:        0.12
-Release:        3%{?dist}
+Version:        0.13
+Release:        1%{?dist}
 License:        GPL+ or Artistic
 
 Source0:        
http://search.cpan.org/CPAN/authors/id/E/ET/ETHER/MooseX-Traits-%{version}.tar.gz
@@ -11,7 +11,7 @@ Requires:       perl(:MODULE_COMPAT_%(eval "`%{__perl} 
-V:version`"; echo $versi
 BuildArch:      noarch
 
 BuildRequires:  perl(Class::MOP) >= 0.84
-BuildRequires:  perl(ExtUtils::MakeMaker) >= 6.42
+BuildRequires:  perl(Module::Build::Tiny)
 BuildRequires:  perl(Moose)
 BuildRequires:  perl(Moose::Role)
 BuildRequires:  perl(MooseX::Role::Parameterized)
@@ -42,18 +42,15 @@ needed, w/o having to explicitly construct new classes: e.g.
 %setup -q -n MooseX-Traits-%{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
@@ -63,6 +60,10 @@ make test
 %{_mandir}/man3/MooseX*.3*
 
 %changelog
+* Thu Aug 20 2015 Emmanuel Seyman <emman...@seyman.fr> - 0.13-1
+- Update to 0.13
+- Move to the Module::Build::Tiny workflow
+
 * Thu Jun 18 2015 Fedora Release Engineering <rel-...@lists.fedoraproject.org> 
- 0.12-3
 - Rebuilt for https://fedoraproject.org/wiki/Fedora_23_Mass_Rebuild
 
diff --git a/sources b/sources
index 7fd0f77..18794a8 100644
--- a/sources
+++ b/sources
@@ -1 +1 @@
-d1d85d4009db8660acf994da96003cd7  MooseX-Traits-0.12.tar.gz
+232530e9645abc20a4e7f14fdd022546  MooseX-Traits-0.13.tar.gz
-- 
cgit v0.10.2


        
http://pkgs.fedoraproject.org/cgit/perl-MooseX-Traits.git/commit/?h=master&id=bf4d162eedd8591da179dcfa8d63e1b7f502041f
--
Fedora Extras Perl SIG
http://www.fedoraproject.org/wiki/Extras/SIGs/Perl
perl-devel mailing list
perl-devel@lists.fedoraproject.org
https://admin.fedoraproject.org/mailman/listinfo/perl-devel

Reply via email to