7142c2
Name:           perl-Algorithm-Diff
7142c2
Version:        1.1902
7cdf47
Release:        17%{?dist}
7142c2
Summary:        Algorithm::Diff Perl module
7142c2
License:        GPL+ or Artistic
7142c2
Group:          Development/Libraries
7142c2
URL:            http://search.cpan.org/dist/Algorithm-Diff/
7142c2
Source0:        http://www.cpan.org/authors/id/T/TY/TYEMQ/Algorithm-Diff-%{version}.tar.gz
7142c2
BuildRoot:      %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
7142c2
BuildArch:      noarch
7142c2
BuildRequires:  perl(ExtUtils::MakeMaker)
7142c2
# Run-time:
7142c2
BuildRequires:  perl(Carp)
7142c2
BuildRequires:  perl(Exporter)
7142c2
# Tests:
7142c2
BuildRequires:  perl(Data::Dumper)
7142c2
BuildRequires:  perl(lib)
7142c2
BuildRequires:  perl(Test)
7142c2
Requires:       perl(:MODULE_COMPAT_%(eval "`%{__perl} -V:version`"; echo $version))
7142c2
Requires:       perl(Carp)
7142c2
7142c2
%description
7142c2
This is a module for computing the difference between two files, two
7142c2
strings, or any other two lists of things.  It uses an intelligent
7142c2
algorithm similar to (or identical to) the one used by the Unix "diff"
7142c2
program.  It is guaranteed to find the *smallest possible* set of
7142c2
differences.
7142c2
7142c2
%prep
7142c2
%setup -q -n Algorithm-Diff-%{version}
7142c2
chmod 644 *.pl
7142c2
7142c2
%build
7142c2
%{__perl} Makefile.PL INSTALLDIRS=vendor
7142c2
make %{?_smp_mflags}
7142c2
7142c2
%install
7142c2
rm -rf $RPM_BUILD_ROOT
7142c2
7142c2
make pure_install PERL_INSTALL_ROOT=$RPM_BUILD_ROOT
7142c2
7142c2
find $RPM_BUILD_ROOT -type f -name .packlist -exec rm -f {} \;
7142c2
find $RPM_BUILD_ROOT -depth -type d -exec rmdir {} 2>/dev/null \;
7142c2
7142c2
%{_fixperms} $RPM_BUILD_ROOT/*
7142c2
7142c2
rm -f $RPM_BUILD_ROOT%{perl_vendorlib}/Algorithm/*.pl
7142c2
7142c2
%check
7142c2
make test
7142c2
7142c2
%clean
7142c2
rm -rf $RPM_BUILD_ROOT
7142c2
7142c2
%files
7142c2
%defattr(-,root,root,-)
7142c2
%doc Changes README *.pl
7142c2
%{perl_vendorlib}/*
7142c2
%{_mandir}/man3/*
7142c2
7142c2
%changelog
7cdf47
* Fri Dec 27 2013 Daniel Mach <dmach@redhat.com> - 1.1902-17
7cdf47
- Mass rebuild 2013-12-27
7cdf47
7142c2
* Wed Aug 15 2012 Daniel Mach <dmach@redhat.com> - 1.1902-16.1
7142c2
- Rebuild for perl 5.16
7142c2
7142c2
* Fri Jul 20 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.1902-16
7142c2
- Rebuilt for https://fedoraproject.org/wiki/Fedora_18_Mass_Rebuild
7142c2
7142c2
* Mon Jun 11 2012 Petr Pisar <ppisar@redhat.com> - 1.1902-15
7142c2
- Perl 5.16 rebuild
7142c2
- Specify all dependencies
7142c2
7142c2
* Fri Jan 13 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.1902-14
7142c2
- Rebuilt for https://fedoraproject.org/wiki/Fedora_17_Mass_Rebuild
7142c2
7142c2
* Fri Jun 17 2011 Marcela Mašláňová <mmaslano@redhat.com> - 1.1902-13
7142c2
- Perl mass rebuild
7142c2
7142c2
* Tue Feb 08 2011 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.1902-12
7142c2
- Rebuilt for https://fedoraproject.org/wiki/Fedora_15_Mass_Rebuild
7142c2
7142c2
* Tue Dec 14 2010 Marcela Maslanova <mmaslano@redhat.com> - 1.1902-11
7142c2
- 661697 rebuild for fixing problems with vendorach/lib
7142c2
7142c2
* Thu Apr 29 2010 Marcela Maslanova <mmaslano@redhat.com> - 1.1902-10
7142c2
- Mass rebuild with perl-5.12.0
7142c2
7142c2
* Mon Dec  7 2009 Stepan Kasal <skasal@redhat.com> - 1.1902-9
7142c2
- rebuild against perl 5.10.1
7142c2
7142c2
* Sat Jul 25 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.1902-8
7142c2
- Rebuilt for https://fedoraproject.org/wiki/Fedora_12_Mass_Rebuild
7142c2
7142c2
* Thu Feb 26 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.1902-7
7142c2
- Rebuilt for https://fedoraproject.org/wiki/Fedora_11_Mass_Rebuild
7142c2
7142c2
* Wed Feb 27 2008 Tom "spot" Callaway <tcallawa@redhat.com> - 1.1902-6
7142c2
- Rebuild for perl 5.10 (again)
7142c2
7142c2
* Sun Jan 20 2008 Tom "spot" Callaway <tcallawa@redhat.com> 1.1902-5
7142c2
- rebuild for new perl
7142c2
7142c2
* Thu Jan 10 2008 Tom "spot" Callaway <tcallawa@redhat.com> 1.1902-4
7142c2
- fix license tag, rebuild for perl
7142c2
7142c2
* Wed Apr 18 2007 Steven Pritchard <steve@kspei.com> 1.1902-3
7142c2
- Use fixperms macro instead of our own chmod incantation.
7142c2
- BR ExtUtils::MakeMaker.
7142c2
7142c2
* Sun Sep 17 2006 Steven Pritchard <steve@kspei.com> 1.1902-2
7142c2
- Rebuild.
7142c2
7142c2
* Sat Aug 05 2006 Steven Pritchard <steve@kspei.com> 1.1902-1
7142c2
- Update to 1.1902.
7142c2
- Minor spec cleanup to match current template/cpanspec output.
7142c2
7142c2
* Mon Sep 05 2005 Steven Pritchard <steve@kspei.com> 1.1901-1
7142c2
- Updated to 1.1901.
7142c2
7142c2
* Sat Sep 03 2005 Steven Pritchard <steve@kspei.com> 1.15-2
7142c2
- Move example files to %%doc.
7142c2
7142c2
* Sat Aug 27 2005 Steven Pritchard <steve@kspei.com> 1.15-1
7142c2
- Specfile autogenerated.