SPECS: libapreq2.spec - tests (off by default)
radek
radek at pld-linux.org
Fri Sep 8 13:37:19 CEST 2006
Author: radek Date: Fri Sep 8 11:37:19 2006 GMT
Module: SPECS Tag: HEAD
---- Log message:
- tests (off by default)
---- Files affected:
SPECS:
libapreq2.spec (1.33 -> 1.34)
---- Diffs:
================================================================
Index: SPECS/libapreq2.spec
diff -u SPECS/libapreq2.spec:1.33 SPECS/libapreq2.spec:1.34
--- SPECS/libapreq2.spec:1.33 Fri Sep 8 12:55:33 2006
+++ SPECS/libapreq2.spec Fri Sep 8 13:37:14 2006
@@ -2,6 +2,7 @@
#
# Conditional build:
%bcond_without static_libs # don't build static library
+%bcond_with tests # perform "make test"
#
%include /usr/lib/rpm/macros.perl
%define apxs /usr/sbin/apxs
@@ -27,6 +28,10 @@
BuildRequires: automake
BuildRequires: libtool
BuildRequires: perl-ExtUtils-XSBuilder >= 0.23
+%if %{with tests}
+BuildRequires: perl-libwww
+BuildRequires: apache-mod_mime
+%endif
BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
%define _pkglibdir %(%{apxs} -q LIBEXECDIR 2>/dev/null)
@@ -113,6 +118,8 @@
%{__make}
+%{?with_tests:%{__make} test}
+
%install
rm -rf $RPM_BUILD_ROOT
@@ -183,6 +190,9 @@
All persons listed below can be reached at <cvs_login>@pld-linux.org
$Log$
+Revision 1.34 2006/09/08 11:37:14 radek
+- tests (off by default)
+
Revision 1.33 2006/09/08 10:55:33 radek
- version 2.0.9 rc1, killed glue/perl hack
================================================================
---- CVS-web:
http://cvs.pld-linux.org/SPECS/libapreq2.spec?r1=1.33&r2=1.34&f=u
More information about the pld-cvs-commit
mailing list