You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
114 lines
4.0 KiB
114 lines
4.0 KiB
Name: perl-Test-File-Contents
|
|
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/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) >= 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.
|
|
|
|
%prep
|
|
%setup -q -n Test-File-Contents-%{version}
|
|
|
|
%build
|
|
perl Build.PL installdirs=vendor
|
|
./Build
|
|
|
|
%install
|
|
rm -rf $RPM_BUILD_ROOT
|
|
./Build install destdir=$RPM_BUILD_ROOT create_packlist=0
|
|
%{_fixperms} $RPM_BUILD_ROOT
|
|
|
|
%check
|
|
./Build test
|
|
|
|
%clean
|
|
rm -rf $RPM_BUILD_ROOT
|
|
|
|
%files
|
|
%doc Changes README.md
|
|
%{perl_vendorlib}/Test/
|
|
%{_mandir}/man3/Test::File::Contents.3pm*
|
|
|
|
%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
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_20_Mass_Rebuild
|
|
|
|
* Fri Jul 19 2013 Petr Pisar <ppisar@redhat.com> - 0.20-5
|
|
- Perl 5.18 rebuild
|
|
|
|
* Thu Feb 14 2013 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.20-4
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_19_Mass_Rebuild
|
|
|
|
* Fri Jul 20 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.20-3
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_18_Mass_Rebuild
|
|
|
|
* Tue Jun 12 2012 Petr Pisar <ppisar@redhat.com> - 0.20-2
|
|
- Perl 5.16 rebuild
|
|
|
|
* Thu Mar 22 2012 Tom Callaway <spot@fedoraproject.org> - 0.20-1
|
|
- update to 0.20
|
|
|
|
* Fri Jan 13 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.05-10
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_17_Mass_Rebuild
|
|
|
|
* Mon Jun 20 2011 Marcela Mašláňová <mmaslano@redhat.com> - 0.05-9
|
|
- Perl mass rebuild
|
|
|
|
* Wed Feb 09 2011 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.05-8
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_15_Mass_Rebuild
|
|
|
|
* Wed Dec 22 2010 Marcela Maslanova <mmaslano@redhat.com> - 0.05-7
|
|
- Rebuild to fix problems with vendorarch/lib (#661697)
|
|
|
|
* Thu May 06 2010 Marcela Maslanova <mmaslano@redhat.com> - 0.05-6
|
|
- Mass rebuild with perl-5.12.0
|
|
|
|
* Fri Dec 4 2009 Stepan Kasal <skasal@redhat.com> - 0.05-5
|
|
- rebuild against perl 5.10.1
|
|
|
|
* Sun Jul 26 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.05-4
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_12_Mass_Rebuild
|
|
|
|
* Thu Feb 26 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.05-3
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_11_Mass_Rebuild
|
|
|
|
* Thu Mar 06 2008 Tom "spot" Callaway <tcallawa@redhat.com> - 0.05-2
|
|
- Rebuild for new perl
|
|
|
|
* Mon Jul 16 2007 Steven Pritchard <steve@kspei.com> 0.05-1
|
|
- Specfile autogenerated by cpanspec 1.71.
|
|
- BR Test::Builder::Tester, Test::More, Test::Pod, and Test::Pod::Coverage.
|
|
- Improve Summary and description.
|