- 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}
This commit is contained in:
parent
f3769e5034
commit
6805ffc2a9
4
.gitignore
vendored
4
.gitignore
vendored
@ -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
|
||||
|
||||
@ -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@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@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@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@fedoraproject.org> - 0.41-1
|
||||
- Update to 0.41 (Fix FTBFS: BZ 660953).
|
||||
|
||||
Loading…
Reference in New Issue
Block a user