- Fix argument order for find with -depth

- Include TODO
- Cosmetic changes
This commit is contained in:
Paul Howarth 2009-05-11 20:16:08 +00:00
parent 7d086c4b29
commit 018da94bf3

View File

@ -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 <paul@city-fan.org> - 1.10-4
- Fix argument order for find with -depth
- Include TODO
- Cosmetic changes
* Thu Feb 26 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 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 <tcallawa@redhat.com> - 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 <tcallawa@redhat.com> - 1.09-1
- rebuild for new perl
- Rebuild for new perl
- 1.09
* Tue Oct 16 2007 Tom "spot" Callaway <tcallawa@redhat.com> - 1.08-5.1
- add BR: perl(ExtUtils::MakeMaker)
- Add BR: perl(ExtUtils::MakeMaker)
* Fri Sep 15 2006 Leif O M Bergman <lmb@biosci.ki.se> - 1.08-5
- Add dist tag