summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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