From: ankry Date: Sun, 25 Apr 2004 08:29:42 +0000 (+0000) Subject: - tests added X-Git-Tag: AC-STABLE~1 X-Git-Url: https://git.pld-linux.org/?a=commitdiff_plain;h=df7804cf5c04095bff8f50c4acdb078d10cfce67;p=packages%2Fperl-GD-Graph3d.git - tests added Changed files: perl-GD-Graph3d.spec -> 1.21 --- diff --git a/perl-GD-Graph3d.spec b/perl-GD-Graph3d.spec index 334ff0d..4f88019 100644 --- a/perl-GD-Graph3d.spec +++ b/perl-GD-Graph3d.spec @@ -1,3 +1,7 @@ +# +# Conditional build: +%bcond_without tests # do not perform "make test" +# %include /usr/lib/rpm/macros.perl %define pdir GD %define pnam Graph3d @@ -37,10 +41,13 @@ modu 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