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