eseyman pushed to perl-MooseX-Types-Path-Class (master). "Update to 0.07 and clean up spec file"

notifications at fedoraproject.org notifications at fedoraproject.org
Sun Jul 12 08:46:26 UTC 2015


From ed5548f91afe9796c039f912895be17e1c71e5f8 Mon Sep 17 00:00:00 2001
From: Emmanuel Seyman <emmanuel at seyman.fr>
Date: Sun, 12 Jul 2015 10:46:18 +0200
Subject: Update to 0.07 and clean up spec file


diff --git a/.gitignore b/.gitignore
index bfdf67c..c5c541c 100644
--- a/.gitignore
+++ b/.gitignore
@@ -1,2 +1,3 @@
 MooseX-Types-Path-Class-0.05.tar.gz
 /MooseX-Types-Path-Class-0.06.tar.gz
+/MooseX-Types-Path-Class-0.07.tar.gz
diff --git a/perl-MooseX-Types-Path-Class.spec b/perl-MooseX-Types-Path-Class.spec
index 65f1202..0afed4b 100644
--- a/perl-MooseX-Types-Path-Class.spec
+++ b/perl-MooseX-Types-Path-Class.spec
@@ -1,21 +1,22 @@
 Name:           perl-MooseX-Types-Path-Class 
 Summary:        A Path::Class type library for Moose 
-Version:        0.06
-Release:        10%{?dist}
+Version:        0.07
+Release:        1%{?dist}
 License:        GPL+ or Artistic
-Group:          Development/Libraries
-Source0:        http://search.cpan.org/CPAN/authors/id/T/TH/THEPLER/MooseX-Types-Path-Class-%{version}.tar.gz 
+
+Source0:        http://search.cpan.org/CPAN/authors/id/E/ET/ETHER/MooseX-Types-Path-Class-%{version}.tar.gz 
 URL:            http://search.cpan.org/dist/MooseX-Types-Path-Class
 Requires:       perl(:MODULE_COMPAT_%(eval "`%{__perl} -V:version`"; echo $version))
 BuildArch:      noarch
 
 BuildRequires:  perl(Class::MOP)
-BuildRequires:  perl(ExtUtils::MakeMaker)
+BuildRequires:  perl(Module::Build::Tiny)
 BuildRequires:  perl(Moose) >= 0.39
 BuildRequires:  perl(MooseX::Getopt) >= 0.05
 BuildRequires:  perl(MooseX::Types) >= 0.04
 BuildRequires:  perl(Path::Class) >= 0.16
 BuildRequires:  perl(Test::More) >= 0.88
+BuildRequires:  perl(Pod::Coverage)
 
 Requires:       perl(Class::MOP)
 Requires:       perl(Moose) >= 0.39
@@ -43,25 +44,26 @@ for both Path::Class::Dir and Path::Class::File.
 sed -i '1s:^#!.*perl:#!%{__perl}:' t/*.t
 
 %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 t/
-%{perl_vendorlib}/*
-%{_mandir}/man3/*.3*
+%{perl_vendorlib}/MooseX*
+%{_mandir}/man3/MooseX*.3*
 
 %changelog
+* Sun Jul 12 2015 Emmanuel Seyman <emmanuel at seyman.fr> - 0.07-1
+- Update to 0.07
+- Clean up spec file
+
 * Thu Jun 18 2015 Fedora Release Engineering <rel-eng at lists.fedoraproject.org> - 0.06-10
 - Rebuilt for https://fedoraproject.org/wiki/Fedora_23_Mass_Rebuild
 
diff --git a/sources b/sources
index 7c8013a..bb5c5fa 100644
--- a/sources
+++ b/sources
@@ -1 +1 @@
-8b98dcc6ef5d056781162c9e14a8e94d  MooseX-Types-Path-Class-0.06.tar.gz
+d766ae768710bc6de0324ea9111362a3  MooseX-Types-Path-Class-0.07.tar.gz
-- 
cgit v0.10.2


	http://pkgs.fedoraproject.org/cgit/perl-MooseX-Types-Path-Class.git/commit/?h=master&id=ed5548f91afe9796c039f912895be17e1c71e5f8


More information about the perl-devel mailing list