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