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

perl-Text-PDF.spec

index fb2826c33d32ec90213ca48e81a62fdd6c5c5fff..adc9ab42c12abed4d055a47b9792d22c24ea25e8 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
 %define                pdir    Text
@@ -36,12 +36,14 @@ Text::PDF umo
 %{__perl} Makefile.PL \
        INSTALLDIRS=vendor
 %{__make}
-%{!?_without_tests:%{__make} test}
+
+%{?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.045019 seconds and 4 git commands to generate.