f8ba7d
Name:           perl-Algorithm-Diff
f8ba7d
Version:        1.1903
f8ba7d
Release:        10%{?dist}
f8ba7d
Summary:        Compute `intelligent' differences between two files/lists
f8ba7d
License:        GPL+ or Artistic
f8ba7d
Group:          Development/Libraries
f8ba7d
URL:            http://search.cpan.org/dist/Algorithm-Diff/
f8ba7d
Source0:        http://www.cpan.org/authors/id/T/TY/TYEMQ/Algorithm-Diff-%{version}.tar.gz
f8ba7d
Patch0:         Algorithm-Diff-1.1903-provides.patch
f8ba7d
BuildArch:      noarch
f8ba7d
# Build:
f8ba7d
BuildRequires:  perl-interpreter
f8ba7d
BuildRequires:  perl-generators
f8ba7d
BuildRequires:  perl(ExtUtils::MakeMaker)
f8ba7d
# Run-time:
f8ba7d
BuildRequires:  perl(Carp)
f8ba7d
BuildRequires:  perl(Exporter)
f8ba7d
BuildRequires:  perl(integer)
f8ba7d
BuildRequires:  perl(strict)
f8ba7d
BuildRequires:  perl(vars)
f8ba7d
# Tests:
f8ba7d
BuildRequires:  perl(Data::Dumper)
f8ba7d
BuildRequires:  perl(lib)
f8ba7d
BuildRequires:  perl(Test)
f8ba7d
# Explicit requirements:
f8ba7d
Requires:       perl(:MODULE_COMPAT_%(eval "`perl -V:version`"; echo $version))
f8ba7d
Requires:       perl(Carp)
f8ba7d
f8ba7d
%description
f8ba7d
This is a module for computing the difference between two files, two strings,
f8ba7d
or any other two lists of things. It uses an intelligent algorithm similar to
f8ba7d
(or identical to) the one used by the Unix "diff" program. It is guaranteed to
f8ba7d
find the *smallest possible* set of differences.
f8ba7d
f8ba7d
%prep
f8ba7d
%setup -q -n Algorithm-Diff-%{version}
f8ba7d
f8ba7d
# Generate provide for perl(Algorithm::DiffOld)
f8ba7d
%patch0
f8ba7d
f8ba7d
%build
f8ba7d
perl Makefile.PL INSTALLDIRS=vendor
f8ba7d
make %{?_smp_mflags}
f8ba7d
f8ba7d
%install
f8ba7d
rm -rf %{buildroot}
f8ba7d
make pure_install DESTDIR=%{buildroot}
f8ba7d
find %{buildroot} -type f -name .packlist -exec rm -f {} \;
f8ba7d
%{_fixperms} %{buildroot}
f8ba7d
f8ba7d
# Remove example scripts we're shipping as documentation
f8ba7d
rm -f %{buildroot}%{perl_vendorlib}/Algorithm/*.pl
f8ba7d
f8ba7d
%check
f8ba7d
make test
f8ba7d
f8ba7d
%files
f8ba7d
%doc Changes README *.pl
f8ba7d
%{perl_vendorlib}/Algorithm/
f8ba7d
%{_mandir}/man3/Algorithm::Diff.3*
f8ba7d
%{_mandir}/man3/Algorithm::DiffOld.3*
f8ba7d
f8ba7d
%changelog
f8ba7d
* Fri Mar 29 2019 Jitka Plesnikova <jplesnik@redhat.com> - 1.1903-10
f8ba7d
- Rebuild with enable hardening (bug #1636329)
f8ba7d
f8ba7d
* Thu Feb 08 2018 Fedora Release Engineering <releng@fedoraproject.org> - 1.1903-9
f8ba7d
- Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild
f8ba7d
f8ba7d
* Thu Jul 27 2017 Fedora Release Engineering <releng@fedoraproject.org> - 1.1903-8
f8ba7d
- Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Mass_Rebuild
f8ba7d
f8ba7d
* Sun Jun 04 2017 Jitka Plesnikova <jplesnik@redhat.com> - 1.1903-7
f8ba7d
- Perl 5.26 rebuild
f8ba7d
f8ba7d
* Sat Feb 11 2017 Fedora Release Engineering <releng@fedoraproject.org> - 1.1903-6
f8ba7d
- Rebuilt for https://fedoraproject.org/wiki/Fedora_26_Mass_Rebuild
f8ba7d
f8ba7d
* Sat May 14 2016 Jitka Plesnikova <jplesnik@redhat.com> - 1.1903-5
f8ba7d
- Perl 5.24 rebuild
f8ba7d
f8ba7d
* Thu Feb 04 2016 Fedora Release Engineering <releng@fedoraproject.org> - 1.1903-4
f8ba7d
- Rebuilt for https://fedoraproject.org/wiki/Fedora_24_Mass_Rebuild
f8ba7d
f8ba7d
* Thu Jun 18 2015 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.1903-3
f8ba7d
- Rebuilt for https://fedoraproject.org/wiki/Fedora_23_Mass_Rebuild
f8ba7d
f8ba7d
* Wed Jun 03 2015 Jitka Plesnikova <jplesnik@redhat.com> - 1.1903-2
f8ba7d
- Perl 5.22 rebuild
f8ba7d
f8ba7d
* Thu Nov 27 2014 Paul Howarth <paul@city-fan.org> - 1.1903-1
f8ba7d
- Update to 1.1903
f8ba7d
  - Fix documentation typos (CPAN RT#84981)
f8ba7d
  - Add -w and -i switches to diffnew.pl (CPAN RT#69945)
f8ba7d
  - Remove Algorithm::DiffOld from the index; the module is still distributed
f8ba7d
    with Algorithm::Diff, but is not indexed on CPAN because this is an
f8ba7d
    ***UNAUTHORIZED*** release of Algorithm::DiffOld
f8ba7d
- Add patch to generate provide for perl(Algorithm::DiffOld)
f8ba7d
- Drop %%defattr, redundant since rpm 4.4
f8ba7d
- General spec tidy-up
f8ba7d
f8ba7d
* Wed Aug 27 2014 Jitka Plesnikova <jplesnik@redhat.com> - 1.1902-21
f8ba7d
- Perl 5.20 rebuild
f8ba7d
f8ba7d
* Sat Jun 07 2014 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.1902-20
f8ba7d
- Rebuilt for https://fedoraproject.org/wiki/Fedora_21_Mass_Rebuild
f8ba7d
f8ba7d
* Sat Aug 03 2013 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.1902-19
f8ba7d
- Rebuilt for https://fedoraproject.org/wiki/Fedora_20_Mass_Rebuild
f8ba7d
f8ba7d
* Thu Jul 18 2013 Petr Pisar <ppisar@redhat.com> - 1.1902-18
f8ba7d
- Perl 5.18 rebuild
f8ba7d
f8ba7d
* Thu Feb 14 2013 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.1902-17
f8ba7d
- Rebuilt for https://fedoraproject.org/wiki/Fedora_19_Mass_Rebuild
f8ba7d
f8ba7d
* Fri Jul 20 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.1902-16
f8ba7d
- Rebuilt for https://fedoraproject.org/wiki/Fedora_18_Mass_Rebuild
f8ba7d
f8ba7d
* Mon Jun 11 2012 Petr Pisar <ppisar@redhat.com> - 1.1902-15
f8ba7d
- Perl 5.16 rebuild
f8ba7d
- Specify all dependencies
f8ba7d
f8ba7d
* Fri Jan 13 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.1902-14
f8ba7d
- Rebuilt for https://fedoraproject.org/wiki/Fedora_17_Mass_Rebuild
f8ba7d
f8ba7d
* Fri Jun 17 2011 Marcela Mašláňová <mmaslano@redhat.com> - 1.1902-13
f8ba7d
- Perl mass rebuild
f8ba7d
f8ba7d
* Tue Feb 08 2011 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.1902-12
f8ba7d
- Rebuilt for https://fedoraproject.org/wiki/Fedora_15_Mass_Rebuild
f8ba7d
f8ba7d
* Tue Dec 14 2010 Marcela Maslanova <mmaslano@redhat.com> - 1.1902-11
f8ba7d
- Rebuild to fix problems with vendorarch/lib (#661697)
f8ba7d
f8ba7d
* Thu Apr 29 2010 Marcela Maslanova <mmaslano@redhat.com> - 1.1902-10
f8ba7d
- Mass rebuild with perl-5.12.0
f8ba7d
f8ba7d
* Mon Dec  7 2009 Stepan Kasal <skasal@redhat.com> - 1.1902-9
f8ba7d
- rebuild against perl 5.10.1
f8ba7d
f8ba7d
* Sat Jul 25 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.1902-8
f8ba7d
- Rebuilt for https://fedoraproject.org/wiki/Fedora_12_Mass_Rebuild
f8ba7d
f8ba7d
* Thu Feb 26 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.1902-7
f8ba7d
- Rebuilt for https://fedoraproject.org/wiki/Fedora_11_Mass_Rebuild
f8ba7d
f8ba7d
* Wed Feb 27 2008 Tom "spot" Callaway <tcallawa@redhat.com> - 1.1902-6
f8ba7d
- Rebuild for perl 5.10 (again)
f8ba7d
f8ba7d
* Sun Jan 20 2008 Tom "spot" Callaway <tcallawa@redhat.com> 1.1902-5
f8ba7d
- rebuild for new perl
f8ba7d
f8ba7d
* Thu Jan 10 2008 Tom "spot" Callaway <tcallawa@redhat.com> 1.1902-4
f8ba7d
- fix license tag, rebuild for perl
f8ba7d
f8ba7d
* Wed Apr 18 2007 Steven Pritchard <steve@kspei.com> 1.1902-3
f8ba7d
- Use fixperms macro instead of our own chmod incantation.
f8ba7d
- BR ExtUtils::MakeMaker.
f8ba7d
f8ba7d
* Sun Sep 17 2006 Steven Pritchard <steve@kspei.com> 1.1902-2
f8ba7d
- Rebuild.
f8ba7d
f8ba7d
* Sat Aug 05 2006 Steven Pritchard <steve@kspei.com> 1.1902-1
f8ba7d
- Update to 1.1902.
f8ba7d
- Minor spec cleanup to match current template/cpanspec output.
f8ba7d
f8ba7d
* Mon Sep 05 2005 Steven Pritchard <steve@kspei.com> 1.1901-1
f8ba7d
- Updated to 1.1901.
f8ba7d
f8ba7d
* Sat Sep 03 2005 Steven Pritchard <steve@kspei.com> 1.15-2
f8ba7d
- Move example files to %%doc.
f8ba7d
f8ba7d
* Sat Aug 27 2005 Steven Pritchard <steve@kspei.com> 1.15-1
f8ba7d
- Specfile autogenerated.