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