From dfa79906675bc7248397a72346b4c0df5d8a5dff Mon Sep 17 00:00:00 2001 From: Paul Howarth Date: Apr 08 2015 12:44:20 +0000 Subject: Update to 0.107 - New upstream release 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 --- diff --git a/.gitignore b/.gitignore index 14e5686..3a839d3 100644 --- a/.gitignore +++ b/.gitignore @@ -1,3 +1 @@ -Mixin-Linewise-0.003.tar.gz -/Mixin-Linewise-0.004.tar.gz -/Mixin-Linewise-0.106.tar.gz +/Mixin-Linewise-[0-9.]*.tar.gz diff --git a/perl-Mixin-Linewise.spec b/perl-Mixin-Linewise.spec index 553207c..22e6487 100644 --- a/perl-Mixin-Linewise.spec +++ b/perl-Mixin-Linewise.spec @@ -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 - 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 - 0.106-3 - Perl 5.20 rebuild diff --git a/sources b/sources index bd60ed0..8d3448f 100644 --- a/sources +++ b/sources @@ -1 +1 @@ -d4699cde97d8286f44624c1d19663334 Mixin-Linewise-0.106.tar.gz +515f63fca0ef3e349136c68c1ac3750f Mixin-Linewise-0.107.tar.gz