From 09722d2839897ef69c63e0a345430695edeb37ab Mon Sep 17 00:00:00 2001 From: Paul Howarth Date: Dec 14 2019 14:39:23 +0000 Subject: 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 --- diff --git a/.gitignore b/.gitignore index f508e07..67883d4 100644 --- a/.gitignore +++ b/.gitignore @@ -1 +1 @@ -/IO-stringy-[0-9.]*.tar.gz +/IO-[Ss]tringy-[0-9.]*.tar.gz diff --git a/perl-IO-stringy.rpmlintrc b/perl-IO-stringy.rpmlintrc new file mode 100644 index 0000000..e18a755 --- /dev/null +++ b/perl-IO-stringy.rpmlintrc @@ -0,0 +1,2 @@ +from Config import * +addFilter("spelling-error %description -l en_US (filehandles|ScalarArray|AtomicFile|wraphandle|globref) -> ") diff --git a/perl-IO-stringy.spec b/perl-IO-stringy.spec index b8b4c92..1db5b5f 100644 --- a/perl-IO-stringy.spec +++ b/perl-IO-stringy.spec @@ -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 - 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 - 2.111-14 - Rebuilt for https://fedoraproject.org/wiki/Fedora_31_Mass_Rebuild diff --git a/sources b/sources index 99a4b77..d83460f 100644 --- a/sources +++ b/sources @@ -1 +1 @@ -e91acf0a800b190d13585a47de775bdd IO-stringy-2.111.tar.gz +SHA512 (IO-Stringy-2.112.tar.gz) = 49ca81f4c96dcac9f1eda0a226b84cc70964f8a917e41980d4faa611d42716c509fa24ff282ca731f9aa42285bff9195b7b9ba8fd732f2aac7761282c61f2601