SPECS: perl-Class-DBI-AbstractSearch.spec - autodeps bcond

glen glen at pld-linux.org
Sun Oct 30 20:06:57 CET 2005


Author: glen                         Date: Sun Oct 30 19:06:57 2005 GMT
Module: SPECS                         Tag: HEAD
---- Log message:
- autodeps bcond

---- Files affected:
SPECS:
   perl-Class-DBI-AbstractSearch.spec (1.1 -> 1.2) 

---- Diffs:

================================================================
Index: SPECS/perl-Class-DBI-AbstractSearch.spec
diff -u SPECS/perl-Class-DBI-AbstractSearch.spec:1.1 SPECS/perl-Class-DBI-AbstractSearch.spec:1.2
--- SPECS/perl-Class-DBI-AbstractSearch.spec:1.1	Sun Oct 30 20:01:51 2005
+++ SPECS/perl-Class-DBI-AbstractSearch.spec	Sun Oct 30 20:06:51 2005
@@ -1,6 +1,7 @@
 # $Revision$, $Date$
 #
 # Conditional build:
+%bcond_without	autodeps	# don't BR packages needed only for resolving deps
 %bcond_without	tests		# do not perform "make test"
 #
 %include	/usr/lib/rpm/macros.perl
@@ -9,7 +10,7 @@
 Summary:	Class::DBI::AbstractSearch - Abstract Class::DBI's SQL with SQL::Abstract::Limit
 Name:		perl-Class-DBI-AbstractSearch
 Version:	0.07
-Release:	0.1
+Release:	0.2
 # same as perl
 License:	GPL v1+ or Artistic
 Group:		Development/Languages/Perl
@@ -17,7 +18,7 @@
 # Source0-md5:	d40e7301201135fe0246251097132a54
 BuildRequires:	perl-devel >= 1:5.8.0
 BuildRequires:	rpm-perlprov >= 4.1-13
-%if %{with tests}
+%if %{with autodeps} || %{with tests}
 BuildRequires:	perl(Class::DBI) >= 0.9
 BuildRequires:	perl(SQL::Abstract::Limit) >= 0.1
 BuildRequires:	perl(Test::More) >= 0.32
@@ -60,6 +61,8 @@
 All persons listed below can be reached at <cvs_login>@pld-linux.org
 
 $Log$
+Revision 1.2  2005/10/30 19:06:51  glen
+- autodeps bcond
+
 Revision 1.1  2005/10/30 19:01:51  glen
 - new
-
================================================================

---- CVS-web:
    http://cvs.pld-linux.org/SPECS/perl-Class-DBI-AbstractSearch.spec?r1=1.1&r2=1.2&f=u




More information about the pld-cvs-commit mailing list