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
epel9
Paul Howarth 10 years ago
parent b9854d6248
commit dfa7990667

4
.gitignore vendored

@ -1,3 +1 @@
Mixin-Linewise-0.003.tar.gz /Mixin-Linewise-[0-9.]*.tar.gz
/Mixin-Linewise-0.004.tar.gz
/Mixin-Linewise-0.106.tar.gz

@ -1,33 +1,37 @@
Name: perl-Mixin-Linewise Name: perl-Mixin-Linewise
Version: 0.106 Version: 0.107
Release: 3%{?dist} Release: 1%{?dist}
Summary: Write your linewise code for handles; this does the rest Summary: Write your linewise code for handles; this does the rest
License: GPL+ or Artistic License: GPL+ or Artistic
Group: Development/Libraries Group: Development/Libraries
URL: http://search.cpan.org/dist/Mixin-Linewise/ URL: http://search.cpan.org/dist/Mixin-Linewise/
Source0: http://www.cpan.org/authors/id/R/RJ/RJBS/Mixin-Linewise-%{version}.tar.gz Source0: http://www.cpan.org/authors/id/R/RJ/RJBS/Mixin-Linewise-%{version}.tar.gz
BuildArch: noarch BuildArch: noarch
# Build
BuildRequires: perl BuildRequires: perl
BuildRequires: perl(ExtUtils::MakeMaker) >= 6.30 BuildRequires: perl(ExtUtils::MakeMaker)
BuildRequires: perl(strict) # Module
BuildRequires: perl(warnings)
# Run-time:
BuildRequires: perl(Carp) BuildRequires: perl(Carp)
BuildRequires: perl(IO::File) BuildRequires: perl(IO::File)
BuildRequires: perl(PerlIO::utf8_strict) BuildRequires: perl(PerlIO::utf8_strict)
BuildRequires: perl(Sub::Exporter) BuildRequires: perl(strict)
# Tests: BuildRequires: perl(Sub::Exporter) >= 0.9
BuildRequires: perl(warnings)
# Test Suite
BuildRequires: perl(Encode) BuildRequires: perl(Encode)
BuildRequires: perl(File::Spec)
BuildRequires: perl(lib) BuildRequires: perl(lib)
BuildRequires: perl(Test::More) >= 0.96 BuildRequires: perl(Test::More) >= 0.96
BuildRequires: perl(utf8) 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)) Requires: perl(:MODULE_COMPAT_%(eval "`perl -V:version`"; echo $version))
%{?perl_default_filter}
%description %description
It's boring to deal with opening files for IO, converting strings to handle- It's boring to deal with opening files for IO, converting strings to
like objects, and all that. With Mixin::Linewise::Readers and handle-like objects, and all that. With Mixin::Linewise::Readers and
Mixin::Linewise::Writers, you can just write a method to handle handles, Mixin::Linewise::Writers, you can just write a method to handle handles,
and methods for handling strings and file names are added for you. and methods for handling strings and file names are added for you.
@ -41,17 +45,28 @@ make %{?_smp_mflags}
%install %install
make pure_install DESTDIR=%{buildroot} make pure_install DESTDIR=%{buildroot}
find %{buildroot} -type f -name .packlist -exec rm -f {} \; find %{buildroot} -type f -name .packlist -exec rm -f {} \;
%{_fixperms} %{buildroot}/* %{_fixperms} %{buildroot}
%check %check
make test make test
%files %files
%doc Changes LICENSE README %license LICENSE
%{perl_vendorlib}/* %doc Changes README
%{_mandir}/man3/* %{perl_vendorlib}/Mixin/
%{_mandir}/man3/Mixin::Linewise.3*
%{_mandir}/man3/Mixin::Linewise::Readers.3*
%{_mandir}/man3/Mixin::Linewise::Writers.3*
%changelog %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 * Thu Aug 28 2014 Jitka Plesnikova <jplesnik@redhat.com> - 0.106-3
- Perl 5.20 rebuild - Perl 5.20 rebuild

@ -1 +1 @@
d4699cde97d8286f44624c1d19663334 Mixin-Linewise-0.106.tar.gz 515f63fca0ef3e349136c68c1ac3750f Mixin-Linewise-0.107.tar.gz

Loading…
Cancel
Save