]> git.pld-linux.org Git - packages/perl-GD-Graph3d.git/blobdiff - perl-GD-Graph3d.spec
- tests added
[packages/perl-GD-Graph3d.git] / perl-GD-Graph3d.spec
index 334ff0dbeb78456b739fadbe32f50daa9e62704d..4f88019b5c47dbc0c6a9f74bda709e46fb041a3d 100644 (file)
@@ -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
This page took 0.247256 seconds and 4 git commands to generate.