diff options
-rw-r--r-- | perl-Math-BigInt-Pari.spec | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/perl-Math-BigInt-Pari.spec b/perl-Math-BigInt-Pari.spec index 276b14b..47786dc 100644 --- a/perl-Math-BigInt-Pari.spec +++ b/perl-Math-BigInt-Pari.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 Math @@ -43,10 +43,9 @@ warstwy XS będącej interfejsem do bardzo szybkiej biblioteki PARI. %build %{__perl} Makefile.PL \ INSTALLDIRS=vendor - %{__make} -%{!?_without_tests:%{__make} test} +%{?with_tests:%{__make} test} %install rm -rf $RPM_BUILD_ROOT |