+#
+# Conditional build:
+%bcond_without tests # don't perform "make test"
+#
%include /usr/lib/rpm/macros.perl
%define pdir AI
%define pnam NeuralNet-BackProp
%{__perl} Makefile.PL \
INSTALLDIRS=vendor
%{__make}
-%{!?_without_tests:%{__make} test}
+%{?with_tests:%{__make} test}
%install
rm -rf $RPM_BUILD_ROOT