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

perl-Test-Differences.spec

index e40520fae856b76c41ed3b94108cedf158f03917..b91f642b6db878ab6751e338a54b6a41dba36c8b 100644 (file)
@@ -1,6 +1,7 @@
 #
 # 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    Test
 %define        pnam    Differences
@@ -14,7 +15,7 @@ Group:                Development/Languages/Perl
 Source0:       http://www.cpan.org/modules/by-module/%{pdir}/%{pdir}-%{pnam}-%{version}.tar.gz
 # Source0-md5: e4fa76bb11b0d1db2d4213390413f5af
 BuildRequires: perl-devel >= 5.6
-%if %{?_without_tests:0}%{!?_without_tests:1}
+%if %{with tests}
 BuildRequires: perl-Text-Diff
 %endif
 BuildRequires: rpm-perlprov >= 4.1-13
@@ -39,12 +40,13 @@ diff.
        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.175991 seconds and 4 git commands to generate.