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