rpms/perl-URI-Find/devel perl-URI-Find.spec,1.5,1.6

corsepiu corsepiu at fedoraproject.org
Thu Jul 30 07:01:41 UTC 2009


Author: corsepiu

Update of /cvs/pkgs/rpms/perl-URI-Find/devel
In directory cvs1.fedora.phx.redhat.com:/tmp/cvs-serv20990

Modified Files:
	perl-URI-Find.spec 
Log Message:
* Thu Jul 30 2009 Ralf Corsépius <corsepiu at fedoraproject.org> - 20090319-3
- Use Build.PL (Fix mass rebuild breakdown).



Index: perl-URI-Find.spec
===================================================================
RCS file: /cvs/pkgs/rpms/perl-URI-Find/devel/perl-URI-Find.spec,v
retrieving revision 1.5
retrieving revision 1.6
diff -u -p -r1.5 -r1.6
--- perl-URI-Find.spec	26 Jul 2009 17:22:37 -0000	1.5
+++ perl-URI-Find.spec	30 Jul 2009 07:01:40 -0000	1.6
@@ -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}-%{versio
 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 <corsepiu at fedoraproject.org> - 20090319-3
+- Use Build.PL (Fix mass rebuild breakdown).
+
 * Sun Jul 26 2009 Fedora Release Engineering <rel-eng at lists.fedoraproject.org> - 20090319-2
 - Rebuilt for https://fedoraproject.org/wiki/Fedora_12_Mass_Rebuild
 




More information about the fedora-extras-commits mailing list