]> git.pld-linux.org Git - packages/perl-Carp-Assert.git/commitdiff
- bcond fixes/porting
authorankry <ankry@pld-linux.org>
Tue, 20 Apr 2004 09:46:28 +0000 (09:46 +0000)
committercvs2git <feedback@pld-linux.org>
Sun, 24 Jun 2012 12:13:13 +0000 (12:13 +0000)
Changed files:
    perl-Carp-Assert.spec -> 1.42

perl-Carp-Assert.spec

index 9b8300560fea387c355f9882d97806cad2fa6b63..64c2fe7919d2c4ced961541995b1c25a4fb603f7 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    Carp
@@ -16,7 +16,7 @@ Group:                Development/Languages/Perl
 Source0:       http://www.cpan.org/modules/by-module/%{pdir}/%{pdir}-%{pnam}-%{version}.tar.gz
 # Source0-md5: 8137794654f5802730c05167327d496e
 BuildRequires: perl-devel >= 5.6.1
-%{!?_without_tests:BuildRequires:      perl-Test-Simple >= 0.18}
+%{?with_tests:BuildRequires:   perl-Test-Simple >= 0.18}
 BuildRequires: rpm-perlprov >= 4.1-13
 BuildArch:     noarch
 BuildRoot:     %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
@@ -39,7 +39,7 @@ albo przynajmniej wiedzie
        INSTALLDIRS=vendor
 %{__make}
 
-%{!?_without_tests:%{__make} test}
+%{?with_tests:%{__make} test}
 
 %install
 rm -rf $RPM_BUILD_ROOT
This page took 0.143798 seconds and 4 git commands to generate.