From e511b52ebbb3298c9319f3ab20fec92b2cfdf2ec Mon Sep 17 00:00:00 2001 From: ankry Date: Tue, 20 Apr 2004 09:55:38 +0000 Subject: [PATCH] - new bconds Changed files: perl-Crypt-Twofish2.spec -> 1.9 --- perl-Crypt-Twofish2.spec | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/perl-Crypt-Twofish2.spec b/perl-Crypt-Twofish2.spec index e17820a..84fe165 100644 --- a/perl-Crypt-Twofish2.spec +++ b/perl-Crypt-Twofish2.spec @@ -1,6 +1,7 @@ # # Conditional build: -# _without_tests - do not perform "make test" +%bcond_without tests # Do not perform "make test" +# %include /usr/lib/rpm/macros.perl %define pdir Crypt %define pnam Twofish2 @@ -37,7 +38,8 @@ Crypt::Twofish2 mo %{__perl} Makefile.PL \ INSTALLDIRS=vendor %{__make} OPTIMIZE="%{rpmcflags}" -%{!?_without_tests:%{__make} test} + +%{?with_tests:%{__make} test} %install rm -rf $RPM_BUILD_ROOT -- 2.44.0