]> git.pld-linux.org Git - packages/perl-PGPLOT.git/commitdiff
- new bconds
authorankry <ankry@pld-linux.org>
Tue, 27 Apr 2004 15:26:24 +0000 (15:26 +0000)
committercvs2git <feedback@pld-linux.org>
Sun, 24 Jun 2012 12:13:13 +0000 (12:13 +0000)
Changed files:
    perl-PGPLOT.spec -> 1.30

perl-PGPLOT.spec

index ab147355708fd8a1aa283eb003f101f5c23ce4c3..847d9d03b42b0a6b229dfee19dcf47b73a9c9059 100644 (file)
@@ -1,6 +1,6 @@
 #
 # Conditional build:
-# _without_tests - do not perform "make test"
+%bcond_without tests   # do not perform "make test"
 #
 %include       /usr/lib/rpm/macros.perl
 Summary:       PGPLOT perl module
@@ -34,12 +34,13 @@ PGPLOT - interfejs perla do biblioteki graficznej PGPLOT.
        INSTALLDIRS=vendor
 %{__make}
 
-%{!?_without_tests:echo /NULL | %{__make} test}
+%{?with_tests:echo /NULL | %{__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.164371 seconds and 4 git commands to generate.