918fff
Name:           perl-Data-Section
918fff
Version:        0.200006
e28226
Release:        9%{?dist}
918fff
Summary:        Read multiple hunks of data out of your DATA section
918fff
License:        GPL+ or Artistic
918fff
Group:          Development/Libraries
918fff
URL:            http://search.cpan.org/dist/Data-Section/
918fff
Source0:        http://www.cpan.org/authors/id/R/RJ/RJBS/Data-Section-%{version}.tar.gz
918fff
BuildArch:      noarch
918fff
BuildRequires:  perl-generators
918fff
BuildRequires:  perl(base)
918fff
BuildRequires:  perl(Encode)
918fff
BuildRequires:  perl(ExtUtils::MakeMaker) >= 6.30
918fff
BuildRequires:  perl(lib)
918fff
BuildRequires:  perl(MRO::Compat) >= 0.09
918fff
BuildRequires:  perl(Sub::Exporter) >= 0.979
918fff
BuildRequires:  perl(Test::FailWarnings)
918fff
BuildRequires:  perl(Test::More) >= 0.96
918fff
BuildRequires:  perl(Test::Pod)
918fff
BuildRequires:  perl(utf8)
918fff
Requires:       perl(:MODULE_COMPAT_%(eval "`perl -V:version`"; echo $version))
918fff
918fff
%description
918fff
Data::Section provides an easy way to access multiple named chunks of
918fff
line-oriented data in your module's DATA section. It was written to allow
918fff
modules to store their own templates, but probably has other uses.
918fff
918fff
%prep
918fff
%setup -q -n Data-Section-%{version}
918fff
918fff
%build
918fff
perl Makefile.PL INSTALLDIRS=vendor
918fff
make %{?_smp_mflags}
918fff
918fff
%install
918fff
make pure_install DESTDIR=$RPM_BUILD_ROOT
918fff
find $RPM_BUILD_ROOT -type f -name .packlist -exec rm -f {} \;
918fff
%{_fixperms} $RPM_BUILD_ROOT
918fff
918fff
%check
918fff
make test
918fff
make test TEST_FILES="$(echo $(find xt/ -name '*.t'))"
918fff
918fff
%files
918fff
%doc Changes LICENSE README
918fff
%{perl_vendorlib}/Data/
918fff
%{_mandir}/man3/Data::Section.3pm*
918fff
918fff
%changelog
e28226
* Fri Mar 29 2019 Jitka Plesnikova <jplesnik@redhat.com> - 0.200006-9
e28226
- Rebuild with enable hardening (bug #1636329)
e28226
918fff
* Sat Feb 11 2017 Fedora Release Engineering <releng@fedoraproject.org> - 0.200006-8
918fff
- Rebuilt for https://fedoraproject.org/wiki/Fedora_26_Mass_Rebuild
918fff
918fff
* Sun May 15 2016 Jitka Plesnikova <jplesnik@redhat.com> - 0.200006-7
918fff
- Perl 5.24 rebuild
918fff
918fff
* Thu Feb 04 2016 Fedora Release Engineering <releng@fedoraproject.org> - 0.200006-6
918fff
- Rebuilt for https://fedoraproject.org/wiki/Fedora_24_Mass_Rebuild
918fff
918fff
* Thu Jun 18 2015 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.200006-5
918fff
- Rebuilt for https://fedoraproject.org/wiki/Fedora_23_Mass_Rebuild
918fff
918fff
* Fri Jun 05 2015 Jitka Plesnikova <jplesnik@redhat.com> - 0.200006-4
918fff
- Perl 5.22 rebuild
918fff
918fff
* Thu Aug 28 2014 Jitka Plesnikova <jplesnik@redhat.com> - 0.200006-3
918fff
- Perl 5.20 rebuild
918fff
918fff
* Sat Jun 07 2014 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.200006-2
918fff
- Rebuilt for https://fedoraproject.org/wiki/Fedora_21_Mass_Rebuild
918fff
918fff
* Mon Mar 10 2014 Paul Howarth <paul@city-fan.org> - 0.200006-1
918fff
- Update to 0.200006
918fff
  - Skip tests on Win32 pre-5.14 related to line endings; perl munges the data
918fff
    before we're able to get at it
918fff
918fff
* Wed Dec 11 2013 Paul Howarth <paul@city-fan.org> - 0.200005-1
918fff
- Update to 0.200005
918fff
  - Open DATA handles both :raw and :bytes to avoid content munging on Win32
918fff
  - This is not yet a perfect solution for Win32
918fff
918fff
* Mon Dec  2 2013 Paul Howarth <paul@city-fan.org> - 0.200004-1
918fff
- Update to 0.200004
918fff
  - Avoid confusion between \n, \x0d\x0a, and Win32
918fff
918fff
* Mon Nov  4 2013 Paul Howarth <paul@city-fan.org> - 0.200003-1
918fff
- Update to 0.200003
918fff
  [THIS MIGHT BREAK STUFF]
918fff
  - Add an "encoding" parameter to set encoding of data section contents; this
918fff
    defaults to UTF-8
918fff
- Drop support for old distributions as we now need Test::FailWarnings, which
918fff
  isn't available there
918fff
918fff
* Sat Aug 03 2013 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.101622-3
918fff
- Rebuilt for https://fedoraproject.org/wiki/Fedora_20_Mass_Rebuild
918fff
918fff
* Sun Jul 21 2013 Petr Pisar <ppisar@redhat.com> - 0.101622-2
918fff
- Perl 5.18 rebuild
918fff
918fff
* Thu Jun 20 2013 Paul Howarth <paul@city-fan.org> - 0.101622-1
918fff
- Update to 0.101622
918fff
  - Add a link to an Advent article about Data-Section
918fff
  - Update bugtracker, repo, etc.
918fff
- Run the release tests separately
918fff
- BR: perl(base), perl(File::Find), perl(File::Temp) and perl(lib) for the test
918fff
  suite
918fff
- Drop BR: perl(Pod::Coverage::TrustPod) and perl(Test::Pod::Coverage) as
918fff
  upstream has dropped their Pod coverage test
918fff
- Update patch for building with old Test::More versions
918fff
918fff
* Thu Feb 14 2013 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.101621-5
918fff
- Rebuilt for https://fedoraproject.org/wiki/Fedora_19_Mass_Rebuild
918fff
918fff
* Fri Jul 20 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.101621-4
918fff
- Rebuilt for https://fedoraproject.org/wiki/Fedora_18_Mass_Rebuild
918fff
918fff
* Thu Jun 14 2012 Petr Pisar <ppisar@redhat.com> - 0.101621-3
918fff
- Perl 5.16 rebuild
918fff
918fff
* Wed Mar  7 2012 Paul Howarth <paul@city-fan.org> - 0.101621-2
918fff
- Add test suite patch to support building with Test::More < 0.88 so that we
918fff
  can build for EPEL-5, only applying the patch when necessary
918fff
- BR: at least version 0.09 of perl(MRO::Compat)
918fff
- BR: perl(Pod::Coverage::TrustPod), perl(Test::Pod) and
918fff
  perl(Test::Pod::Coverage) for full test coverage
918fff
- Run the release tests too
918fff
- Drop redundant explicit versioned dependency on perl(Sub::Exporter)
918fff
- Don't need to remove empty directories from buildroot
918fff
- Don't use macros for commands
918fff
- Use DESTDIR rather than PERL_INSTALL_ROOT
918fff
- Drop %%defattr, redundant since rpm 4.4
918fff
- Make %%files list more explicit
918fff
918fff
* Mon Jan 30 2012 Daniel P. Berrange <berrange@redhat.com> - 0.101621-1
918fff
- Update to 0.101621 release (rhbz #785362)
918fff
918fff
* Fri Jan 13 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.101620-6
918fff
- Rebuilt for https://fedoraproject.org/wiki/Fedora_17_Mass_Rebuild
918fff
918fff
* Wed Jun 29 2011 Marcela Mašláňová <mmaslano@redhat.com> - 0.101620-5
918fff
- Perl mass rebuild
918fff
918fff
* Tue Feb 08 2011 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.101620-4
918fff
- Rebuilt for https://fedoraproject.org/wiki/Fedora_15_Mass_Rebuild
918fff
918fff
* Thu Dec 16 2010 Marcela Maslanova <mmaslano@redhat.com> - 0.101620-3
918fff
- 661697 rebuild for fixing problems with vendorach/lib
918fff
918fff
* Wed Jun 30 2010 Mark Chappell <tremble@fedoraproject.org> - 0.101620-2
918fff
- Add in missing BuildRequires MRO::Compat
918fff
918fff
* Wed Jun 30 2010 Mark Chappell <tremble@fedoraproject.org> - 0.101620-1
918fff
- Update for release 0.101620
918fff
918fff
* Fri Apr 30 2010 Marcela Maslanova <mmaslano@redhat.com> - 0.093410-3
918fff
- Mass rebuild with perl-5.12.0
918fff
918fff
* Tue Jan 12 2010 Daniel P. Berrange <berrange@redhat.com> - 0.093410-2
918fff
- Fix source URL
918fff
918fff
* Thu Jan  7 2010 Daniel P. Berrange <berrange@redhat.com> - 0.093410-1
918fff
- Update to 0.093410 release
918fff
918fff
* Mon Dec  7 2009 Stepan Kasal <skasal@redhat.com> - 0.091820-3
918fff
- rebuild against perl 5.10.1
918fff
918fff
* Sat Jul 25 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.091820-2
918fff
- Rebuilt for https://fedoraproject.org/wiki/Fedora_12_Mass_Rebuild
918fff
918fff
* Wed Jul 22 2009 Daniel P. Berrange <berrange@redhat.com> - 0.091820-1
918fff
- Update to 0.091820 release
918fff
918fff
* Thu Feb 26 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.005-3
918fff
- Rebuilt for https://fedoraproject.org/wiki/Fedora_11_Mass_Rebuild
918fff
918fff
* Sat Sep 06 2008 Daniel P. Berrange <berrange@redhat.com> 0.005-2
918fff
- Add Test::More BR
918fff
918fff
* Fri Sep 05 2008 Daniel P. Berrange <berrange@redhat.com> 0.005-1
918fff
- Specfile autogenerated by cpanspec 1.77.