From 0cf2f0abd9f170e4d6b49c0ad0ba20cb9b835963 Mon Sep 17 00:00:00 2001
From: Paul Howarth <[email protected]>
Date: Fri, 7 Jul 2017 21:57:07 +0100
Subject: 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
---
perl-Data-Section.spec | 43 ++++++++++++++++++++++++++++++++-----------
sources | 2 +-
2 files changed, 33 insertions(+), 12 deletions(-)
diff --git a/perl-Data-Section.spec b/perl-Data-Section.spec
index 5e06aed..3cd78c9 100644
--- a/perl-Data-Section.spec
+++ b/perl-Data-Section.spec
@@ -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 <[email protected]> - 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 <[email protected]> - 0.200006-9
- Perl 5.26 rebuild
diff --git a/sources b/sources
index a8279d3..0bb9343 100644
--- a/sources
+++ b/sources
@@ -1 +1 @@
-7ba2d5e35e54eb46e66f7706e9fa620a Data-Section-0.200006.tar.gz
+SHA512 (Data-Section-0.200007.tar.gz) =
0c23141ccc2041e8c1c222c95d6eab4b56e2d77a94c68507f67acbb62fa5132e9229e9680c9fff6ebbc6a47a42cf1943d6e5b50a5f0168c66193fb52aaa241f0
--
cgit v1.1
https://src.fedoraproject.org/cgit/perl-Data-Section.git/commit/?h=master&id=0cf2f0abd9f170e4d6b49c0ad0ba20cb9b835963
_______________________________________________
perl-devel mailing list -- [email protected]
To unsubscribe send an email to [email protected]