From b065d9f8653cbdec9c50c6ce825c11afc59f77b2 Mon Sep 17 00:00:00 2001 From: ankry Date: Tue, 27 Apr 2004 15:26:28 +0000 Subject: [PATCH] - new bconds Changed files: perl-Text-PDF.spec -> 1.40 --- perl-Text-PDF.spec | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) diff --git a/perl-Text-PDF.spec b/perl-Text-PDF.spec index fb2826c..adc9ab4 100644 --- a/perl-Text-PDF.spec +++ b/perl-Text-PDF.spec @@ -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 -- 2.44.0