summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAdam Gołębiowski2004-03-09 19:55:29 (GMT)
committercvs2git2012-06-24 12:13:13 (GMT)
commit516643e6cae93b4d92b30272b8c90dd72b5b75aa (patch)
treece57d553db69bdb27c21f437bcc64b97789099a0
parent162a852c32c421f637d9963a4c5e7f4c41fdd9f8 (diff)
downloadperl-Algorithm-NaiveBayes-516643e6cae93b4d92b30272b8c90dd72b5b75aa.zip
perl-Algorithm-NaiveBayes-516643e6cae93b4d92b30272b8c90dd72b5b75aa.tar.gz
- new style bconds
Changed files: perl-Algorithm-NaiveBayes.spec -> 1.7
-rw-r--r--perl-Algorithm-NaiveBayes.spec4
1 files changed, 2 insertions, 2 deletions
diff --git a/perl-Algorithm-NaiveBayes.spec b/perl-Algorithm-NaiveBayes.spec
index 30dfc2a..48ad685 100644
--- a/perl-Algorithm-NaiveBayes.spec
+++ b/perl-Algorithm-NaiveBayes.spec
@@ -1,6 +1,6 @@
#
# Conditional build:
-# _without_tests - do not perform "make test"
+%bcond_without tests # don't perform "make test"
#
%include /usr/lib/rpm/macros.perl
%define pdir Algorithm
@@ -42,7 +42,7 @@ wyników.
INSTALLDIRS=vendor
%{__make}
-%{!?_without_tests:%{__make} test}
+%{?with_tests:%{__make} test}
%install
rm -rf $RPM_BUILD_ROOT