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