From 324c62bca919b572b42eed60a40d59d935bff5a4 Mon Sep 17 00:00:00 2001 From: Steven Pritchard Date: Tue, 29 Aug 2006 01:05:36 +0000 Subject: [PATCH] Improve Summary, description, and Source0 URL. Fix find option ordering. Don't generate license texts. --- needs.rebuild | 1 - perl-Text-Diff.spec | 24 +++++++++++++++--------- 2 files changed, 15 insertions(+), 10 deletions(-) delete mode 100644 needs.rebuild diff --git a/needs.rebuild b/needs.rebuild deleted file mode 100644 index 815fd29..0000000 --- a/needs.rebuild +++ /dev/null @@ -1 +0,0 @@ -http://fedoraproject.org/wiki/Extras/Schedule/FC6MassRebuild diff --git a/perl-Text-Diff.spec b/perl-Text-Diff.spec index 9b447d5..07f375a 100644 --- a/perl-Text-Diff.spec +++ b/perl-Text-Diff.spec @@ -1,18 +1,22 @@ Name: perl-Text-Diff Version: 0.35 -Release: 2%{?dist} -Summary: Text::Diff Perl module +Release: 3%{?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/modules/by-module/Text/Text-Diff-%{version}.tar.gz +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) Requires: perl(:MODULE_COMPAT_%(eval "`%{__perl} -V:version`"; echo $version)) %description -Text::Diff - Perform diffs on files and record sets. +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} @@ -27,13 +31,10 @@ 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 -type d -depth -exec rmdir {} 2>/dev/null \; +find $RPM_BUILD_ROOT -depth -type d -exec rmdir {} 2>/dev/null \; chmod -R u+rwX,go+rX,go-w $RPM_BUILD_ROOT/* -perldoc -t perlgpl > COPYING -perldoc -t perlartistic > Artistic - %check make test @@ -42,11 +43,16 @@ rm -rf $RPM_BUILD_ROOT %files %defattr(-,root,root,-) -%doc Changes COPYING Artistic +%doc Changes %{perl_vendorlib}/* %{_mandir}/man3/* %changelog +* 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.