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