summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJakub Bogusz2003-11-30 21:10:07 (GMT)
committercvs2git2012-06-24 12:13:13 (GMT)
commitcc5d1b31ec6d15c0e9a21f584bc4a07c6c51dd6c (patch)
tree7d2f25b95e04f89b2c1159e2508b9ffbecb2f311
parent20c2cc17e5abb04a6786ac9f1313af6ee7d199c1 (diff)
downloadperl-Statistics-ChiSquare-cc5d1b31ec6d15c0e9a21f584bc4a07c6c51dd6c.zip
perl-Statistics-ChiSquare-cc5d1b31ec6d15c0e9a21f584bc4a07c6c51dd6c.tar.gz
- more visible bcond and other cosmetics
Changed files: perl-Statistics-ChiSquare.spec -> 1.33
-rw-r--r--perl-Statistics-ChiSquare.spec7
1 files changed, 6 insertions, 1 deletions
diff --git a/perl-Statistics-ChiSquare.spec b/perl-Statistics-ChiSquare.spec
index 33dcb4c..baeaf0a 100644
--- a/perl-Statistics-ChiSquare.spec
+++ b/perl-Statistics-ChiSquare.spec
@@ -1,4 +1,7 @@
+#
+# Conditional build:
%bcond_without tests # don't perform "make test"
+#
%include /usr/lib/rpm/macros.perl
%define pdir Statistics
%define pnam ChiSquare
@@ -44,12 +47,14 @@ Statistics::ChiSquare - Jak bardzo losowe są twoje dane?
%{__perl} Makefile.PL \
INSTALLDIRS=vendor
%{__make}
+
%{?with_tests:%{__make} test}
%install
rm -rf $RPM_BUILD_ROOT
-%{__make} install DESTDIR=$RPM_BUILD_ROOT
+%{__make} install \
+ DESTDIR=$RPM_BUILD_ROOT
%clean
rm -rf $RPM_BUILD_ROOT