SPECS: perl-Apache-Test.spec - conditional mod_perl deps, rel 3

glen glen at pld-linux.org
Thu Feb 16 13:26:46 CET 2006


Author: glen                         Date: Thu Feb 16 12:26:46 2006 GMT
Module: SPECS                         Tag: HEAD
---- Log message:
- conditional mod_perl deps, rel 3

---- Files affected:
SPECS:
   perl-Apache-Test.spec (1.24 -> 1.25) 

---- Diffs:

================================================================
Index: SPECS/perl-Apache-Test.spec
diff -u SPECS/perl-Apache-Test.spec:1.24 SPECS/perl-Apache-Test.spec:1.25
--- SPECS/perl-Apache-Test.spec:1.24	Wed Jan 18 10:14:01 2006
+++ SPECS/perl-Apache-Test.spec	Thu Feb 16 13:26:40 2006
@@ -1,7 +1,6 @@
 # $Revision$, $Date$
 #
 # Conditional build:
-%bcond_without	autodeps	# don't BR packages needed only for resolving deps
 %bcond_with	tests		# perform "make test" (requires configured test server)
 #
 %include	/usr/lib/rpm/macros.perl
@@ -11,18 +10,20 @@
 Summary(pl):	Apache::Test - wrapper na Test.pm z funkcjami do testowania Apache
 Name:		perl-Apache-Test
 Version:	1.27
-Release:	2
+Release:	3
 License:	Apache Software License 2.0
 Group:		Development/Languages/Perl
 Source0:	http://www.cpan.org/modules/by-module/%{pdir}/%{pdir}-%{pnam}-%{version}.tar.gz
 # Source0-md5:	4a87aa4e388fe9dd3d19c71d3e414caf
 URL:		http://httpd.apache.org/test/
-%{?with_autodeps:BuildRequires:	apache-mod_perl}
 BuildRequires:	perl-devel >= 1:5.8.0
 BuildRequires:	rpm-perlprov >= 4.1-13
 BuildArch:	noarch
 BuildRoot:	%{tmpdir}/%{name}-%{version}-root-%(id -u -n)
 
+# mod_perl 2.x deps, but this module is supposed to work with mod_perl 1.x too
+%define		_noautoreq	'perl(Apache2::Const)' 'perl(ModPerl::Config)'
+
 %description
 Apache::Test is a wrapper around the standard Test.pm with helpers for
 testing an Apache server.
@@ -66,6 +67,9 @@
 All persons listed below can be reached at <cvs_login>@pld-linux.org
 
 $Log$
+Revision 1.25  2006/02/16 12:26:40  glen
+- conditional mod_perl deps, rel 3
+
 Revision 1.24  2006/01/18 09:14:01  baggins
 - release 2
 
================================================================

---- CVS-web:
    http://cvs.pld-linux.org/SPECS/perl-Apache-Test.spec?r1=1.24&r2=1.25&f=u



More information about the pld-cvs-commit mailing list