]> git.pld-linux.org Git - packages/perl-IO-Multiplex.git/blobdiff - perl-IO-Multiplex.spec
- fixed perl-devel BR
[packages/perl-IO-Multiplex.git] / perl-IO-Multiplex.spec
index 08562108177fce4cb25c580ef8caee6cfcfb763f..e0e4211f85cf3e102481e096ed9762b56f4cfa7d 100644 (file)
@@ -1,20 +1,21 @@
 #
 # 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.04
+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
-BuildRequires: perl >= 5.6
-BuildRequires: rpm-perlprov >= 3.0.3-16
+# 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)
 
@@ -37,15 +38,17 @@ nas
 %setup -q -n %{pdir}-%{pnam}-%{version}
 
 %build
-%{__perl} Makefile.PL
+%{__perl} Makefile.PL \
+       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
@@ -53,5 +56,5 @@ rm -rf $RPM_BUILD_ROOT
 %files
 %defattr(644,root,root,755)
 %doc Changes README TODO
-%{perl_sitelib}/IO/Multiplex.pm
+%{perl_vendorlib}/IO/Multiplex.pm
 %{_mandir}/man3/*
This page took 0.042667 seconds and 4 git commands to generate.