Improve Summary, description, and Source0 URL. Fix find option ordering.

Don't generate license texts.
This commit is contained in:
Steven Pritchard 2006-08-29 01:05:36 +00:00
parent d69c93bec8
commit 324c62bca9
2 changed files with 15 additions and 10 deletions

View File

@ -1 +0,0 @@
http://fedoraproject.org/wiki/Extras/Schedule/FC6MassRebuild

View File

@ -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 <steve@kspei.com> 0.35-3
- Improve Summary, description, and Source0 URL.
- Fix find option ordering.
- Don't generate license texts.
* Fri Sep 16 2005 Steven Pritchard <steve@kspei.com> 0.35-2
- Minor spec cleanup.