[perl-Module-Starter-Plugin-CGIApp] - Pass vendordirs to Build.PL (Fix FTBFS: BZ 661044).
corsepiu
corsepiu at fedoraproject.org
Thu Dec 9 09:15:35 UTC 2010
commit 9cc0b2a63ba8a8c1f75842f49e13deee805c361b
Author: Ralf Corsépius <corsepiu at 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 <corsepiu at fedoraproject.org> - 0.30-3
+- Pass vendordirs to Build.PL (Fix FTBFS: BZ 661044).
+
* Mon Jul 26 2010 Emmanuel Seyman <emmanuel.seyman at club-internet.fr> - 0.30-2
- Re-enable tests
More information about the perl-devel
mailing list