From 018da94bf3b60136e9edc37446e6529d953855bf Mon Sep 17 00:00:00 2001 From: Paul Howarth Date: Mon, 11 May 2009 20:16:08 +0000 Subject: [PATCH] - Fix argument order for find with -depth - Include TODO - Cosmetic changes --- perl-IO-Multiplex.spec | 62 ++++++++++++++++++++++-------------------- 1 file changed, 33 insertions(+), 29 deletions(-) diff --git a/perl-IO-Multiplex.spec b/perl-IO-Multiplex.spec index 7a53253..5183ed5 100644 --- a/perl-IO-Multiplex.spec +++ b/perl-IO-Multiplex.spec @@ -1,37 +1,36 @@ -Summary: IO-Multiplex module for perl -Name: perl-IO-Multiplex -Version: 1.10 -Release: 3%{?dist} -License: GPL+ or Artistic -Group: Development/Libraries -URL: http://search.cpan.org/dist/IO-Multiplex/ - -Source: http://www.cpan.org/authors/id/B/BB/BBB/IO-Multiplex-%{version}.tar.gz -BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) - -BuildArch: noarch -BuildRequires: perl(ExtUtils::MakeMaker) -Requires: perl(:MODULE_COMPAT_%(eval "`%{__perl} -V:version`"; echo $version)) +Summary: IO-Multiplex module for perl +Name: perl-IO-Multiplex +Version: 1.10 +Release: 4%{?dist} +License: GPL+ or Artistic +Group: Development/Libraries +URL: http://search.cpan.org/dist/IO-Multiplex/ +Source: http://search.cpan.org/CPAN/authors/id/B/BB/BBB/IO-Multiplex-%{version}.tar.gz +BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) +BuildArch: noarch +BuildRequires: perl(ExtUtils::MakeMaker) +Requires: perl(:MODULE_COMPAT_%(eval "`%{__perl} -V:version`"; echo $version)) %description -IO::Multiplex is designed to take the effort out of managing -multiple file handles. It is essentially a really fancy front end to -the select system call. In addition to maintaining the select -loop, it buffers all input and output to/from the file handles. It -can also accept incoming connections on one or more listen sockets. +IO::Multiplex is designed to take the effort out of managing multiple file +handles. It is essentially a really fancy front end to the select system +call. In addition to maintaining the select loop, it buffers all input and +output to/from the file handles. It can also accept incoming connections on +one or more listen sockets. %prep -%setup -n IO-Multiplex-%{version} +%setup -q -n IO-Multiplex-%{version} %build -%{__perl} Makefile.PL INSTALLDIRS="vendor" +%{__perl} Makefile.PL INSTALLDIRS=vendor %{__make} %{?_smp_mflags} %install %{__rm} -rf %{buildroot} %{__make} pure_install PERL_INSTALL_ROOT=%{buildroot} -find %{buildroot} -type f -name .packlist -exec rm -f {} ';' -find %{buildroot} -type d -depth -exec rmdir {} 2>/dev/null ';' +/usr/bin/find %{buildroot} -type f -name .packlist -exec %{__rm} -f {} ';' +/usr/bin/find %{buildroot} -depth -type d -exec /bin/rmdir {} 2>/dev/null ';' +%{__chmod} -R u+w %{buildroot}/* %check %{__make} test @@ -40,12 +39,17 @@ find %{buildroot} -type d -depth -exec rmdir {} 2>/dev/null ';' %{__rm} -rf %{buildroot} %files -%defattr(-, root, root, -) -%doc Changes README -%doc %{_mandir}/man?/* +%defattr(-,root,root,-) +%doc Changes README TODO %{perl_vendorlib}/IO/ +%{_mandir}/man3/IO::Multiplex.3pm* %changelog +* Mon May 11 2009 Paul Howarth - 1.10-4 +- Fix argument order for find with -depth +- Include TODO +- Cosmetic changes + * Thu Feb 26 2009 Fedora Release Engineering - 1.10-3 - Rebuilt for https://fedoraproject.org/wiki/Fedora_11_Mass_Rebuild @@ -53,14 +57,14 @@ find %{buildroot} -type d -depth -exec rmdir {} 2>/dev/null ';' - Rebuilt for https://fedoraproject.org/wiki/Fedora_11_Mass_Rebuild * Mon Sep 15 2008 Tom "spot" Callaway - 1.10-1 -- update to 1.10, upstream found and relicensing has happened! +- Update to 1.10, upstream found and relicensing has happened! * Thu Mar 6 2008 Tom "spot" Callaway - 1.09-1 -- rebuild for new perl +- Rebuild for new perl - 1.09 * Tue Oct 16 2007 Tom "spot" Callaway - 1.08-5.1 -- add BR: perl(ExtUtils::MakeMaker) +- Add BR: perl(ExtUtils::MakeMaker) * Fri Sep 15 2006 Leif O M Bergman - 1.08-5 - Add dist tag