Blame SPECS/perl-Data-Section.spec

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