commit 805a3aeae83d82c2318573f3108d1e0a6d7f2bed
Author: Petr Sabata <psab...@redhat.com>
Date:   Thu Dec 2 11:55:02 2010 +0100

    v0.15 release bump

 .gitignore                       |    1 +
 perl-Parse-ErrorString-Perl.spec |   24 ++++++++++++++----------
 sources                          |    2 +-
 3 files changed, 16 insertions(+), 11 deletions(-)
---
diff --git a/.gitignore b/.gitignore
index 0e27cb4..eee7691 100644
--- a/.gitignore
+++ b/.gitignore
@@ -1,2 +1,3 @@
 Parse-ErrorString-Perl-0.11.tar.gz
 /Parse-ErrorString-Perl-0.13.tar.gz
+/Parse-ErrorString-Perl-0.15.tar.gz
diff --git a/perl-Parse-ErrorString-Perl.spec b/perl-Parse-ErrorString-Perl.spec
index d292329..ad62897 100644
--- a/perl-Parse-ErrorString-Perl.spec
+++ b/perl-Parse-ErrorString-Perl.spec
@@ -1,20 +1,21 @@
 Name:           perl-Parse-ErrorString-Perl
-Version:        0.13
+Version:        0.15
 Release:        1%{?dist}
 Summary:        Module for parsing error messages
 License:        GPL+ or Artistic
 Group:          Development/Libraries
 URL:            http://search.cpan.org/dist/Parse-ErrorString-Perl/
-Source0:        
http://www.cpan.org/authors/id/S/SZ/SZABGAB/Parse-ErrorString-Perl-%{version}.tar.gz
+Source0:        
http://search.cpan.org/CPAN/authors/id/A/AZ/AZAWAWI/Parse-ErrorString-Perl-%{version}.tar.gz
 BuildRoot:      %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
 BuildArch:      noarch
 BuildRequires:  /usr/bin/dos2unix
 BuildRequires:  perl(Class::XSAccessor)
-BuildRequires:  perl(Module::Build)
+BuildRequires:  perl(ExtUtils::MakeMaker) >= 6.31
+BuildRequires:  perl(Test::Differences)
 BuildRequires:  perl(Test::Differences)
 BuildRequires:  perl(Test::More)
+BuildRequires:  perl(Pod::POM) >= 0.27
 Requires:       perl(Class::XSAccessor)
-BuildRequires:       perl(Pod::POM)
 Requires:       perl(:MODULE_COMPAT_%(eval "`%{__perl} -V:version`"; echo 
$version))
 
 %description
@@ -24,24 +25,24 @@ Parse error messages from the perl interpreter.
 %setup -q -n Parse-ErrorString-Perl-%{version}
 
 %build
-%{__perl} Build.PL installdirs=vendor
-
+%{__perl} Makefile.PL installdirs=vendor
 #remove CRLF
 /usr/bin/dos2unix Changes
 /usr/bin/dos2unix README
 /usr/bin/dos2unix bin/check_perldiag
-
-./Build
+make %{?_smp_mflags}
 
 %install
 rm -rf $RPM_BUILD_ROOT
 
-./Build install destdir=$RPM_BUILD_ROOT create_packlist=0
+make pure_install DESTDIR=$RPM_BUILD_ROOT
+find $RPM_BUILD_ROOT -type f -name .packlist -exec rm -f {} ';'
+find $RPM_BUILD_ROOT -type f -name '*.bs' -empty -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
@@ -55,6 +56,9 @@ rm -rf $RPM_BUILD_ROOT
 %{_mandir}/man1/check_perldiag.1.gz
 
 %changelog
+* Thu Dec  2 2010 Petr Sabata <psab...@redhat.com> - 0.15-1
+- 0.15 bump
+
 * Thu Sep 16 2010 Petr Pisar <ppi...@redhat.com> - 0.13-1
 - 0.13 bump
 
diff --git a/sources b/sources
index 9585cf1..d6f29dd 100644
--- a/sources
+++ b/sources
@@ -1 +1 @@
-8a8f41f78ea552914953d47f75dcbf5e  Parse-ErrorString-Perl-0.13.tar.gz
+d556ef6cb624159a2f1c85e67709e390  Parse-ErrorString-Perl-0.15.tar.gz
--
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