commit 9cc0b2a63ba8a8c1f75842f49e13deee805c361b
Author: Ralf Corsépius <corse...@fedoraproject.org>
Date:   Thu Dec 9 10:15:18 2010 +0100

    - Pass vendordirs to Build.PL (Fix FTBFS: BZ 661044).

 perl-Module-Starter-Plugin-CGIApp.spec |   11 ++++++-----
 1 files changed, 6 insertions(+), 5 deletions(-)
---
diff --git a/perl-Module-Starter-Plugin-CGIApp.spec 
b/perl-Module-Starter-Plugin-CGIApp.spec
index ff95ac7..9ccf02a 100644
--- a/perl-Module-Starter-Plugin-CGIApp.spec
+++ b/perl-Module-Starter-Plugin-CGIApp.spec
@@ -1,6 +1,6 @@
 Name:           perl-Module-Starter-Plugin-CGIApp
 Version:        0.30
-Release:        2%{?dist}
+Release:        3%{?dist}
 Summary:        Template based module starter for CGI apps
 License:        GPL+ or Artistic
 Group:          Development/Libraries
@@ -35,16 +35,14 @@ CPAN. You can customize the output using HTML::Template.
 
 
 %build
-perl Build.PL --prefix /usr
+%{__perl} Build.PL installdirs=vendor
 ./Build
 
 %install
 rm -rf $RPM_BUILD_ROOT
 
-./Build install --destdir $RPM_BUILD_ROOT
+./Build install --destdir $RPM_BUILD_ROOT  create_packlist=0
 find $RPM_BUILD_ROOT -depth -type d -exec rmdir {} 2>/dev/null \;
-find $RPM_BUILD_ROOT -name .packlist -exec rm -f {} 2>/dev/null \;
-find $RPM_BUILD_ROOT -name perllocal.pod -exec rm -f {} 2>/dev/null \;
 
 %{_fixperms} $RPM_BUILD_ROOT/*
 
@@ -66,6 +64,9 @@ rm -rf $RPM_BUILD_ROOT
 %{_mandir}/man3/*
 
 %changelog
+* Thu Dec 09 2010 Ralf Corsépius <corse...@fedoraproject.org> - 0.30-3
+- Pass vendordirs to Build.PL (Fix FTBFS: BZ 661044).
+
 * Mon Jul 26 2010 Emmanuel Seyman <emmanuel.sey...@club-internet.fr> - 0.30-2
 - Re-enable tests
 
--
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