From cc5883773919c5776655a2b8ab4fa0eb20a4b235 Mon Sep 17 00:00:00 2001 From: ankry Date: Tue, 20 Apr 2004 10:08:06 +0000 Subject: [PATCH] - new bconds Changed files: perl-DBIx-DataSource.spec -> 1.13 --- perl-DBIx-DataSource.spec | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/perl-DBIx-DataSource.spec b/perl-DBIx-DataSource.spec index 0f671cb..1740fb1 100644 --- a/perl-DBIx-DataSource.spec +++ b/perl-DBIx-DataSource.spec @@ -1,3 +1,7 @@ +# +# Conditional build: +%bcond_without tests # Do not perform "make test" +# %include /usr/lib/rpm/macros.perl %define pdir DBIx %define pnam DataSource @@ -33,7 +37,8 @@ tworzenia i usuwania baz danych, niezale %{__perl} Makefile.PL \ INSTALLDIRS=vendor %{__make} -%{!?_without_tests:%{__make} test} + +%{?with_tests:%{__make} test} %install rm -rf $RPM_BUILD_ROOT -- 2.43.0