Update to 2.112
- New upstream release 2.112
- Added the change log from any prior source that could be found, and
formatted the log to fit metacpan.org loose standards
- Change use vars qw() to our $whatever instead
- Hide IO::WrapTie subclasses from PAUSE
- Rebuild Makefile.PL to contain all of the prerequisites
- Convert README to README.md
- Fix the documentation in the main module, IO::Stringy to better indicate
where to get info and how to use the module
- Fix the dist's META information to indicate the original author and license
- Add a LICENSE file
- Add AppVeyor CI testing
- Add Travis CI testing
- Update t/IO_InnerFile.t to use Test::More and a proper TEMP file
(CPAN RT#103895)
- Use author-independent source URL
- Simplify find command using -delete
- Add Provides: for perl-IO-Stringy
- Fix permissions verbosely
This commit is contained in:
parent
52bd773e11
commit
09722d2839
2
.gitignore
vendored
2
.gitignore
vendored
@ -1 +1 @@
|
||||
/IO-stringy-[0-9.]*.tar.gz
|
||||
/IO-[Ss]tringy-[0-9.]*.tar.gz
|
||||
|
||||
2
perl-IO-stringy.rpmlintrc
Normal file
2
perl-IO-stringy.rpmlintrc
Normal file
@ -0,0 +1,2 @@
|
||||
from Config import *
|
||||
addFilter("spelling-error %description -l en_US (filehandles|ScalarArray|AtomicFile|wraphandle|globref) -> ")
|
||||
@ -1,15 +1,19 @@
|
||||
Summary: I/O on in-core objects like strings and arrays for Perl
|
||||
Name: perl-IO-stringy
|
||||
Version: 2.111
|
||||
Release: 14%{?dist}
|
||||
Version: 2.112
|
||||
Release: 1%{?dist}
|
||||
License: GPL+ or Artistic
|
||||
URL: https://metacpan.org/release/IO-stringy
|
||||
Source0: https://cpan.metacpan.org/authors/id/D/DS/DSKOLL/IO-stringy-%{version}.tar.gz
|
||||
Source0: https://cpan.metacpan.org/modules/by-module/IO/IO-Stringy-%{version}.tar.gz
|
||||
BuildArch: noarch
|
||||
# Module Build
|
||||
BuildRequires: perl-interpreter
|
||||
BuildRequires: coreutils
|
||||
BuildRequires: findutils
|
||||
BuildRequires: make
|
||||
BuildRequires: perl-generators
|
||||
BuildRequires: perl-interpreter
|
||||
BuildRequires: perl(ExtUtils::MakeMaker)
|
||||
BuildRequires: perl(warnings)
|
||||
# Module Runtime
|
||||
BuildRequires: perl(Carp)
|
||||
BuildRequires: perl(Exporter)
|
||||
@ -22,10 +26,19 @@ BuildRequires: perl(Symbol)
|
||||
BuildRequires: perl(vars)
|
||||
# Test Suite
|
||||
BuildRequires: perl(File::Basename)
|
||||
BuildRequires: perl(File::Spec)
|
||||
BuildRequires: perl(File::Temp)
|
||||
BuildRequires: perl(lib)
|
||||
BuildRequires: perl(Test::More)
|
||||
# Optional Tests
|
||||
BuildRequires: perl(CPAN::Meta) >= 2.120900
|
||||
BuildRequires: perl(CPAN::Meta::Prereqs)
|
||||
# Runtime
|
||||
Requires: perl(:MODULE_COMPAT_%(eval "`perl -V:version`"; echo $version))
|
||||
|
||||
# New upstream maintainer for 2.112 finally got the dist name right
|
||||
Provides: perl-IO-Stringy = %{version}-%{release}
|
||||
|
||||
# Avoid doc-file dependency on /usr/bin/perl
|
||||
%{?perl_default_filter}
|
||||
|
||||
@ -44,28 +57,30 @@ and stop worrying about whether your function's caller handed you a
|
||||
string, a globref, or a FileHandle.
|
||||
|
||||
%prep
|
||||
%setup -q -n IO-stringy-%{version}
|
||||
%setup -q -n IO-Stringy-%{version}
|
||||
|
||||
# Get rid of bogus exec permissions
|
||||
chmod -c -x Changes COPYING LICENSE README.md lib/IO/*.pm
|
||||
|
||||
%build
|
||||
perl Makefile.PL INSTALLDIRS=vendor
|
||||
make %{?_smp_mflags}
|
||||
|
||||
%install
|
||||
rm -rf %{buildroot}
|
||||
make pure_install DESTDIR=%{buildroot}
|
||||
find %{buildroot} -type f -name .packlist -exec rm -f {} ';'
|
||||
%{_fixperms} %{buildroot}
|
||||
find %{buildroot} -type f -name .packlist -delete
|
||||
%{_fixperms} -c %{buildroot}
|
||||
|
||||
%check
|
||||
make test
|
||||
|
||||
%files
|
||||
%if 0%{?_licensedir:1}
|
||||
%license COPYING
|
||||
%license COPYING LICENSE
|
||||
%else
|
||||
%doc COPYING
|
||||
%doc COPYING LICENSE
|
||||
%endif
|
||||
%doc README examples/
|
||||
%doc Changes examples/ README.md
|
||||
%{perl_vendorlib}/IO/
|
||||
%{_mandir}/man3/IO::AtomicFile.3*
|
||||
%{_mandir}/man3/IO::InnerFile.3*
|
||||
@ -77,6 +92,27 @@ make test
|
||||
%{_mandir}/man3/IO::WrapTie.3*
|
||||
|
||||
%changelog
|
||||
* Sat Dec 14 2019 Paul Howarth <paul@city-fan.org> - 2.112-1
|
||||
- Update to 2.112
|
||||
- Added the change log from any prior source that could be found, and
|
||||
formatted the log to fit metacpan.org loose standards
|
||||
- Change use vars qw() to our $whatever instead
|
||||
- Hide IO::WrapTie subclasses from PAUSE
|
||||
- Rebuild Makefile.PL to contain all of the prerequisites
|
||||
- Convert README to README.md
|
||||
- Fix the documentation in the main module, IO::Stringy to better indicate
|
||||
where to get info and how to use the module
|
||||
- Fix the dist's META information to indicate the original author and license
|
||||
- Add a LICENSE file
|
||||
- Add AppVeyor CI testing
|
||||
- Add Travis CI testing
|
||||
- Update t/IO_InnerFile.t to use Test::More and a proper TEMP file
|
||||
(CPAN RT#103895)
|
||||
- Use author-independent source URL
|
||||
- Simplify find command using -delete
|
||||
- Add Provides: for perl-IO-Stringy
|
||||
- Fix permissions verbosely
|
||||
|
||||
* Fri Jul 26 2019 Fedora Release Engineering <releng@fedoraproject.org> - 2.111-14
|
||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_31_Mass_Rebuild
|
||||
|
||||
|
||||
Loading…
Reference in New Issue
Block a user