]> git.pld-linux.org Git - packages/perl-Math-Quaternion.git/commitdiff
- ported to new bconds
authorankry <ankry@pld-linux.org>
Tue, 20 Apr 2004 23:59:37 +0000 (23:59 +0000)
committercvs2git <feedback@pld-linux.org>
Sun, 24 Jun 2012 12:13:13 +0000 (12:13 +0000)
Changed files:
    perl-Math-Quaternion.spec -> 1.4

perl-Math-Quaternion.spec

index ef44639d22d1bb3914a59ca87f0eec76f46ff8d5..496b613f699ed2cdb16b21acc355181e8e257638 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    Math
@@ -16,7 +16,7 @@ Source0:      http://www.cpan.org/modules/by-module/%{pdir}/%{pdir}-%{pnam}-%{version
 # Source0-md5: afb5a960eb511d572a323608c42d7b11
 BuildRequires: perl-devel >= 5.8.0
 BuildRequires: rpm-perlprov >= 4.1-13
-%{!?_without_tests:BuildRequires:      perl-Test-Simple}
+%{?with_tests:BuildRequires:   perl-Test-Simple}
 BuildArch:     noarch
 BuildRoot:     %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
 
@@ -40,10 +40,9 @@ obrot
 %build
 %{__perl} Makefile.PL \
        INSTALLDIRS=vendor
-
 %{__make}
 
-%{!?_without_tests:%{__make} test}
+%{?with_tests:%{__make} test}
 
 %install
 rm -rf $RPM_BUILD_ROOT
This page took 0.06373 seconds and 4 git commands to generate.