|
|
|
@ -1,27 +1,33 @@
|
|
|
|
|
Name: perl-Test-File-Contents
|
|
|
|
|
Version: 0.21
|
|
|
|
|
Release: 6%{?dist}
|
|
|
|
|
Version: 0.22
|
|
|
|
|
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
|
|
|
|
|
# Build
|
|
|
|
|
BuildRequires: perl
|
|
|
|
|
BuildRequires: perl(Module::Build)
|
|
|
|
|
BuildRequires: perl(strict)
|
|
|
|
|
BuildRequires: perl(warnings)
|
|
|
|
|
# Runtime
|
|
|
|
|
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(Text::Diff) >= 0.35
|
|
|
|
|
# Tests only
|
|
|
|
|
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))
|
|
|
|
|
BuildRequires: perl(utf8)
|
|
|
|
|
Requires: perl(:MODULE_COMPAT_%(eval "$(perl -V:version)"; echo $version))
|
|
|
|
|
Requires: perl(Test::Builder) >= 0.70
|
|
|
|
|
Requires: perl(Text::Diff) >= 0.35
|
|
|
|
|
|
|
|
|
|
%global __requires_exclude %{?__requires_exclude:%__requires_exclude|}^perl\\(Test::Builder\\)$
|
|
|
|
|
%global __requires_exclude %__requires_exclude|^perl\\(Text::Diff\\)$
|
|
|
|
|
|
|
|
|
|
%description
|
|
|
|
|
Test routines for examining the contents of files.
|
|
|
|
@ -34,22 +40,21 @@ 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
|
|
|
|
|
./Build install destdir=%{buildroot} create_packlist=0
|
|
|
|
|
%{_fixperms} %{buildroot}
|
|
|
|
|
|
|
|
|
|
%check
|
|
|
|
|
./Build test
|
|
|
|
|
|
|
|
|
|
%clean
|
|
|
|
|
rm -rf $RPM_BUILD_ROOT
|
|
|
|
|
|
|
|
|
|
%files
|
|
|
|
|
%doc Changes README.md
|
|
|
|
|
%doc Changes README
|
|
|
|
|
%{perl_vendorlib}/Test/
|
|
|
|
|
%{_mandir}/man3/Test::File::Contents.3pm*
|
|
|
|
|
%{_mandir}/man3/*
|
|
|
|
|
|
|
|
|
|
%changelog
|
|
|
|
|
* Fri Mar 04 2016 Petr Šabata <contyk@redhat.com> - 0.22-1
|
|
|
|
|
- 0.22 bump; fix the test suite with Text-Diff 1.44+
|
|
|
|
|
|
|
|
|
|
* Thu Feb 04 2016 Fedora Release Engineering <releng@fedoraproject.org> - 0.21-6
|
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_24_Mass_Rebuild
|
|
|
|
|
|
|
|
|
|