@ -1,33 +1,37 @@
Name: perl-Mixin-Linewise
Version: 0.106
Release: 3 %{?dist}
Version: 0.107
Release: 1 %{?dist}
Summary: Write your linewise code for handles; this does the rest
License: GPL+ or Artistic
Group: Development/Libraries
URL: http://search.cpan.org/dist/Mixin-Linewise/
Source0: http://www.cpan.org/authors/id/R/RJ/RJBS/Mixin-Linewise-%{version}.tar.gz
BuildArch: noarch
# Build
BuildRequires: perl
BuildRequires: perl(ExtUtils::MakeMaker) >= 6.30
BuildRequires: perl(strict)
BuildRequires: perl(warnings)
# Run-time:
BuildRequires: perl(ExtUtils::MakeMaker)
# Module
BuildRequires: perl(Carp)
BuildRequires: perl(IO::File)
BuildRequires: perl(PerlIO::utf8_strict)
BuildRequires: perl(Sub::Exporter)
# Tests:
BuildRequires: perl(strict)
BuildRequires: perl(Sub::Exporter) >= 0.9
BuildRequires: perl(warnings)
# Test Suite
BuildRequires: perl(Encode)
BuildRequires: perl(File::Spec)
BuildRequires: perl(lib)
BuildRequires: perl(Test::More) >= 0.96
BuildRequires: perl(utf8)
# Optional Tests
BuildRequires: perl(CPAN::Meta) >= 2.120900
BuildRequires: perl(CPAN::Meta::Prereqs)
# Runtime
Requires: perl(:MODULE_COMPAT_%(eval "`perl -V:version`"; echo $version))
%{?perl_default_filter}
%description
It's boring to deal with opening files for IO, converting strings to handle-
like objects, and all that. With Mixin::Linewise::Readers and
It's boring to deal with opening files for IO, converting strings to
handle- like objects, and all that. With Mixin::Linewise::Readers and
Mixin::Linewise::Writers, you can just write a method to handle handles,
and methods for handling strings and file names are added for you.
@ -41,17 +45,28 @@ make %{?_smp_mflags}
%install
make pure_install DESTDIR=%{buildroot}
find %{buildroot} -type f -name .packlist -exec rm -f {} \;
%{_fixperms} %{buildroot}/*
%{_fixperms} %{buildroot}
%check
make test
%files
%doc Changes LICENSE README
%{perl_vendorlib}/*
%{_mandir}/man3/*
%license LICENSE
%doc Changes README
%{perl_vendorlib}/Mixin/
%{_mandir}/man3/Mixin::Linewise.3*
%{_mandir}/man3/Mixin::Linewise::Readers.3*
%{_mandir}/man3/Mixin::Linewise::Writers.3*
%changelog
* Wed Apr 8 2015 Paul Howarth <paul@city-fan.org> - 0.107-1
- Update to 0.107
- Add leading hashref arg for passing binmode to read_string, write_string
- Do not modify references of args passed to read_file, write_file
- Remove redundant %%{?perl_default_filter}
- Use %%license
- Make %%files list more explicit
* Thu Aug 28 2014 Jitka Plesnikova <jplesnik@redhat.com> - 0.106-3
- Perl 5.20 rebuild