SPECS: perl-Catalyst-Engine-Apache.spec - version 0.12
radek
radek at pld-linux.org
Sat Feb 23 16:39:17 CET 2008
Author: radek Date: Sat Feb 23 15:39:17 2008 GMT
Module: SPECS Tag: HEAD
---- Log message:
- version 0.12
---- Files affected:
SPECS:
perl-Catalyst-Engine-Apache.spec (1.8 -> 1.9)
---- Diffs:
================================================================
Index: SPECS/perl-Catalyst-Engine-Apache.spec
diff -u SPECS/perl-Catalyst-Engine-Apache.spec:1.8 SPECS/perl-Catalyst-Engine-Apache.spec:1.9
--- SPECS/perl-Catalyst-Engine-Apache.spec:1.8 Sat Mar 31 21:29:23 2007
+++ SPECS/perl-Catalyst-Engine-Apache.spec Sat Feb 23 16:39:12 2008
@@ -11,16 +11,15 @@
Summary: Catalyst::Engine::Apache - Catalyst Apache Engines
Summary(pl.UTF-8): Catalyst::Engine::Apache - silniki Apache'a dla Catalysta
Name: perl-Catalyst-Engine-Apache
-Version: 1.07
+Version: 1.12
Release: 1
Epoch: 1
# same as perl
License: GPL v1+ or Artistic
Group: Development/Languages/Perl
Source0: http://www.cpan.org/modules/by-module/Catalyst/%{pdir}-%{pnam}-%{version}.tar.gz
-# Source0-md5: df6de0afe8496db091f3a7df6603a830
+# Source0-md5: 00d89cac86ed977428468433389f4c6e
URL: http://search.cpan.org/dist/Catalyst-Engine-Apache/
-BuildRequires: perl-Module-Build
BuildRequires: perl-devel >= 1:5.8.0
BuildRequires: rpm-perlprov >= 4.1-13
%if %{with tests}
@@ -40,18 +39,26 @@
%prep
%setup -q -n %{pdir}-%{pnam}-%{version}
+# Makefile.PL turns on only t/0*.t; we're running all, and one test depends on this file
+if [ ! -e t/01use.t ]; then
+cat <<EOF>t/01use.t
+ use Test::More tests=>1;
+ ok(1);
+EOF
+fi
+
%build
-%{__perl} Build.PL \
- destdir=$RPM_BUILD_ROOT \
- installdirs=vendor
-./Build
+%{__perl} -MExtUtils::MakeMaker -we 'WriteMakefile(NAME=>"Catalyst::Engine::Apache")' \
+ INSTALLDIRS=vendor
+%{__make}
-%{?with_tests:./Build test}
+%{?with_tests:%{__make} test}
%install
rm -rf $RPM_BUILD_ROOT
-./Build install
+%{__make} pure_install \
+ DESTDIR=$RPM_BUILD_ROOT
%clean
rm -rf $RPM_BUILD_ROOT
@@ -72,7 +79,10 @@
All persons listed below can be reached at <cvs_login>@pld-linux.org
$Log$
-Revision 1.8 2007-03-31 19:29:23 qboosh
+Revision 1.9 2008-02-23 15:39:12 radek
+- version 0.12
+
+Revision 1.8 2007/03/31 19:29:23 qboosh
- generic URL
- BR: perl-Module-Build
================================================================
---- CVS-web:
http://cvs.pld-linux.org/cgi-bin/cvsweb.cgi/SPECS/perl-Catalyst-Engine-Apache.spec?r1=1.8&r2=1.9&f=u
More information about the pld-cvs-commit
mailing list