Sync from SUSE:SLFO:Main perl-IO-stringy revision 6d16bcfc6fd9fc41ef4cea4ff02b7d64

This commit is contained in:
Adrian Schröter 2024-05-03 18:24:41 +02:00
commit 336468b0e9
5 changed files with 253 additions and 0 deletions

23
.gitattributes vendored Normal file
View File

@ -0,0 +1,23 @@
## Default LFS
*.7z filter=lfs diff=lfs merge=lfs -text
*.bsp filter=lfs diff=lfs merge=lfs -text
*.bz2 filter=lfs diff=lfs merge=lfs -text
*.gem filter=lfs diff=lfs merge=lfs -text
*.gz filter=lfs diff=lfs merge=lfs -text
*.jar filter=lfs diff=lfs merge=lfs -text
*.lz filter=lfs diff=lfs merge=lfs -text
*.lzma filter=lfs diff=lfs merge=lfs -text
*.obscpio filter=lfs diff=lfs merge=lfs -text
*.oxt filter=lfs diff=lfs merge=lfs -text
*.pdf filter=lfs diff=lfs merge=lfs -text
*.png filter=lfs diff=lfs merge=lfs -text
*.rpm filter=lfs diff=lfs merge=lfs -text
*.tbz filter=lfs diff=lfs merge=lfs -text
*.tbz2 filter=lfs diff=lfs merge=lfs -text
*.tgz filter=lfs diff=lfs merge=lfs -text
*.ttf filter=lfs diff=lfs merge=lfs -text
*.txz filter=lfs diff=lfs merge=lfs -text
*.whl filter=lfs diff=lfs merge=lfs -text
*.xz filter=lfs diff=lfs merge=lfs -text
*.zip filter=lfs diff=lfs merge=lfs -text
*.zst filter=lfs diff=lfs merge=lfs -text

BIN
IO-Stringy-2.113.tar.gz (Stored with Git LFS) Normal file

Binary file not shown.

23
cpanspec.yml Normal file
View File

@ -0,0 +1,23 @@
---
#description_paragraphs: 3
#no_testing: broken upstream
#sources:
# - source1
# - source2
#patches:
# foo.patch: -p1
# bar.patch:
#preamble: |-
# BuildRequires: gcc-c++
#post_prep: |-
# hunspell=`pkg-config --libs hunspell | sed -e 's,-l,,; s, *,,g'`
# sed -i -e "s,hunspell-X,$hunspell," t/00-prereq.t Makefile.PL
#post_install: |-
# sed on %{name}.files
license: Perl License
#skip_noarch: 1
#custom_build: |-
#./Build build flags=%{?_smp_mflags} --myflag
#custom_test: |-
#startserver && make test
#ignore_requires: Bizarre::Module

130
perl-IO-stringy.changes Normal file
View File

@ -0,0 +1,130 @@
-------------------------------------------------------------------
Thu Jun 4 11:29:16 UTC 2020 - Pedro Monreal Gonzalez <pmonrealgonzalez@suse.com>
- 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
- Use %license instead of %doc [bsc#1082318]
-------------------------------------------------------------------
Wed May 6 11:11:29 UTC 2015 - coolo@suse.com
- fix license to be perl's
-------------------------------------------------------------------
Sat May 2 09:26:25 UTC 2015 - coolo@suse.com
- updated to 2.111
see /usr/share/doc/packages/perl-IO-stringy/
-------------------------------------------------------------------
Mon Apr 15 10:51:34 UTC 2013 - idonmez@suse.com
- Add Source URL, see https://en.opensuse.org/SourceUrls
-------------------------------------------------------------------
Wed Feb 2 13:41:13 UTC 2011 - vcizek@novell.com
- bzipped source tarball
-------------------------------------------------------------------
Tue Nov 30 19:20:21 UTC 2010 - coolo@novell.com
- switch to perl_requires macro
-------------------------------------------------------------------
Mon Nov 29 18:30:18 UTC 2010 - coolo@novell.com
- remove /var/adm/perl-modules
-------------------------------------------------------------------
Tue Oct 19 08:38:42 UTC 2010 - coolo@novell.com
- add perl as explicit buildrequire
-------------------------------------------------------------------
Sun Jan 10 15:43:32 CET 2010 - jengelh@medozas.de
- enable parallel build
-------------------------------------------------------------------
Thu Jan 15 13:20:47 CET 2009 - anicka@suse.cz
- enable testsuite (bnc#465770)
-------------------------------------------------------------------
Wed Jan 25 21:39:46 CET 2006 - mls@suse.de
- converted neededforbuild to BuildRequires
-------------------------------------------------------------------
Fri Apr 15 11:26:13 CEST 2005 - schubi@suse.de
- update to 2.110
-------------------------------------------------------------------
Fri Feb 27 11:46:00 CET 2004 - choeger@suse.de
- update to most recent version 2.109
-------------------------------------------------------------------
Sun Jan 11 12:16:09 CET 2004 - adrian@suse.de
- add %defattr
-------------------------------------------------------------------
Fri Aug 22 15:02:02 CEST 2003 - mjancar@suse.cz
- require the perl version we build with
-------------------------------------------------------------------
Thu Jul 17 13:04:36 CEST 2003 - choeger@suse.de
- use install_vendor and new %perl_process_packlist macro
-------------------------------------------------------------------
Mon May 19 12:23:03 CEST 2003 - choeger@suse.de
- remove installed (but unpackaged) file perllocal.pod
-------------------------------------------------------------------
Thu Aug 8 18:44:50 CEST 2002 - mls@suse.de
- use sitearch macro
-------------------------------------------------------------------
Tue Jul 2 17:40:06 MEST 2002 - mls@suse.de
- remove race in .packlist generation
-------------------------------------------------------------------
Sun Jan 13 02:30:28 MET 2002 - link@suse.de
- update to v2.108
-------------------------------------------------------------------
Wed Nov 15 17:10:42 CET 2000 - choeger@suse.de
- long package name
- buildroot
-------------------------------------------------------------------
Wed Jul 19 09:25:29 MEST 2000 - choeger@suse.de
- first package, v1.212

74
perl-IO-stringy.spec Normal file
View File

@ -0,0 +1,74 @@
#
# spec file for package perl-IO-stringy
#
# 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
# upon. The license for this file, and modifications and additions to the
# file, is the same license as for the pristine package itself (unless the
# license for the pristine package is not an Open Source License, in which
# case the license is the MIT License). An "Open Source License" is a
# license that conforms to the Open Source Definition (Version 1.9)
# published by the Open Source Initiative.
# Please submit bugfixes or comments via https://bugs.opensuse.org/
#
Name: perl-IO-stringy
Version: 2.113
Release: 0
%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: 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
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}
%check
make test
%install
%perl_make_install
%perl_process_packlist
%perl_gen_filelist
%files -f %{name}.files
%defattr(-,root,root,755)
%doc Changes contrib examples README
%license COPYING LICENSE
%changelog