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
epel9
Paul Howarth 11 years ago
parent d1e7e5c4a3
commit 8b1f3e96fb

3
.gitignore vendored

@ -1,2 +1 @@
Test-File-Contents-0.05.tar.gz /Test-File-Contents-[0-9.]*.tar.gz
/Test-File-Contents-0.20.tar.gz

@ -1,21 +1,27 @@
Name: perl-Test-File-Contents Name: perl-Test-File-Contents
Version: 0.20 Version: 0.21
Release: 6%{?dist} Release: 1%{?dist}
Summary: Test routines for examining the contents of files Summary: Test routines for examining the contents of files
License: GPL+ or Artistic License: GPL+ or Artistic
Group: Development/Libraries Group: Development/Libraries
URL: http://search.cpan.org/dist/Test-File-Contents/ 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 Source0: http://www.cpan.org/authors/id/D/DW/DWHEELER/Test-File-Contents-%{version}.tar.gz
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(id -nu)
BuildArch: noarch BuildArch: noarch
BuildRequires: perl(Digest::MD5)
BuildRequires: perl(Exporter)
BuildRequires: perl(File::Spec)
BuildRequires: perl(Module::Build) BuildRequires: perl(Module::Build)
BuildRequires: perl(strict)
BuildRequires: perl(Test::Builder) >= 0.70
BuildRequires: perl(Test::Builder::Tester) BuildRequires: perl(Test::Builder::Tester)
BuildRequires: perl(Test::Builder::Tester::Color)
BuildRequires: perl(Test::More) BuildRequires: perl(Test::More)
BuildRequires: perl(Test::Pod) BuildRequires: perl(Test::Pod) >= 1.41
BuildRequires: perl(Test::Pod::Coverage) BuildRequires: perl(Test::Pod::Coverage) >= 1.06
BuildRequires: perl(Text::Diff) BuildRequires: perl(Text::Diff) >= 0.35
BuildRequires: perl(Digest::MD5) BuildRequires: perl(warnings)
Requires: perl(:MODULE_COMPAT_%(eval "`%{__perl} -V:version`"; echo $version)) Requires: perl(:MODULE_COMPAT_%(eval "`perl -V:version`"; echo $version))
%description %description
Test routines for examining the contents of files. 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} %setup -q -n Test-File-Contents-%{version}
%build %build
%{__perl} Build.PL installdirs=vendor perl Build.PL installdirs=vendor
./Build ./Build
%install %install
rm -rf $RPM_BUILD_ROOT rm -rf $RPM_BUILD_ROOT
./Build install destdir=$RPM_BUILD_ROOT create_packlist=0 ./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 %check
./Build test ./Build test
@ -42,12 +45,23 @@ find $RPM_BUILD_ROOT -depth -type d -exec rmdir {} 2>/dev/null \;
rm -rf $RPM_BUILD_ROOT rm -rf $RPM_BUILD_ROOT
%files %files
%defattr(-,root,root,-) %doc Changes README.md
%doc Changes %{perl_vendorlib}/Test/
%{perl_vendorlib}/* %{_mandir}/man3/Test::File::Contents.3pm*
%{_mandir}/man3/*
%changelog %changelog
* Mon Oct 21 2013 Paul Howarth <paul@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@lists.fedoraproject.org> - 0.20-6 * Sun Aug 04 2013 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.20-6
- Rebuilt for https://fedoraproject.org/wiki/Fedora_20_Mass_Rebuild - 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 - Rebuilt for https://fedoraproject.org/wiki/Fedora_15_Mass_Rebuild
* Wed Dec 22 2010 Marcela Maslanova <mmaslano@redhat.com> - 0.05-7 * Wed Dec 22 2010 Marcela Maslanova <mmaslano@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@redhat.com> - 0.05-6 * Thu May 06 2010 Marcela Maslanova <mmaslano@redhat.com> - 0.05-6
- Mass rebuild with perl-5.12.0 - 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 - Rebuilt for https://fedoraproject.org/wiki/Fedora_11_Mass_Rebuild
* Thu Mar 06 2008 Tom "spot" Callaway <tcallawa@redhat.com> - 0.05-2 * Thu Mar 06 2008 Tom "spot" Callaway <tcallawa@redhat.com> - 0.05-2
Rebuild for new perl - Rebuild for new perl
* Mon Jul 16 2007 Steven Pritchard <steve@kspei.com> 0.05-1 * Mon Jul 16 2007 Steven Pritchard <steve@kspei.com> 0.05-1
- Specfile autogenerated by cpanspec 1.71. - Specfile autogenerated by cpanspec 1.71.

@ -1 +1 @@
b4ed786c03ca5ccaf694b41a1e98d85f Test-File-Contents-0.20.tar.gz ba3abe6143d1055ccb81d741a481a190 Test-File-Contents-0.21.tar.gz

Loading…
Cancel
Save