#
# 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.07
+Version: 1.08
Release: 1
License: Artistic
Group: Development/Languages/Perl
Source0: http://www.cpan.org/modules/by-module/%{pdir}/%{pdir}-%{pnam}-%{version}.tar.gz
-# Source0-md5: 77def312f282bb2ed0a9c68317853c6b
-Patch0: %{name}-udptest-linux26.patch
-BuildRequires: perl-devel >= 5.8
+# Source0-md5: b27e0eb03f85cfd04b3e29953cfd4444
+BuildRequires: perl-devel >= 1:5.8.0
BuildRequires: rpm-perlprov >= 4.1-13
BuildArch: noarch
BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
%prep
%setup -q -n %{pdir}-%{pnam}-%{version}
-%patch -p1
%build
%{__perl} Makefile.PL \
INSTALLDIRS=vendor
%{__make}
-%{!?_without_tests:%{__make} test}
+%{?with_tests:%{__make} test}
%install
rm -rf $RPM_BUILD_ROOT