Update to 1.1902. Minor spec cleanup to match current template/cpanspec
output.
This commit is contained in:
parent
d435467ef4
commit
54ed1a9d72
@ -1 +1 @@
|
||||
Algorithm-Diff-1.1901.zip
|
||||
Algorithm-Diff-1.1902.tar.gz
|
||||
|
@ -1,11 +1,11 @@
|
||||
Name: perl-Algorithm-Diff
|
||||
Version: 1.1901
|
||||
Version: 1.1902
|
||||
Release: 1%{?dist}
|
||||
Summary: Algorithm::Diff Perl module
|
||||
License: GPL or Artistic
|
||||
Group: Development/Libraries
|
||||
URL: http://search.cpan.org/dist/Algorithm-Diff/
|
||||
Source0: http://www.cpan.org/modules/by-module/Algorithm/Algorithm-Diff-1.1901.zip
|
||||
Source0: http://www.cpan.org/authors/id/T/TY/TYEMQ/Algorithm-Diff-%{version}.tar.gz
|
||||
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
|
||||
BuildArch: noarch
|
||||
Requires: perl(:MODULE_COMPAT_%(eval "`%{__perl} -V:version`"; echo $version))
|
||||
@ -31,15 +31,12 @@ 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/*
|
||||
|
||||
rm -f $RPM_BUILD_ROOT%{perl_vendorlib}/Algorithm/*.pl
|
||||
|
||||
perldoc -t perlgpl > COPYING
|
||||
perldoc -t perlartistic > Artistic
|
||||
|
||||
%check
|
||||
make test
|
||||
|
||||
@ -48,11 +45,15 @@ rm -rf $RPM_BUILD_ROOT
|
||||
|
||||
%files
|
||||
%defattr(-,root,root,-)
|
||||
%doc Changes README COPYING Artistic *.pl
|
||||
%doc Changes README *.pl
|
||||
%{perl_vendorlib}/*
|
||||
%{_mandir}/man3/*
|
||||
|
||||
%changelog
|
||||
* Sat Aug 05 2006 Steven Pritchard <steve@kspei.com> 1.1902-1
|
||||
- Update to 1.1902.
|
||||
- Minor spec cleanup to match current template/cpanspec output.
|
||||
|
||||
* Mon Sep 05 2005 Steven Pritchard <steve@kspei.com> 1.1901-1
|
||||
- Updated to 1.1901.
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user