]> git.pld-linux.org Git - packages/perl-AI-NeuralNet-BackProp.git/blobdiff - perl-AI-NeuralNet-BackProp.spec
- new style bcond
[packages/perl-AI-NeuralNet-BackProp.git] / perl-AI-NeuralNet-BackProp.spec
index b6f9172420c286e1223732d4164f8a544edc2a6d..452293e9a0bbca96b9ad4f2dc49eb3b7f8ea5716 100644 (file)
@@ -1,3 +1,7 @@
+#
+# Conditional build:
+%bcond_without tests   # don't perform "make test"
+#
 %include       /usr/lib/rpm/macros.perl
 %define        pdir    AI
 %define        pnam    NeuralNet-BackProp
@@ -32,7 +36,7 @@ uog
 %{__perl} Makefile.PL \
        INSTALLDIRS=vendor
 %{__make}
-%{!?_without_tests:%{__make} test}
+%{?with_tests:%{__make} test}
 
 %install
 rm -rf $RPM_BUILD_ROOT
This page took 0.093483 seconds and 4 git commands to generate.