712a52
Name:           perl-Text-Diff
712a52
Version:        1.44
712a52
Release:        4%{?dist}
712a52
Summary:        Perform diffs on files and record sets
712a52
License:        (GPL+ or Artistic) and (GPLv2+ or Artistic) and MIT
712a52
Group:          Development/Libraries
712a52
URL:            http://search.cpan.org/dist/Text-Diff/
712a52
Source0:        http://search.cpan.org/CPAN/authors/id/N/NE/NEILB/Text-Diff-%{version}.tar.gz
712a52
BuildArch:      noarch
712a52
BuildRequires:  make
712a52
BuildRequires:  perl
712a52
BuildRequires:  perl-generators
712a52
BuildRequires:  perl(ExtUtils::MakeMaker) >= 6.76
712a52
BuildRequires:  perl(strict)
712a52
# Run-time:
712a52
BuildRequires:  perl(Algorithm::Diff) >= 1.19
712a52
BuildRequires:  perl(Carp)
712a52
BuildRequires:  perl(constant)
712a52
BuildRequires:  perl(Exporter)
712a52
BuildRequires:  perl(vars)
712a52
BuildRequires:  perl(warnings)
712a52
# Optional run-time:
712a52
BuildRequires:  perl(utf8)
712a52
# Tests:
712a52
BuildRequires:  perl(Data::Dumper)
712a52
BuildRequires:  perl(IO::File)
712a52
BuildRequires:  perl(Test)
712a52
BuildRequires:  perl(Test::More)
712a52
Requires:       perl(:MODULE_COMPAT_%(eval "$(perl -V:version)"; echo $version))
712a52
Requires:       perl(Algorithm::Diff) >= 1.19
712a52
712a52
# Remove under-specified dependencies
712a52
%global __requires_exclude %{?__requires_exclude:%__requires_exclude|}^perl\\(Algorithm::Diff\\)$
712a52
712a52
%description
712a52
Text::Diff provides a basic set of services akin to the GNU diff utility.
712a52
It is not anywhere near as feature complete as GNU diff, but it is better
712a52
integrated with Perl and available on all platforms. It is often faster
712a52
than shelling out to a system's diff executable for small files, and
712a52
generally slower on larger files.
712a52
712a52
%prep
712a52
%setup -q -n Text-Diff-%{version}
712a52
712a52
%build
712a52
perl Makefile.PL INSTALLDIRS=vendor NO_PACKLIST=1
712a52
make %{?_smp_mflags}
712a52
712a52
%install
712a52
make pure_install DESTDIR=%{buildroot}
712a52
%{_fixperms} %{buildroot}/*
712a52
712a52
%check
712a52
make test
712a52
712a52
%files
712a52
%license LICENSE
712a52
%doc Changes README
712a52
%{perl_vendorlib}/*
712a52
%{_mandir}/man3/*
712a52
712a52
%changelog
712a52
* Fri Mar 29 2019 Jitka Plesnikova <jplesnik@redhat.com> - 1.44-4
712a52
- Rebuild with enable hardening (bug #1636329)
712a52
712a52
* Sat Feb 11 2017 Fedora Release Engineering <releng@fedoraproject.org> - 1.44-3
712a52
- Rebuilt for https://fedoraproject.org/wiki/Fedora_26_Mass_Rebuild
712a52
712a52
* Sun May 15 2016 Jitka Plesnikova <jplesnik@redhat.com> - 1.44-2
712a52
- Perl 5.24 rebuild
712a52
712a52
* Sat Feb 27 2016 Petr Šabata <contyk@redhat.com> - 1.44-1
712a52
- 1.44 bump
712a52
712a52
* Thu Feb 04 2016 Fedora Release Engineering <releng@fedoraproject.org> - 1.43-2
712a52
- Rebuilt for https://fedoraproject.org/wiki/Fedora_24_Mass_Rebuild
712a52
712a52
* Mon Aug 24 2015 Petr Šabata <contyk@redhat.com> - 1.43-1
712a52
- 1.43 bump
712a52
- Updated source URL
712a52
- Modernized the spec file
712a52
712a52
* Thu Jun 18 2015 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.41-12
712a52
- Rebuilt for https://fedoraproject.org/wiki/Fedora_23_Mass_Rebuild
712a52
712a52
* Thu Jun 04 2015 Jitka Plesnikova <jplesnik@redhat.com> - 1.41-11
712a52
- Perl 5.22 rebuild
712a52
712a52
* Thu Jan 15 2015 Petr Pisar <ppisar@redhat.com> - 1.41-10
712a52
- Specify all dependencies
712a52
712a52
* Wed Aug 27 2014 Jitka Plesnikova <jplesnik@redhat.com> - 1.41-9
712a52
- Perl 5.20 rebuild
712a52
712a52
* Sat Jun 07 2014 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.41-8
712a52
- Rebuilt for https://fedoraproject.org/wiki/Fedora_21_Mass_Rebuild
712a52
712a52
* Sun Aug 04 2013 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.41-7
712a52
- Rebuilt for https://fedoraproject.org/wiki/Fedora_20_Mass_Rebuild
712a52
712a52
* Thu Jul 18 2013 Petr Pisar <ppisar@redhat.com> - 1.41-6
712a52
- Perl 5.18 rebuild
712a52
712a52
* Thu Feb 14 2013 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.41-5
712a52
- Rebuilt for https://fedoraproject.org/wiki/Fedora_19_Mass_Rebuild
712a52
712a52
* Mon Oct 29 2012 Jitka Plesnikova <jplesnik@redhat.com> - 1.41-4
712a52
- Update license
712a52
712a52
* Fri Jul 20 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.41-3
712a52
- Rebuilt for https://fedoraproject.org/wiki/Fedora_18_Mass_Rebuild
712a52
712a52
* Tue Jun 12 2012 Petr Pisar <ppisar@redhat.com> - 1.41-2
712a52
- Perl 5.16 rebuild
712a52
712a52
* Fri Jan 27 2012 Petr Šabata <contyk@redhat.com> - 1.41-1
712a52
- 1.41 bump, spec modernization and cleanup
712a52
- Update Source URL
712a52
712a52
* Fri Jan 13 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.37-8
712a52
- Rebuilt for https://fedoraproject.org/wiki/Fedora_17_Mass_Rebuild
712a52
712a52
* Fri Jun 17 2011 Marcela Mašláňová <mmaslano@redhat.com> - 1.37-7
712a52
- Perl mass rebuild
712a52
712a52
* Wed Feb 09 2011 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.37-6
712a52
- Rebuilt for https://fedoraproject.org/wiki/Fedora_15_Mass_Rebuild
712a52
712a52
* Thu Dec 23 2010 Marcela Maslanova <mmaslano@redhat.com> - 1.37-5
712a52
- 661697 rebuild for fixing problems with vendorach/lib
712a52
712a52
* Fri May 07 2010 Marcela Maslanova <mmaslano@redhat.com> - 1.37-4
712a52
- Mass rebuild with perl-5.12.0
712a52
712a52
* Fri Dec  4 2009 Stepan Kasal <skasal@redhat.com> - 1.37-3
712a52
- rebuild against perl 5.10.1
712a52
712a52
* Sun Sep 27 2009 Chris Weyl <cweyl@alumni.drew.edu> 1.37-2
712a52
- add Test::More as a BR (rt#50040)
712a52
712a52
* Sun Sep 27 2009 Chris Weyl <cweyl@alumni.drew.edu> 1.37-1
712a52
- add filtering
712a52
- auto-update to 1.37 (by cpan-spec-update 0.01)
712a52
- altered br on perl(Algorithm::Diff) (0 => 1.19)
712a52
- added a new br on perl(Exporter) (version 0)
712a52
- added a new br on perl(Test) (version 0)
712a52
712a52
* Sun Jul 26 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.35-8
712a52
- Rebuilt for https://fedoraproject.org/wiki/Fedora_12_Mass_Rebuild
712a52
712a52
* Thu Feb 26 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.35-7
712a52
- Rebuilt for https://fedoraproject.org/wiki/Fedora_11_Mass_Rebuild
712a52
712a52
* Wed Feb 27 2008 Tom "spot" Callaway <tcallawa@redhat.com> - 0.35-6
712a52
- Rebuild for perl 5.10 (again)
712a52
712a52
* Thu Jan 24 2008 Tom "spot" Callaway <tcallawa@redhat.com> 0.35-5
712a52
- rebuild for new perl
712a52
712a52
* Wed Apr 18 2007 Steven Pritchard <steve@kspei.com> 0.35-4
712a52
- Use fixperms macro instead of our own chmod incantation.
712a52
- BR ExtUtils::MakeMaker.
712a52
712a52
* Mon Aug 28 2006 Steven Pritchard <steve@kspei.com> 0.35-3
712a52
- Improve Summary, description, and Source0 URL.
712a52
- Fix find option ordering.
712a52
- Don't generate license texts.
712a52
712a52
* Fri Sep 16 2005 Steven Pritchard <steve@kspei.com> 0.35-2
712a52
- Minor spec cleanup.
712a52
712a52
* Sat Aug 27 2005 Steven Pritchard <steve@kspei.com> 0.35-1
712a52
- Specfile autogenerated.