From 977538a8eb5dd62a227f4da97dd959050a27fec6 Mon Sep 17 00:00:00 2001
From: Emmanuel Seyman <[email protected]>
Date: Sat, 22 Aug 2015 10:21:42 +0200
Subject: Update to 0.34


diff --git a/.gitignore b/.gitignore
index eb04628..35d8e51 100644
--- a/.gitignore
+++ b/.gitignore
@@ -7,3 +7,4 @@ MooseX-Types-Structured-0.23.tar.gz
 /MooseX-Types-Structured-0.30.tar.gz
 /MooseX-Types-Structured-0.32.tar.gz
 /MooseX-Types-Structured-0.33.tar.gz
+/MooseX-Types-Structured-0.34.tar.gz
diff --git a/perl-MooseX-Types-Structured.spec 
b/perl-MooseX-Types-Structured.spec
index 0455597..360244e 100644
--- a/perl-MooseX-Types-Structured.spec
+++ b/perl-MooseX-Types-Structured.spec
@@ -1,13 +1,12 @@
 Name:           perl-MooseX-Types-Structured
-Version:        0.33
-Release:        3%{?dist}
+Version:        0.34
+Release:        1%{?dist}
 Summary:        Structured Type Constraints for Moose
 License:        GPL+ or Artistic
 
 URL:            http://search.cpan.org/dist/MooseX-Types-Structured/
 Source0:        
http://www.cpan.org/authors/id/E/ET/ETHER/MooseX-Types-Structured-%{version}.tar.gz
 BuildArch:      noarch
-BuildRequires:  perl(ExtUtils::MakeMaker) >= 6.30
 BuildRequires:  perl(Module::Build::Tiny)
 # Run-time
 BuildRequires:  perl(Devel::PartialDump) >= 0.13
@@ -57,19 +56,15 @@ explicitly name all the allowed type constraints inside the 
structure.
 %setup -q -n MooseX-Types-Structured-%{version}
 
 %build
-%{__perl} Makefile.PL INSTALLDIRS=vendor
-make %{?_smp_mflags}
+%{__perl} Build.PL --installdirs=vendor
+./Build
 
 %install
-make pure_install DESTDIR=$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/*
+./Build install --destdir=%{buildroot} --create_packlist=0
+%{_fixperms} %{buildroot}/*
 
 %check
-make test
+./Build test
 
 %files
 %doc Changes README
@@ -78,6 +73,10 @@ make test
 %{_mandir}/man3/MooseX*
 
 %changelog
+* Sat Aug 22 2015 Emmanuel Seyman <[email protected]> - 0.34-1
+- Update to 0.34
+- Switch to the Module::Build::Tiny workflow
+
 * Thu Jun 18 2015 Fedora Release Engineering <[email protected]> 
- 0.33-3
 - Rebuilt for https://fedoraproject.org/wiki/Fedora_23_Mass_Rebuild
 
diff --git a/sources b/sources
index 63fa8ee..bdd7d5b 100644
--- a/sources
+++ b/sources
@@ -1 +1 @@
-f1d9af2f5e0c9bfc7bee3e44f6d50b7d  MooseX-Types-Structured-0.33.tar.gz
+42aba34e2e99f8163b4bdb6bc1893b3d  MooseX-Types-Structured-0.34.tar.gz
-- 
cgit v0.10.2


        
http://pkgs.fedoraproject.org/cgit/perl-MooseX-Types-Structured.git/commit/?h=master&id=977538a8eb5dd62a227f4da97dd959050a27fec6
--
Fedora Extras Perl SIG
http://www.fedoraproject.org/wiki/Extras/SIGs/Perl
perl-devel mailing list
[email protected]
https://admin.fedoraproject.org/mailman/listinfo/perl-devel

Reply via email to