From 03158862b826b0546f8ba2dbdac1c34eab20d672 Mon Sep 17 00:00:00 2001
From: corsepiu <corse...@fedoraproject.org>
Date: Thu, 30 Jul 2009 07:01:40 +0000
Subject: - Use Build.PL (Fix mass rebuild breakdown).

---
 perl-URI-Find.spec | 17 +++++++++--------
 1 file changed, 9 insertions(+), 8 deletions(-)

diff --git a/perl-URI-Find.spec b/perl-URI-Find.spec
index 5632c77..e746d9a 100644
--- a/perl-URI-Find.spec
+++ b/perl-URI-Find.spec
@@ -1,6 +1,6 @@
 Name:       perl-URI-Find
 Version:    20090319
-Release:        2%{?dist}
+Release:        3%{?dist}
 # see lib/URI/Find.pm
 License:    GPL+ or Artistic
 Group:      Development/Libraries
@@ -11,7 +11,6 @@ BuildRoot:  
%{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
 Requires:   perl(:MODULE_COMPAT_%(eval "`%{__perl} -V:version`"; echo 
$version))
 BuildArch:  noarch
 
-BuildRequires: perl(ExtUtils::MakeMaker)
 BuildRequires: perl(URI) >= 1.00
 BuildRequires: perl(URI::URL) >= 5.00
 
@@ -37,20 +36,19 @@ Public Methods
 %setup -q -n URI-Find-%{version}
 
 %build
-%{__perl} Makefile.PL INSTALLDIRS=vendor
-make %{?_smp_mflags}
+%{__perl} Build.PL installdirs=vendor
+./Build
 
 %install
 rm -rf %{buildroot}
 
-make pure_install PERL_INSTALL_ROOT=%{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
+find %{buildroot} -depth -type d -exec rmdir {} 2>/dev/null \;
 
 %{_fixperms} %{buildroot}/*
 
 %check
-make test
+./Build test
 
 %clean
 rm -rf %{buildroot}
@@ -62,6 +60,9 @@ rm -rf %{buildroot}
 %{_mandir}/man3/*.3*
 
 %changelog
+* Thu Jul 30 2009 Ralf Corsépius <corse...@fedoraproject.org> - 20090319-3
+- Use Build.PL (Fix mass rebuild breakdown).
+
 * Sun Jul 26 2009 Fedora Release Engineering <rel-...@lists.fedoraproject.org> 
- 20090319-2
 - Rebuilt for https://fedoraproject.org/wiki/Fedora_12_Mass_Rebuild
 
-- 
cgit v0.11.2


        
http://pkgs.fedoraproject.org/cgit/perl-URI-Find.git/commit/?h=epel7&id=03158862b826b0546f8ba2dbdac1c34eab20d672
--
Fedora Extras Perl SIG
http://www.fedoraproject.org/wiki/Extras/SIGs/Perl
perl-devel mailing list
perl-devel@lists.fedoraproject.org
http://lists.fedoraproject.org/admin/lists/perl-devel@lists.fedoraproject.org

Reply via email to