#
# 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 IO
%define pnam Multiplex
-Summary: IO::Multiplex - Manage IO on many file handles
+Summary: IO::Multiplex - manage IO on many file handles
Summary(pl): IO::Multiplex - zarz±dzanie operacjami we/wy na wielu uchwytach plików
Name: perl-IO-Multiplex
Version: 1.08
Group: Development/Languages/Perl
Source0: http://www.cpan.org/modules/by-module/%{pdir}/%{pdir}-%{pnam}-%{version}.tar.gz
# Source0-md5: b27e0eb03f85cfd04b3e29953cfd4444
-BuildRequires: perl-devel >= 5.8
+BuildRequires: perl-devel >= 1:5.8.0
BuildRequires: rpm-perlprov >= 4.1-13
BuildArch: noarch
BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
INSTALLDIRS=vendor
%{__make}
-%{!?_without_tests:%{__make} test}
+%{?with_tests:%{__make} test}
%install
rm -rf $RPM_BUILD_ROOT