[perl-FileHandle-Unget] Update to 0.1624
Paul Howarth
pghmcfc at fedoraproject.org
Mon Mar 23 16:03:02 UTC 2015
commit 9480b15403c046a5ff83da20efa686064e53ac2f
Author: Paul Howarth <paul at city-fan.org>
Date: Mon Mar 23 15:56:36 2015 +0000
Update to 0.1624
- New upstream release 0.1624
- Moved code to github
- Added POD test
- Improve testability of binmode_bug.t, stdin_tell_bug.t
- Implement a potential fix for test failures where FileHandle::getline()
seems to be reading a single line even though $/ is undef
- Use "local $/" instead of reassigning global $/
- Improve documentation for input_record_separator()
- Classify buildreqs by usage
- Use %license where possible
.gitignore | 2 +-
perl-FileHandle-Unget.spec | 56 +++++++++++++++++++++++++++++++++++++++-------
sources | 2 +-
3 files changed, 50 insertions(+), 10 deletions(-)
---
diff --git a/.gitignore b/.gitignore
index c90eced..969fc0e 100644
--- a/.gitignore
+++ b/.gitignore
@@ -1 +1 @@
-FileHandle-Unget-0.1623.tar.gz
+/FileHandle-Unget-[0-9.]*.tar.gz
diff --git a/perl-FileHandle-Unget.spec b/perl-FileHandle-Unget.spec
index 7f181d5..ab9ac7a 100644
--- a/perl-FileHandle-Unget.spec
+++ b/perl-FileHandle-Unget.spec
@@ -3,19 +3,42 @@
Summary: A FileHandle that supports ungetting of multiple bytes
Name: perl-FileHandle-Unget
-Version: 0.1623
-Release: 17%{?dist}
+Version: 0.1624
+Release: 1%{?dist}
License: GPL+
Group: Development/Libraries
Url: http://search.cpan.org/dist/FileHandle-Unget/
Source0: http://search.cpan.org/CPAN/authors/id/D/DC/DCOPPIT/FileHandle-Unget-%{version}.tar.gz
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(id -nu)
BuildArch: noarch
-BuildRequires: perl(Data::Dumper)
-BuildRequires: perl(Devel::Leak)
+# Module Build
+BuildRequires: perl
+BuildRequires: perl(Cwd)
BuildRequires: perl(ExtUtils::MakeMaker)
-BuildRequires: perl(Scalar::Util) >= 1.14
+BuildRequires: perl(ExtUtils::Manifest)
+BuildRequires: perl(Fcntl)
+BuildRequires: perl(File::Find)
+BuildRequires: perl(File::Path)
+BuildRequires: perl(File::Spec)
+BuildRequires: perl(File::Temp)
+BuildRequires: perl(FindBin)
+# Module Runtime
+BuildRequires: perl(bytes)
+BuildRequires: perl(Exporter)
+BuildRequires: perl(FileHandle)
+BuildRequires: perl(Scalar::Util)
+BuildRequires: perl(strict)
+BuildRequires: perl(Symbol)
+BuildRequires: perl(vars)
+# Test Suite
+BuildRequires: perl(Config)
+BuildRequires: perl(Data::Dumper)
+BuildRequires: perl(File::Spec::Functions)
BuildRequires: perl(Test::More)
+# Optional Tests
+BuildRequires: perl(Devel::Leak)
+BuildRequires: perl(Test::Pod) >= 1.00
+# Runtime
Requires: perl(:MODULE_COMPAT_%(eval "`perl -V:version`"; echo $version))
Provides: perl(FileHandle::Unget) = %{version}
@@ -28,7 +51,7 @@ string of bytes back on the input.
%prep
%setup -q -n FileHandle-Unget-%{version}
-# Drop bogus autodetected provide
+# Drop bogus autodetected provide with wrong version
%if %{rpm49}
%global __provides_exclude ^perl\\(FileHandle::Unget\\)
%else
@@ -53,11 +76,28 @@ make test
rm -rf %{buildroot}
%files
-%doc README CHANGES LICENSE
+%if 0%{?_licensedir:1}
+%license LICENSE
+%else
+%doc LICENSE
+%endif
+%doc README CHANGES
%{perl_vendorlib}/FileHandle/
-%{_mandir}/man3/FileHandle::Unget.3pm*
+%{_mandir}/man3/FileHandle::Unget.3*
%changelog
+* Mon Mar 23 2015 Paul Howarth <paul at city-fan.org> - 0.1624-1
+- Update to 0.1624
+ - Moved code to github
+ - Added POD test
+ - Improve testability of binmode_bug.t, stdin_tell_bug.t
+ - Implement a potential fix for test failures where FileHandle::getline()
+ seems to be reading a single line even though $/ is undef
+ - Use "local $/" instead of reassigning global $/
+ - Improve documentation for input_record_separator()
+- Classify buildreqs by usage
+- Use %%license where possible
+
* Wed Aug 27 2014 Jitka Plesnikova <jplesnik at redhat.com> - 0.1623-17
- Perl 5.20 rebuild
diff --git a/sources b/sources
index d610500..234331c 100644
--- a/sources
+++ b/sources
@@ -1 +1 @@
-27df2a78e60e30b1950bbf41740eae13 FileHandle-Unget-0.1623.tar.gz
+810459e28eb6e2ab2e9fd6cad7bd55e5 FileHandle-Unget-0.1624.tar.gz
More information about the scm-commits
mailing list