Blame SPECS/perl-Data-Section.spec

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