7b97ba
Name:           perl-Text-Diff
7b97ba
Version:        1.41
72d04f
Release:        5%{?dist}
7b97ba
Summary:        Perform diffs on files and record sets
7b97ba
License:        (GPL+ or Artistic) and (GPLv2+ or Artistic) and MIT
7b97ba
Group:          Development/Libraries
7b97ba
URL:            http://search.cpan.org/dist/Text-Diff/
7b97ba
Source0:        http://search.cpan.org/CPAN/authors/id/O/OV/OVID/Text-Diff-%{version}.tar.gz
7b97ba
BuildArch:      noarch
7b97ba
BuildRequires:  perl(constant)
7b97ba
BuildRequires:  perl(Algorithm::Diff)
7b97ba
BuildRequires:  perl(Carp)
7b97ba
BuildRequires:  perl(Data::Dumper)
7b97ba
BuildRequires:  perl(ExtUtils::MakeMaker)
7b97ba
BuildRequires:  perl(Exporter)
7b97ba
BuildRequires:  perl(IO::File)
7b97ba
BuildRequires:  perl(Test)
7b97ba
BuildRequires:  perl(Test::More)
7b97ba
Requires:       perl(:MODULE_COMPAT_%(eval "`%{__perl} -V:version`"; echo $version))
7b97ba
7b97ba
%{?perl_default_filter}
7b97ba
7b97ba
%description
7b97ba
Text::Diff provides a basic set of services akin to the GNU diff utility.
7b97ba
It is not anywhere near as feature complete as GNU diff, but it is better
7b97ba
integrated with Perl and available on all platforms. It is often faster
7b97ba
than shelling out to a system's diff executable for small files, and
7b97ba
generally slower on larger files.
7b97ba
7b97ba
%prep
7b97ba
%setup -q -n Text-Diff-%{version}
7b97ba
7b97ba
%build
7b97ba
perl Makefile.PL INSTALLDIRS=vendor
7b97ba
make %{?_smp_mflags}
7b97ba
7b97ba
%install
7b97ba
make pure_install PERL_INSTALL_ROOT=%{buildroot}
7b97ba
find %{buildroot} -type f -name .packlist -exec rm -f {} \;
7b97ba
find %{buildroot} -depth -type d -exec rmdir {} 2>/dev/null \;
7b97ba
%{_fixperms} %{buildroot}/*
7b97ba
7b97ba
%check
7b97ba
make test
7b97ba
7b97ba
%files
7b97ba
%doc Changes LICENSE README
7b97ba
%{perl_vendorlib}/*
7b97ba
%{_mandir}/man3/*
7b97ba
7b97ba
%changelog
72d04f
* Fri Dec 27 2013 Daniel Mach <dmach@redhat.com> - 1.41-5
72d04f
- Mass rebuild 2013-12-27
72d04f
7b97ba
* Mon Oct 29 2012 Jitka Plesnikova <jplesnik@redhat.com> - 1.41-4
7b97ba
- Update license
7b97ba
7b97ba
* Fri Jul 20 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.41-3
7b97ba
- Rebuilt for https://fedoraproject.org/wiki/Fedora_18_Mass_Rebuild
7b97ba
7b97ba
* Tue Jun 12 2012 Petr Pisar <ppisar@redhat.com> - 1.41-2
7b97ba
- Perl 5.16 rebuild
7b97ba
7b97ba
* Fri Jan 27 2012 Petr Šabata <contyk@redhat.com> - 1.41-1
7b97ba
- 1.41 bump, spec modernization and cleanup
7b97ba
- Update Source URL
7b97ba
7b97ba
* Fri Jan 13 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.37-8
7b97ba
- Rebuilt for https://fedoraproject.org/wiki/Fedora_17_Mass_Rebuild
7b97ba
7b97ba
* Fri Jun 17 2011 Marcela Mašláňová <mmaslano@redhat.com> - 1.37-7
7b97ba
- Perl mass rebuild
7b97ba
7b97ba
* Wed Feb 09 2011 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.37-6
7b97ba
- Rebuilt for https://fedoraproject.org/wiki/Fedora_15_Mass_Rebuild
7b97ba
7b97ba
* Thu Dec 23 2010 Marcela Maslanova <mmaslano@redhat.com> - 1.37-5
7b97ba
- 661697 rebuild for fixing problems with vendorach/lib
7b97ba
7b97ba
* Fri May 07 2010 Marcela Maslanova <mmaslano@redhat.com> - 1.37-4
7b97ba
- Mass rebuild with perl-5.12.0
7b97ba
7b97ba
* Fri Dec  4 2009 Stepan Kasal <skasal@redhat.com> - 1.37-3
7b97ba
- rebuild against perl 5.10.1
7b97ba
7b97ba
* Sun Sep 27 2009 Chris Weyl <cweyl@alumni.drew.edu> 1.37-2
7b97ba
- add Test::More as a BR (rt#50040)
7b97ba
7b97ba
* Sun Sep 27 2009 Chris Weyl <cweyl@alumni.drew.edu> 1.37-1
7b97ba
- add filtering
7b97ba
- auto-update to 1.37 (by cpan-spec-update 0.01)
7b97ba
- altered br on perl(Algorithm::Diff) (0 => 1.19)
7b97ba
- added a new br on perl(Exporter) (version 0)
7b97ba
- added a new br on perl(Test) (version 0)
7b97ba
7b97ba
* Sun Jul 26 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.35-8
7b97ba
- Rebuilt for https://fedoraproject.org/wiki/Fedora_12_Mass_Rebuild
7b97ba
7b97ba
* Thu Feb 26 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.35-7
7b97ba
- Rebuilt for https://fedoraproject.org/wiki/Fedora_11_Mass_Rebuild
7b97ba
7b97ba
* Wed Feb 27 2008 Tom "spot" Callaway <tcallawa@redhat.com> - 0.35-6
7b97ba
- Rebuild for perl 5.10 (again)
7b97ba
7b97ba
* Thu Jan 24 2008 Tom "spot" Callaway <tcallawa@redhat.com> 0.35-5
7b97ba
- rebuild for new perl
7b97ba
7b97ba
* Wed Apr 18 2007 Steven Pritchard <steve@kspei.com> 0.35-4
7b97ba
- Use fixperms macro instead of our own chmod incantation.
7b97ba
- BR ExtUtils::MakeMaker.
7b97ba
7b97ba
* Mon Aug 28 2006 Steven Pritchard <steve@kspei.com> 0.35-3
7b97ba
- Improve Summary, description, and Source0 URL.
7b97ba
- Fix find option ordering.
7b97ba
- Don't generate license texts.
7b97ba
7b97ba
* Fri Sep 16 2005 Steven Pritchard <steve@kspei.com> 0.35-2
7b97ba
- Minor spec cleanup.
7b97ba
7b97ba
* Sat Aug 27 2005 Steven Pritchard <steve@kspei.com> 0.35-1
7b97ba
- Specfile autogenerated.