From 7433ca48f06526fb92fa88923ef6ace16bf23444506863228656dde793501ff8 Mon Sep 17 00:00:00 2001 From: Dirk Stoecker Date: Fri, 5 Jun 2020 06:12:21 +0000 Subject: [PATCH] Accepting request 811534 from home:pmonrealgonzalez:branches:devel:languages:perl - Update to 2.113 * Changes in 2.113 2020-01-16 - Get rid of use of Common and TBone in all tests - Convert to Dist::Zilla for authoring - Cleaned up some of the docs. Needs more. * Changes in 2.112 2019-12-13 - Change use vars qw() to our $whatever instead. 'our' - Hide IO::WrapTie subclasses from PAUSE - 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 - Add a LICENSE file - Get rid of the set-version.pl file as it's no longer needed - update t/IO_InnerFile.t to use Test::More and a proper TEMP file OBS-URL: https://build.opensuse.org/request/show/811534 OBS-URL: https://build.opensuse.org/package/show/devel:languages:perl/perl-IO-stringy?expand=0&rev=20 --- IO-Stringy-2.113.tar.gz | 3 +++ IO-stringy-2.111.tar.gz | 3 --- perl-IO-stringy.changes | 18 ++++++++++++++++++ perl-IO-stringy.spec | 40 +++++++++++++++++++++++++++------------- 4 files changed, 48 insertions(+), 16 deletions(-) create mode 100644 IO-Stringy-2.113.tar.gz delete mode 100644 IO-stringy-2.111.tar.gz diff --git a/IO-Stringy-2.113.tar.gz b/IO-Stringy-2.113.tar.gz new file mode 100644 index 0000000..125bff8 --- /dev/null +++ b/IO-Stringy-2.113.tar.gz @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:51220fcaf9f66a639b69d251d7b0757bf4202f4f9debd45bdd341a6aca62fe4e +size 47755 diff --git a/IO-stringy-2.111.tar.gz b/IO-stringy-2.111.tar.gz deleted file mode 100644 index e599d81..0000000 --- a/IO-stringy-2.111.tar.gz +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:8c67fd6608c3c4e74f7324f1404a856c331dbf48d9deda6aaa8296ea41bf199d -size 41515 diff --git a/perl-IO-stringy.changes b/perl-IO-stringy.changes index c9b4d83..1eea6b8 100644 --- a/perl-IO-stringy.changes +++ b/perl-IO-stringy.changes @@ -1,3 +1,21 @@ +------------------------------------------------------------------- +Thu Jun 4 11:29:16 UTC 2020 - Pedro Monreal Gonzalez + +- Update to 2.113 + * Changes in 2.113 2020-01-16 + - Get rid of use of Common and TBone in all tests + - Convert to Dist::Zilla for authoring + - Cleaned up some of the docs. Needs more. + * Changes in 2.112 2019-12-13 + - Change use vars qw() to our $whatever instead. 'our' + - Hide IO::WrapTie subclasses from PAUSE + - 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 + - Add a LICENSE file + - Get rid of the set-version.pl file as it's no longer needed + - update t/IO_InnerFile.t to use Test::More and a proper TEMP file + ------------------------------------------------------------------- Mon Jan 14 15:54:33 CET 2019 - kukuk@suse.de diff --git a/perl-IO-stringy.spec b/perl-IO-stringy.spec index 5e3d464..db69e61 100644 --- a/perl-IO-stringy.spec +++ b/perl-IO-stringy.spec @@ -1,7 +1,7 @@ # # spec file for package perl-IO-stringy # -# Copyright (c) 2019 SUSE LINUX GmbH, Nuernberg, Germany. +# Copyright (c) 2020 SUSE LLC # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed @@ -17,35 +17,49 @@ Name: perl-IO-stringy -Version: 2.111 +Version: 2.113 Release: 0 -#Upstream: CHECK(GPL-1.0+ or Artistic-1.0) -%define cpan_name IO-stringy -Summary: IO::stringy Perl module +%define cpan_name IO-Stringy +Summary: I/O on in-core objects like strings and arrays License: Artistic-1.0 OR GPL-1.0-or-later Group: Development/Libraries/Perl -Url: http://search.cpan.org/dist/IO-stringy/ -Source0: http://www.cpan.org/authors/id/D/DS/DSKOLL/%{cpan_name}-%{version}.tar.gz +URL: https://metacpan.org/release/%{cpan_name} +Source0: https://cpan.metacpan.org/authors/id/C/CA/CAPOEIRAB/%{cpan_name}-%{version}.tar.gz Source1: cpanspec.yml BuildArch: noarch BuildRoot: %{_tmppath}/%{name}-%{version}-build BuildRequires: perl BuildRequires: perl-macros +BuildRequires: perl(Test::More) >= 0.88 +BuildRequires: perl(Test::Tester) +BuildRequires: perl(parent) +Requires: perl(parent) %{perl_requires} %description -IO::stringy Perl module +This toolkit primarily provides modules for performing both traditional and +object-oriented i/o) on things _other_ than normal filehandles; in +particular, IO::Scalar, IO::ScalarArray, and IO::Lines. + +In the more-traditional IO::Handle front, we have IO::AtomicFile which may +be used to painlessly create files which are updated atomically. + +And in the "this-may-prove-useful" corner, we have IO::Wrap, whose exported +wraphandle() function will clothe anything that's not a blessed object in +an IO::Handle-like wrapper... so you can just use OO syntax and stop +worrying about whether your function's caller handed you a string, a +globref, or a FileHandle. %prep %setup -q -n %{cpan_name}-%{version} find . -type f -print0 | xargs -0 chmod 644 %build -%{__perl} Makefile.PL INSTALLDIRS=vendor -%{__make} %{?_smp_mflags} +perl Makefile.PL INSTALLDIRS=vendor +make %{?_smp_mflags} %check -%{__make} test +make test %install %perl_make_install @@ -54,7 +68,7 @@ find . -type f -print0 | xargs -0 chmod 644 %files -f %{name}.files %defattr(-,root,root,755) -%license COPYING -%doc examples README +%doc Changes contrib examples README +%license COPYING LICENSE %changelog