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

perl-POE-Component-Server-Syslog.spec

index 7854bdf971efbc2bcb01d073100e4dd9628737c8..921218ca447b1fbf777e2af58768fa87434ad602 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    POE
@@ -16,7 +16,7 @@ Source0:      http://www.cpan.org/modules/by-module/%{pdir}/%{pdir}-%{pnam}-%{version
 # Source0-md5: 9d13ce4eb4d3c1ce308478952b68e1e5
 BuildRequires: perl-devel >= 5.6
 BuildRequires: rpm-perlprov >= 4.1-13
-%if %{!?_without_tests:1}0
+%if %{with tests}
 BuildRequires: perl(Time::ParseDate)
 BuildRequires: perl-POE >= 0.24
 BuildRequires: perl-Test-Simple
@@ -42,7 +42,7 @@ mo
        INSTALLDIRS=vendor
 %{__make}
 
-%{!?_without_tests:%{__make} test}
+%{?with_tests:%{__make} test}
 
 %install
 rm -rf $RPM_BUILD_ROOT
This page took 0.074425 seconds and 4 git commands to generate.