rpms/perl-Module-Starter-Plugin-CGIApp/devel perl-Module-Starter-Plugin-CGIApp.spec, 1.3, 1.4

Emmanuel Seyman eseyman at fedoraproject.org
Mon Feb 15 16:11:40 UTC 2010


Author: eseyman

Update of /cvs/pkgs/rpms/perl-Module-Starter-Plugin-CGIApp/devel
In directory cvs1.fedora.phx.redhat.com:/tmp/cvs-serv6563

Modified Files:
	perl-Module-Starter-Plugin-CGIApp.spec 
Log Message:
Add missing Build-Requires
Fix build instructions so they actually work (#555507)




Index: perl-Module-Starter-Plugin-CGIApp.spec
===================================================================
RCS file: /cvs/pkgs/rpms/perl-Module-Starter-Plugin-CGIApp/devel/perl-Module-Starter-Plugin-CGIApp.spec,v
retrieving revision 1.3
retrieving revision 1.4
diff -u -p -r1.3 -r1.4
--- perl-Module-Starter-Plugin-CGIApp.spec	7 Dec 2009 00:43:55 -0000	1.3
+++ perl-Module-Starter-Plugin-CGIApp.spec	15 Feb 2010 16:11:39 -0000	1.4
@@ -1,6 +1,6 @@
 Name:           perl-Module-Starter-Plugin-CGIApp
 Version:        0.10
-Release:        3%{?dist}
+Release:        4%{?dist}
 Summary:        Template based module starter for CGI apps
 License:        GPL+ or Artistic
 Group:          Development/Libraries
@@ -16,6 +16,9 @@ BuildRequires:  perl(Pod::Coverage) >= 0
 BuildRequires:  perl(Test::Builder)
 BuildRequires:  perl(Test::More)
 BuildRequires:  perl(Test::Pod) >= 1.22
+BuildRequires:  perl(Test::Pod::Coverage)
+BuildRequires:  perl(Test::WWW::Mechanize::CGIApp)
+BuildRequires:  perl(Titanium)
 Requires:       perl(:MODULE_COMPAT_%(eval "`%{__perl} -V:version`"; echo $version))
 
 %description
@@ -32,20 +35,22 @@ sed -i 's/\r//' script/cgiapp-starter sc
 
 
 %build
-%{__perl} Build.PL installdirs=vendor
-./Build
+%{__perl} Makefile.PL installdirs=vendor
+make
 
 %install
 rm -rf $RPM_BUILD_ROOT
 
-./Build install destdir=$RPM_BUILD_ROOT create_packlist=0
+make install DESTDIR=$RPM_BUILD_ROOT
 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/*
 
 %check
 %{?!_with_signature_test:rm t/00-signature.t}
-./Build test
+make test
 
 %clean
 rm -rf $RPM_BUILD_ROOT
@@ -61,6 +66,10 @@ rm -rf $RPM_BUILD_ROOT
 %{_mandir}/man3/*
 
 %changelog
+* Mon Feb 15 2010 Emmanuel Seyman <emmanuel.seyman at club-internet.fr> - 0.10-4
+- Add missing Build-Requires
+- Fix build instructions so they actually work (#555507)
+
 * Mon Dec  7 2009 Stepan Kasal <skasal at redhat.com> - 0.10-3
 - rebuild against perl 5.10.1
 




More information about the perl-devel mailing list