[perl-IO-All] - Update to 0.47 - Add ->glob method to ::Dir - Add list based constructors to ::Dir and ::File

Paul Howarth pghmcfc at fedoraproject.org
Sun Oct 6 11:21:34 UTC 2013


commit 6805ffc2a92071e00baccb1f166d5e24be15c7c1
Author: Paul Howarth <paul at city-fan.org>
Date:   Sun Oct 6 12:19:48 2013 +0100

    - Update to 0.47
      - Add ->glob method to ::Dir
      - Add list based constructors to ::Dir and ::File
      - Add ->mimetype method to ::FileSys
      - Add ->ext method to ::FileSys
      - All tests should be parallelizable
    - This release by FREW -> update source URL
    - Specify all dependencies
    - Make %files list more explicit
    - Don't use macros for commands
    - Drop redundant %{?perl_default_filter}

 .gitignore       |    4 +--
 perl-IO-All.spec |   89 ++++++++++++++++++++++++++++++++++++++++++++----------
 sources          |    2 +-
 3 files changed, 75 insertions(+), 20 deletions(-)
---
diff --git a/.gitignore b/.gitignore
index 750e896..5388635 100644
--- a/.gitignore
+++ b/.gitignore
@@ -1,3 +1 @@
-IO-All-0.39.tar.gz
-/IO-All-0.41.tar.gz
-/IO-All-0.46.tar.gz
+/IO-All-[0-9.]*.tar.gz
diff --git a/perl-IO-All.spec b/perl-IO-All.spec
index d984838..5048e03 100644
--- a/perl-IO-All.spec
+++ b/perl-IO-All.spec
@@ -1,20 +1,55 @@
 Name:           perl-IO-All
-Version:        0.46
-Release:        4%{?dist}
+Version:        0.47
+Release:        1%{?dist}
 Summary:        IO::All Perl module
 License:        GPL+ or Artistic
 Group:          Development/Libraries
 URL:            http://search.cpan.org/dist/IO-All/
-Source0:        http://www.cpan.org/authors/id/I/IN/INGY/IO-All-%{version}.tar.gz
+Source0:        http://www.cpan.org/authors/id/F/FR/FREW/IO-All-%{version}.tar.gz
 BuildArch:      noarch
+# Module Build
 BuildRequires:  perl(ExtUtils::MakeMaker)
+BuildRequires:  perl(File::Find)
+# Module Runtime
+BuildRequires:  perl(Carp)
+BuildRequires:  perl(Cwd)
+BuildRequires:  perl(Fcntl)
+BuildRequires:  perl(File::Copy)
+BuildRequires:  perl(File::MimeInfo)
+BuildRequires:  perl(File::Path)
 BuildRequires:  perl(File::ReadBackwards)
+BuildRequires:  perl(File::Spec)
+BuildRequires:  perl(IO::Dir)
+BuildRequires:  perl(IO::File)
+BuildRequires:  perl(IO::Handle)
+BuildRequires:  perl(IO::Socket)
 BuildRequires:  perl(IO::String) >= 1.08
-BuildRequires:  perl(MLDBM)
+BuildRequires:  perl(overload)
+BuildRequires:  perl(strict)
+BuildRequires:  perl(Symbol)
+BuildRequires:  perl(Tie::File)
+BuildRequires:  perl(warnings)
+# Test Suite
+BuildRequires:  perl(base)
+BuildRequires:  perl(Config)
+BuildRequires:  perl(Data::Dumper)
+BuildRequires:  perl(diagnostics)
+BuildRequires:  perl(Exporter)
+BuildRequires:  perl(IO::Socket::INET)
+BuildRequires:  perl(lib)
 BuildRequires:  perl(Test::More)
-Requires:       perl(:MODULE_COMPAT_%(eval "`%{__perl} -V:version`"; echo $version))
-
-%{?perl_default_filter}
+BuildRequires:  perl(vars)
+# Optional Tests
+BuildRequires:  perl(MLDBM)
+# Runtime
+Requires:       perl(:MODULE_COMPAT_%(eval "`perl -V:version`"; echo $version))
+Requires:       perl(Cwd)
+Requires:       perl(File::Copy)
+Requires:       perl(File::MimeInfo)
+Requires:       perl(File::Path)
+Requires:       perl(File::ReadBackwards)
+Requires:       perl(IO::Handle)
+Requires:       perl(Tie::File)
 
 %description
 The IO::All object is a proxy for IO::File, IO::Dir, IO::Socket,
@@ -27,28 +62,50 @@ manipulation functions.
 %prep
 %setup -q -n IO-All-%{version}
 
-find -type f -perm /0100 -name '*.pm' -exec chmod a-x {} \;
+find -type f -perm /0100 -name '*.pm' -exec chmod -c a-x {} \;
 
 %build
-%{__perl} Makefile.PL INSTALLDIRS=vendor
+perl Makefile.PL INSTALLDIRS=vendor
 make %{?_smp_mflags}
 
 %install
 make pure_install DESTDIR=$RPM_BUILD_ROOT
-
 find $RPM_BUILD_ROOT -type f -name .packlist -exec rm -f {} \;
-
-%{_fixperms} $RPM_BUILD_ROOT/*
+%{_fixperms} $RPM_BUILD_ROOT
 
 %check
-make test
+make %{?_smp_mflags} test
 
 %files
 %doc Changes README
-%{perl_vendorlib}/*
-%{_mandir}/man3/*
+%{perl_vendorlib}/IO/
+%{_mandir}/man3/IO::All.3pm*
+%{_mandir}/man3/IO::All::DBM.3pm*
+%{_mandir}/man3/IO::All::Dir.3pm*
+%{_mandir}/man3/IO::All::File.3pm*
+%{_mandir}/man3/IO::All::Filesys.3pm*
+%{_mandir}/man3/IO::All::Link.3pm*
+%{_mandir}/man3/IO::All::MLDBM.3pm*
+%{_mandir}/man3/IO::All::Pipe.3pm*
+%{_mandir}/man3/IO::All::STDIO.3pm*
+%{_mandir}/man3/IO::All::Socket.3pm*
+%{_mandir}/man3/IO::All::String.3pm*
+%{_mandir}/man3/IO::All::Temp.3pm*
 
 %changelog
+* Sun Oct  6 2013 Paul Howarth <paul at city-fan.org> - 0.47-1
+- Update to 0.47
+  - Add ->glob method to ::Dir
+  - Add list based constructors to ::Dir and ::File
+  - Add ->mimetype method to ::FileSys
+  - Add ->ext method to ::FileSys
+  - All tests should be parallelizable
+- This release by FREW -> update source URL
+- Specify all dependencies
+- Make %%files list more explicit
+- Don't use macros for commands
+- Drop redundant %%{?perl_default_filter}
+
 * Sat Aug 03 2013 Fedora Release Engineering <rel-eng at lists.fedoraproject.org> - 0.46-4
 - Rebuilt for https://fedoraproject.org/wiki/Fedora_20_Mass_Rebuild
 
@@ -79,7 +136,7 @@ make test
 - Rebuilt for https://fedoraproject.org/wiki/Fedora_15_Mass_Rebuild
 
 * Fri Dec 17 2010 Marcela Maslanova <mmaslano at redhat.com> - 0.41-2
-- 661697 rebuild for fixing problems with vendorach/lib
+- Rebuild to fix problems with vendorarch/lib (#661697)
 
 * Tue Dec 14 2010 Ralf Corsépius <corsepiu at fedoraproject.org> - 0.41-1
 - Update to 0.41 (Fix FTBFS: BZ 660953).
diff --git a/sources b/sources
index 4eed6c0..7be4484 100644
--- a/sources
+++ b/sources
@@ -1 +1 @@
-aa6ca3d3a06c29d9d0dd21dc675223fe  IO-All-0.46.tar.gz
+fb2f82547b6c0337e24dee6cbf11fcdb  IO-All-0.47.tar.gz



More information about the perl-devel mailing list