0f75c9
Summary:	I/O on in-core objects like strings and arrays for Perl
0f75c9
Name:		perl-IO-stringy
0f75c9
Version:	2.113
0f75c9
Release:	7%{?dist}
0f75c9
License:	GPL+ or Artistic
0f75c9
URL:		https://metacpan.org/release/IO-stringy
0f75c9
Source0:	https://cpan.metacpan.org/modules/by-module/IO/IO-Stringy-%{version}.tar.gz
0f75c9
BuildArch:	noarch
0f75c9
# Module Build
0f75c9
BuildRequires:	coreutils
0f75c9
BuildRequires:	findutils
0f75c9
BuildRequires:	make
0f75c9
BuildRequires:	perl-generators
0f75c9
BuildRequires:	perl-interpreter
0f75c9
BuildRequires:	perl(ExtUtils::MakeMaker)
0f75c9
# Module Runtime
0f75c9
BuildRequires:	perl(Carp)
0f75c9
BuildRequires:	perl(Exporter)
0f75c9
BuildRequires:	perl(FileHandle)
0f75c9
BuildRequires:	perl(IO::File)
0f75c9
BuildRequires:	perl(IO::Handle)
0f75c9
BuildRequires:	perl(overload)
0f75c9
BuildRequires:	perl(parent)
0f75c9
BuildRequires:	perl(strict)
0f75c9
BuildRequires:	perl(Symbol)
0f75c9
BuildRequires:	perl(vars)
0f75c9
BuildRequires:	perl(warnings)
0f75c9
# Test Suite
0f75c9
BuildRequires:	perl(File::Spec)
0f75c9
BuildRequires:	perl(File::Temp)
0f75c9
BuildRequires:	perl(Test::More) >= 0.88
0f75c9
# Optional Tests
0f75c9
BuildRequires:	perl(CPAN::Meta) >= 2.120900
0f75c9
BuildRequires:	perl(CPAN::Meta::Prereqs)
0f75c9
# Runtime
0f75c9
Requires:	perl(:MODULE_COMPAT_%(eval "`perl -V:version`"; echo $version))
0f75c9
0f75c9
# New upstream maintainer for 2.112 finally got the dist name right
0f75c9
Provides:	perl-IO-Stringy = %{version}-%{release}
0f75c9
0f75c9
# Avoid doc-file dependency on /usr/bin/perl
0f75c9
%{?perl_default_filter}
0f75c9
0f75c9
%description
0f75c9
This toolkit primarily provides modules for performing both traditional
0f75c9
and object-oriented I/O) on things *other* than normal filehandles; in
0f75c9
particular, IO::Scalar, IO::ScalarArray, and IO::Lines.
0f75c9
0f75c9
In the more-traditional IO::Handle front, we have IO::AtomicFile, which
0f75c9
may be used to painlessly create files that are updated atomically.
0f75c9
0f75c9
And in the "this-may-prove-useful" corner, we have IO::Wrap, whose
0f75c9
exported wraphandle() function will clothe anything that's not a blessed
0f75c9
object in an IO::Handle-like wrapper... so you can just use OO syntax
0f75c9
and stop worrying about whether your function's caller handed you a
0f75c9
string, a globref, or a FileHandle.
0f75c9
0f75c9
%prep
0f75c9
%setup -q -n IO-Stringy-%{version}
0f75c9
0f75c9
%build
0f75c9
perl Makefile.PL INSTALLDIRS=vendor
0f75c9
make %{?_smp_mflags}
0f75c9
0f75c9
%install
0f75c9
make pure_install DESTDIR=%{buildroot}
0f75c9
find %{buildroot} -type f -name .packlist -delete
0f75c9
%{_fixperms} -c %{buildroot}
0f75c9
0f75c9
%check
0f75c9
make test
0f75c9
0f75c9
%files
0f75c9
%if 0%{?_licensedir:1}
0f75c9
%license COPYING LICENSE
0f75c9
%else
0f75c9
%doc COPYING LICENSE
0f75c9
%endif
0f75c9
%doc Changes examples/ README
0f75c9
%{perl_vendorlib}/IO/
0f75c9
%{_mandir}/man3/IO::AtomicFile.3*
0f75c9
%{_mandir}/man3/IO::InnerFile.3*
0f75c9
%{_mandir}/man3/IO::Lines.3*
0f75c9
%{_mandir}/man3/IO::Scalar.3*
0f75c9
%{_mandir}/man3/IO::ScalarArray.3*
0f75c9
%{_mandir}/man3/IO::Stringy.3*
0f75c9
%{_mandir}/man3/IO::Wrap.3*
0f75c9
%{_mandir}/man3/IO::WrapTie.3*
0f75c9
0f75c9
%changelog
0f75c9
* Mon Aug 09 2021 Mohan Boddu <mboddu@redhat.com> - 2.113-7
0f75c9
- Rebuilt for IMA sigs, glibc 2.34, aarch64 flags
0f75c9
  Related: rhbz#1991688
0f75c9
0f75c9
* Fri Apr 16 2021 Mohan Boddu <mboddu@redhat.com> - 2.113-6
0f75c9
- Rebuilt for RHEL 9 BETA on Apr 15th 2021. Related: rhbz#1947937
0f75c9
0f75c9
* Wed Jan 27 2021 Fedora Release Engineering <releng@fedoraproject.org> - 2.113-5
0f75c9
- Rebuilt for https://fedoraproject.org/wiki/Fedora_34_Mass_Rebuild
0f75c9
0f75c9
* Tue Jul 28 2020 Fedora Release Engineering <releng@fedoraproject.org> - 2.113-4
0f75c9
- Rebuilt for https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild
0f75c9
0f75c9
* Mon Jun 22 2020 Jitka Plesnikova <jplesnik@redhat.com> - 2.113-3
0f75c9
- Perl 5.32 rebuild
0f75c9
0f75c9
* Thu Jan 30 2020 Fedora Release Engineering <releng@fedoraproject.org> - 2.113-2
0f75c9
- Rebuilt for https://fedoraproject.org/wiki/Fedora_32_Mass_Rebuild
0f75c9
0f75c9
* Fri Jan 17 2020 Paul Howarth <paul@city-fan.org> - 2.113-1
0f75c9
- Update to 2.113
0f75c9
  - Get rid of use of Common and TBone in all tests
0f75c9
  - Convert to Dist::Zilla for authoring
0f75c9
  - Cleaned up some of the docs (needs more)
0f75c9
0f75c9
* Sat Dec 14 2019 Paul Howarth <paul@city-fan.org> - 2.112-1
0f75c9
- Update to 2.112
0f75c9
  - Added the change log from any prior source that could be found, and
0f75c9
    formatted the log to fit metacpan.org loose standards
0f75c9
  - Change use vars qw() to our $whatever instead
0f75c9
  - Hide IO::WrapTie subclasses from PAUSE
0f75c9
  - Rebuild Makefile.PL to contain all of the prerequisites
0f75c9
  - Convert README to README.md
0f75c9
  - Fix the documentation in the main module, IO::Stringy to better indicate
0f75c9
    where to get info and how to use the module
0f75c9
  - Fix the dist's META information to indicate the original author and license
0f75c9
  - Add a LICENSE file
0f75c9
  - Add AppVeyor CI testing
0f75c9
  - Add Travis CI testing
0f75c9
  - Update t/IO_InnerFile.t to use Test::More and a proper TEMP file
0f75c9
    (CPAN RT#103895)
0f75c9
- Use author-independent source URL
0f75c9
- Simplify find command using -delete
0f75c9
- Add Provides: for perl-IO-Stringy
0f75c9
- Fix permissions verbosely
0f75c9
0f75c9
* Fri Jul 26 2019 Fedora Release Engineering <releng@fedoraproject.org> - 2.111-14
0f75c9
- Rebuilt for https://fedoraproject.org/wiki/Fedora_31_Mass_Rebuild
0f75c9
0f75c9
* Thu May 30 2019 Jitka Plesnikova <jplesnik@redhat.com> - 2.111-13
0f75c9
- Perl 5.30 rebuild
0f75c9
0f75c9
* Fri Feb 01 2019 Fedora Release Engineering <releng@fedoraproject.org> - 2.111-12
0f75c9
- Rebuilt for https://fedoraproject.org/wiki/Fedora_30_Mass_Rebuild
0f75c9
0f75c9
* Fri Jul 13 2018 Fedora Release Engineering <releng@fedoraproject.org> - 2.111-11
0f75c9
- Rebuilt for https://fedoraproject.org/wiki/Fedora_29_Mass_Rebuild
0f75c9
0f75c9
* Wed Jun 27 2018 Jitka Plesnikova <jplesnik@redhat.com> - 2.111-10
0f75c9
- Perl 5.28 rebuild
0f75c9
0f75c9
* Thu Feb 08 2018 Fedora Release Engineering <releng@fedoraproject.org> - 2.111-9
0f75c9
- Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild
0f75c9
0f75c9
* Thu Jul 27 2017 Fedora Release Engineering <releng@fedoraproject.org> - 2.111-8
0f75c9
- Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Mass_Rebuild
0f75c9
0f75c9
* Sun Jun 04 2017 Jitka Plesnikova <jplesnik@redhat.com> - 2.111-7
0f75c9
- Perl 5.26 rebuild
0f75c9
0f75c9
* Sat Feb 11 2017 Fedora Release Engineering <releng@fedoraproject.org> - 2.111-6
0f75c9
- Rebuilt for https://fedoraproject.org/wiki/Fedora_26_Mass_Rebuild
0f75c9
0f75c9
* Sat May 14 2016 Jitka Plesnikova <jplesnik@redhat.com> - 2.111-5
0f75c9
- Perl 5.24 rebuild
0f75c9
0f75c9
* Thu Feb 04 2016 Fedora Release Engineering <releng@fedoraproject.org> - 2.111-4
0f75c9
- Rebuilt for https://fedoraproject.org/wiki/Fedora_24_Mass_Rebuild
0f75c9
0f75c9
* Thu Jun 18 2015 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 2.111-3
0f75c9
- Rebuilt for https://fedoraproject.org/wiki/Fedora_23_Mass_Rebuild
0f75c9
0f75c9
* Wed Jun 03 2015 Jitka Plesnikova <jplesnik@redhat.com> - 2.111-2
0f75c9
- Perl 5.22 rebuild
0f75c9
0f75c9
* Thu Apr 23 2015 Paul Howarth <paul@city-fan.org> - 2.111-1
0f75c9
- Update to 2.111
0f75c9
  - Update maintainer's name, which is now Dianne Skoll
0f75c9
- Use %%license where possible
0f75c9
0f75c9
* Mon Jan 26 2015 Petr Pisar <ppisar@redhat.com> - 2.110-28
0f75c9
- Filter provides/requires from docdir
0f75c9
0f75c9
* Thu Jan 15 2015 Petr Pisar <ppisar@redhat.com> - 2.110-27
0f75c9
- Specify all dependencies
0f75c9
0f75c9
* Tue Aug 26 2014 Jitka Plesnikova <jplesnik@redhat.com> - 2.110-26
0f75c9
- Perl 5.20 rebuild
0f75c9
0f75c9
* Sat Jun 07 2014 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 2.110-25
0f75c9
- Rebuilt for https://fedoraproject.org/wiki/Fedora_21_Mass_Rebuild
0f75c9
0f75c9
* Sat Aug 03 2013 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 2.110-24
0f75c9
- Rebuilt for https://fedoraproject.org/wiki/Fedora_20_Mass_Rebuild
0f75c9
0f75c9
* Thu Jul 18 2013 Petr Pisar <ppisar@redhat.com> - 2.110-23
0f75c9
- Perl 5.18 rebuild
0f75c9
0f75c9
* Thu Feb 14 2013 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 2.110-22
0f75c9
- Rebuilt for https://fedoraproject.org/wiki/Fedora_19_Mass_Rebuild
0f75c9
0f75c9
* Thu Nov 15 2012 Petr Šabata <contyk@redhat.com> - 2.110-21
0f75c9
- BuildRequire perl(lib)
0f75c9
0f75c9
* Fri Jul 20 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 2.110-20
0f75c9
- Rebuilt for https://fedoraproject.org/wiki/Fedora_18_Mass_Rebuild
0f75c9
0f75c9
* Mon Jun 11 2012 Petr Pisar <ppisar@redhat.com> - 2.110-19
0f75c9
- Perl 5.16 rebuild
0f75c9
0f75c9
* Fri Apr  6 2012 Paul Howarth <paul@city-fan.org> 2.110-18
0f75c9
- don't build-require modules that this package provides (problem stupidly
0f75c9
  introduced in previous release)
0f75c9
- don't need to remove empty directories from buildroot
0f75c9
- drop %%defattr, redundant since rpm 4.4
0f75c9
0f75c9
* Thu Jan 12 2012 Paul Howarth <paul@city-fan.org> 2.110-17
0f75c9
- spec clean-up:
0f75c9
  - nobody else likes macros for commands
0f75c9
  - use DESTDIR rather than PERL_INSTALL_ROOT
0f75c9
  - add buildreqs for core perl modules, which may be dual-lived
0f75c9
0f75c9
* Fri Jun 17 2011 Marcela Mašláňová <mmaslano@redhat.com> 2.110-16
0f75c9
- perl mass rebuild
0f75c9
0f75c9
* Tue Feb  8 2011 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> 2.110-15
0f75c9
- rebuilt for https://fedoraproject.org/wiki/Fedora_15_Mass_Rebuild
0f75c9
0f75c9
* Mon Dec 20 2010 Marcela Maslanova <mmaslano@redhat.com> 2.110-14
0f75c9
- rebuild to fix problems with vendorarch/lib (#661697)
0f75c9
0f75c9
* Sun May  2 2010 Marcela Maslanova <mmaslano@redhat.com> 2.110-13
0f75c9
- mass rebuild with perl-5.12.0
0f75c9
0f75c9
* Fri Jan 15 2010 Paul Howarth <paul@city-fan.org> 2.110-12
0f75c9
- spec cleanups (see also merge review #552564)
0f75c9
0f75c9
* Sun Dec 20 2009 Robert Scheck <robert@fedoraproject.org> 2.110-11
0f75c9
- rebuilt against perl 5.10.1
0f75c9
0f75c9
* Sat Jul 25 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> 2.110-10
0f75c9
- rebuilt for https://fedoraproject.org/wiki/Fedora_12_Mass_Rebuild
0f75c9
0f75c9
* Thu Feb 26 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> 2.110-9
0f75c9
- rebuilt for https://fedoraproject.org/wiki/Fedora_11_Mass_Rebuild
0f75c9
0f75c9
* Wed Feb 27 2008 Tom "spot" Callaway <tcallawa@redhat.com> 2.110-8
0f75c9
- rebuild for perl 5.10 (again)
0f75c9
0f75c9
* Tue Jan 15 2008 Tom "spot" Callaway <tcallawa@redhat.com> 2.110-7
0f75c9
- rebuild for new perl
0f75c9
0f75c9
* Mon Aug 13 2007 Paul Howarth <paul@city-fan.org> 2.110-6
0f75c9
- clarify license as GPL v1 or later, or Artistic (same as perl)
0f75c9
0f75c9
* Wed Apr 18 2007 Paul Howarth <paul@city-fan.org> 2.110-5
0f75c9
- buildrequire perl(ExtUtils::MakeMaker)
0f75c9
0f75c9
* Sun Sep 17 2006 Paul Howarth <paul@city-fan.org> 2.110-4
0f75c9
- add dist tag
0f75c9
- fix argument order in find command with -depth
0f75c9
0f75c9
* Tue Aug 29 2006 Paul Howarth <paul@city-fan.org> 2.110-3
0f75c9
- use search.cpan.org download URL
0f75c9
- use full paths for all commands used in build
0f75c9
- assume rpm knows about %%check and %%{perl_vendorlib}
0f75c9
- cosmetic spec file changes
0f75c9
0f75c9
* Wed Apr 06 2005 Michael Schwendt <mschwendt[AT]users.sf.net>
0f75c9
- rebuilt
0f75c9
0f75c9
* Tue Feb 15 2005 Ville Skyttä <ville.skytta at iki.fi> 2.110-1
0f75c9
- 2.110
0f75c9
- some specfile cleanups, bringing it closer to spectemplate-perl.spec
0f75c9
0f75c9
* Wed Dec 31 2003 Ville Skyttä <ville.skytta at iki.fi> 2.109-0.fdr.1
0f75c9
- update to 2.109
0f75c9
0f75c9
* Thu Oct  2 2003 Michael Schwendt <rh0212ms[AT]arcor.de> 2.108-0.fdr.4
0f75c9
- package is now using vendor directories
0f75c9
0f75c9
* Sat Aug 16 2003 Dams <anvil[AT]livna.org> 2.108-0.fdr.3
0f75c9
- package is now noarch
0f75c9
- rm-ing perllocal.pod instead of excluding it
0f75c9
0f75c9
* Fri Jul 11 2003 Dams <anvil[AT]livna.org> 2.108-0.fdr.2
0f75c9
- changed Group tag value
0f75c9
- "make test" in build section
0f75c9
- added missing directory
0f75c9
0f75c9
* Sun Jun 15 2003 Dams <anvil[AT]livna.org> 2.108-0.fdr.1
0f75c9
- initial build