]> git.pld-linux.org Git - packages/perl-Math-PRSG.git/commitdiff
- tests added, license fix
authorankry <ankry@pld-linux.org>
Fri, 23 Apr 2004 17:58:58 +0000 (17:58 +0000)
committercvs2git <feedback@pld-linux.org>
Sun, 24 Jun 2012 12:13:13 +0000 (12:13 +0000)
Changed files:
    perl-Math-PRSG.spec -> 1.28

perl-Math-PRSG.spec

index ea15ed0eecfe423b74a36fc89fe9635a2361af9f..d0d4517d082985cb24979136ff1b21851e17cd43 100644 (file)
@@ -1,3 +1,7 @@
+#
+# Conditional build:
+%bcond_without tests   # do not perform "make test"
+#
 %include       /usr/lib/rpm/macros.perl
 %define        pdir    Math
 %define        pnam    PRSG
@@ -6,7 +10,8 @@ Summary(pl):   Modu
 Name:          perl-Math-PRSG
 Version:       1.0
 Release:       8
-License:       GPL
+# if used in a product, Systemics should be given attribution as the author
+License:       free use, distributable
 Group:         Development/Languages/Perl
 Source0:       http://www.cpan.org/modules/by-module/%{pdir}/%{pdir}-%{pnam}-%{version}.tar.gz
 # Source0-md5: 4f0c32973d5b03d2a665b6ac6ec04b9c
@@ -28,7 +33,10 @@ Math::PRSG - interfejs do funkcji generowania pseudolosowych sekwencji.
 %build
 %{__perl} Makefile.PL \
        INSTALLDIRS=vendor
-%{__make} OPTIMIZE="%{rpmcflags}"
+%{__make} \
+       OPTIMIZE="%{rpmcflags}"
+
+%{?with_tests:%{__make} test}
 
 %install
 rm -rf $RPM_BUILD_ROOT
This page took 0.027568 seconds and 4 git commands to generate.