[perl-Test-File-Contents] Update to 0.21
Paul Howarth
pghmcfc at fedoraproject.org
Mon Oct 21 12:43:29 UTC 2013
commit 8b1f3e96fb5bf261ba6d04781433977ad43971f9
Author: Paul Howarth <paul at city-fan.org>
Date: Mon Oct 21 13:42:59 2013 +0100
Update to 0.21
- New upstream release 0.21
- Require Test::Pod 1.41 for Pod tests, fixing test failures due to the use
of the 'L<text|scheme>' Pod syntax disallowed in earlier versions
- Eliminated "v-string in use/require non-portable" warning on Perl 5.10.0
- This release by DWHEELER -> update source URL
- Don't need to remove empty directories from the buildroot
- Specify all dependencies
- Drop %defattr, redundant since rpm 4.4
- Make %files list more explicit
- Package README.md
.gitignore | 3 +-
perl-Test-File-Contents.spec | 54 ++++++++++++++++++++++++++---------------
sources | 2 +-
3 files changed, 36 insertions(+), 23 deletions(-)
---
diff --git a/.gitignore b/.gitignore
index e3bc640..d80c88b 100644
--- a/.gitignore
+++ b/.gitignore
@@ -1,2 +1 @@
-Test-File-Contents-0.05.tar.gz
-/Test-File-Contents-0.20.tar.gz
+/Test-File-Contents-[0-9.]*.tar.gz
diff --git a/perl-Test-File-Contents.spec b/perl-Test-File-Contents.spec
index 4d5fa4e..14072ed 100644
--- a/perl-Test-File-Contents.spec
+++ b/perl-Test-File-Contents.spec
@@ -1,21 +1,27 @@
Name: perl-Test-File-Contents
-Version: 0.20
-Release: 6%{?dist}
+Version: 0.21
+Release: 1%{?dist}
Summary: Test routines for examining the contents of files
License: GPL+ or Artistic
Group: Development/Libraries
URL: http://search.cpan.org/dist/Test-File-Contents/
-Source0: http://www.cpan.org/authors/id/S/SK/SKUD/Test-File-Contents-%{version}.tar.gz
-BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
+Source0: http://www.cpan.org/authors/id/D/DW/DWHEELER/Test-File-Contents-%{version}.tar.gz
+BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(id -nu)
BuildArch: noarch
+BuildRequires: perl(Digest::MD5)
+BuildRequires: perl(Exporter)
+BuildRequires: perl(File::Spec)
BuildRequires: perl(Module::Build)
+BuildRequires: perl(strict)
+BuildRequires: perl(Test::Builder) >= 0.70
BuildRequires: perl(Test::Builder::Tester)
+BuildRequires: perl(Test::Builder::Tester::Color)
BuildRequires: perl(Test::More)
-BuildRequires: perl(Test::Pod)
-BuildRequires: perl(Test::Pod::Coverage)
-BuildRequires: perl(Text::Diff)
-BuildRequires: perl(Digest::MD5)
-Requires: perl(:MODULE_COMPAT_%(eval "`%{__perl} -V:version`"; echo $version))
+BuildRequires: perl(Test::Pod) >= 1.41
+BuildRequires: perl(Test::Pod::Coverage) >= 1.06
+BuildRequires: perl(Text::Diff) >= 0.35
+BuildRequires: perl(warnings)
+Requires: perl(:MODULE_COMPAT_%(eval "`perl -V:version`"; echo $version))
%description
Test routines for examining the contents of files.
@@ -24,16 +30,13 @@ Test routines for examining the contents of files.
%setup -q -n Test-File-Contents-%{version}
%build
-%{__perl} Build.PL installdirs=vendor
+perl Build.PL installdirs=vendor
./Build
%install
rm -rf $RPM_BUILD_ROOT
-
./Build install destdir=$RPM_BUILD_ROOT create_packlist=0
-find $RPM_BUILD_ROOT -depth -type d -exec rmdir {} 2>/dev/null \;
-
-%{_fixperms} $RPM_BUILD_ROOT/*
+%{_fixperms} $RPM_BUILD_ROOT
%check
./Build test
@@ -42,12 +45,23 @@ find $RPM_BUILD_ROOT -depth -type d -exec rmdir {} 2>/dev/null \;
rm -rf $RPM_BUILD_ROOT
%files
-%defattr(-,root,root,-)
-%doc Changes
-%{perl_vendorlib}/*
-%{_mandir}/man3/*
+%doc Changes README.md
+%{perl_vendorlib}/Test/
+%{_mandir}/man3/Test::File::Contents.3pm*
%changelog
+* Mon Oct 21 2013 Paul Howarth <paul at city-fan.org> - 0.21-1
+- Update to 0.21
+ - Require Test::Pod 1.41 for Pod tests, fixing test failures due to the use
+ of the 'L<text|scheme>' Pod syntax disallowed in earlier versions
+ - Eliminated "v-string in use/require non-portable" warning on Perl 5.10.0
+- This release by DWHEELER -> update source URL
+- Don't need to remove empty directories from the buildroot
+- Specify all dependencies
+- Drop %%defattr, redundant since rpm 4.4
+- Make %%files list more explicit
+- Package README.md
+
* Sun Aug 04 2013 Fedora Release Engineering <rel-eng at lists.fedoraproject.org> - 0.20-6
- Rebuilt for https://fedoraproject.org/wiki/Fedora_20_Mass_Rebuild
@@ -76,7 +90,7 @@ rm -rf $RPM_BUILD_ROOT
- Rebuilt for https://fedoraproject.org/wiki/Fedora_15_Mass_Rebuild
* Wed Dec 22 2010 Marcela Maslanova <mmaslano at redhat.com> - 0.05-7
-- 661697 rebuild for fixing problems with vendorach/lib
+- Rebuild to fix problems with vendorarch/lib (#661697)
* Thu May 06 2010 Marcela Maslanova <mmaslano at redhat.com> - 0.05-6
- Mass rebuild with perl-5.12.0
@@ -91,7 +105,7 @@ rm -rf $RPM_BUILD_ROOT
- Rebuilt for https://fedoraproject.org/wiki/Fedora_11_Mass_Rebuild
* Thu Mar 06 2008 Tom "spot" Callaway <tcallawa at redhat.com> - 0.05-2
-Rebuild for new perl
+- Rebuild for new perl
* Mon Jul 16 2007 Steven Pritchard <steve at kspei.com> 0.05-1
- Specfile autogenerated by cpanspec 1.71.
diff --git a/sources b/sources
index 30cf968..33dbb38 100644
--- a/sources
+++ b/sources
@@ -1 +1 @@
-b4ed786c03ca5ccaf694b41a1e98d85f Test-File-Contents-0.20.tar.gz
+ba3abe6143d1055ccb81d741a481a190 Test-File-Contents-0.21.tar.gz
More information about the perl-devel
mailing list