]> git.pld-linux.org Git - packages/perl-GD-Graph3d.git/commitdiff
- tests added
authorankry <ankry@pld-linux.org>
Sun, 25 Apr 2004 08:29:42 +0000 (08:29 +0000)
committercvs2git <feedback@pld-linux.org>
Sun, 24 Jun 2012 12:13:13 +0000 (12:13 +0000)
Changed files:
    perl-GD-Graph3d.spec -> 1.21

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.260392 seconds and 4 git commands to generate.