Name: perl-Text-Diff Version: 0.35 Release: 4%{?dist} Summary: Perform diffs on files and record sets License: GPL or Artistic Group: Development/Libraries URL: http://search.cpan.org/dist/Text-Diff/ Source0: http://www.cpan.org/authors/id/R/RB/RBS/Text-Diff-%{version}.tar.gz BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) BuildArch: noarch BuildRequires: perl(Algorithm::Diff) BuildRequires: perl(ExtUtils::MakeMaker) Requires: perl(:MODULE_COMPAT_%(eval "`%{__perl} -V:version`"; echo $version)) %description Text::Diff provides a basic set of services akin to the GNU diff utility. It is not anywhere near as feature complete as GNU diff, but it is better integrated with Perl and available on all platforms. It is often faster than shelling out to a system's diff executable for small files, and generally slower on larger files. %prep %setup -q -n Text-Diff-%{version} %build %{__perl} Makefile.PL INSTALLDIRS=vendor make %{?_smp_mflags} %install rm -rf $RPM_BUILD_ROOT make pure_install PERL_INSTALL_ROOT=$RPM_BUILD_ROOT find $RPM_BUILD_ROOT -type f -name .packlist -exec rm -f {} \; find $RPM_BUILD_ROOT -depth -type d -exec rmdir {} 2>/dev/null \; %{_fixperms} $RPM_BUILD_ROOT/* %check make test %clean rm -rf $RPM_BUILD_ROOT %files %defattr(-,root,root,-) %doc Changes %{perl_vendorlib}/* %{_mandir}/man3/* %changelog * Wed Apr 18 2007 Steven Pritchard 0.35-4 - Use fixperms macro instead of our own chmod incantation. - BR ExtUtils::MakeMaker. * Mon Aug 28 2006 Steven Pritchard 0.35-3 - Improve Summary, description, and Source0 URL. - Fix find option ordering. - Don't generate license texts. * Fri Sep 16 2005 Steven Pritchard 0.35-2 - Minor spec cleanup. * Sat Aug 27 2005 Steven Pritchard 0.35-1 - Specfile autogenerated.