Update to 0.200007

- New upstream release 0.200007
  - Rename the test library "Parent.pm" to "Mother.pm" to avoid conflict with
    core "parent.pm" on case-insensitive systems
- Drop legacy Group: tag
- Simplify find command using -delete
- Classify buildreqs by usage
This commit is contained in:
Paul Howarth 2017-07-07 21:57:07 +01:00
parent 5e0d3893b0
commit 0cf2f0abd9
2 changed files with 33 additions and 12 deletions

View File

@ -1,23 +1,35 @@
Name: perl-Data-Section
Version: 0.200006
Release: 9%{?dist}
Version: 0.200007
Release: 1%{?dist}
Summary: Read multiple hunks of data out of your DATA section
License: GPL+ or Artistic
Group: Development/Libraries
URL: http://search.cpan.org/dist/Data-Section/
Source0: http://www.cpan.org/authors/id/R/RJ/RJBS/Data-Section-%{version}.tar.gz
BuildArch: noarch
# Build
BuildRequires: coreutils
BuildRequires: findutils
BuildRequires: make
BuildRequires: perl
BuildRequires: perl-generators
BuildRequires: perl(base)
BuildRequires: perl(ExtUtils::MakeMaker)
# Runtime
BuildRequires: perl(Encode)
BuildRequires: perl(ExtUtils::MakeMaker) >= 6.30
BuildRequires: perl(lib)
BuildRequires: perl(MRO::Compat) >= 0.09
BuildRequires: perl(strict)
BuildRequires: perl(Sub::Exporter) >= 0.979
BuildRequires: perl(warnings)
# Test Suite
BuildRequires: perl(base)
BuildRequires: perl(lib)
BuildRequires: perl(Test::FailWarnings)
BuildRequires: perl(Test::More) >= 0.96
BuildRequires: perl(Test::Pod)
BuildRequires: perl(utf8)
# Optional Tests
BuildRequires: perl(CPAN::Meta) >= 2.120900
# Extra Tests
BuildRequires: perl(Test::Pod) >= 1.41
# Dependencies
Requires: perl(:MODULE_COMPAT_%(eval "`perl -V:version`"; echo $version))
%description
@ -34,19 +46,28 @@ make %{?_smp_mflags}
%install
make pure_install DESTDIR=$RPM_BUILD_ROOT
find $RPM_BUILD_ROOT -type f -name .packlist -exec rm -f {} \;
%{_fixperms} $RPM_BUILD_ROOT
find $RPM_BUILD_ROOT -type f -name .packlist -delete
%{_fixperms} -c $RPM_BUILD_ROOT
%check
make test
make test TEST_FILES="$(echo $(find xt/ -name '*.t'))"
%files
%doc Changes LICENSE README
%license LICENSE
%doc Changes README
%{perl_vendorlib}/Data/
%{_mandir}/man3/Data::Section.3pm*
%{_mandir}/man3/Data::Section.3*
%changelog
* Fri Jul 7 2017 Paul Howarth <paul@city-fan.org> - 0.200007-1
- Update to 0.200007
- Rename the test library "Parent.pm" to "Mother.pm" to avoid conflict with
core "parent.pm" on case-insensitive systems
- Drop legacy Group: tag
- Simplify find command using -delete
- Classify buildreqs by usage
* Sun Jun 04 2017 Jitka Plesnikova <jplesnik@redhat.com> - 0.200006-9
- Perl 5.26 rebuild

View File

@ -1 +1 @@
7ba2d5e35e54eb46e66f7706e9fa620a Data-Section-0.200006.tar.gz
SHA512 (Data-Section-0.200007.tar.gz) = 0c23141ccc2041e8c1c222c95d6eab4b56e2d77a94c68507f67acbb62fa5132e9229e9680c9fff6ebbc6a47a42cf1943d6e5b50a5f0168c66193fb52aaa241f0