|
|
|
@ -1,6 +1,6 @@
|
|
|
|
|
Name: perl-Text-Autoformat
|
|
|
|
|
Version: 1.13
|
|
|
|
|
Release: 4%{?dist}
|
|
|
|
|
Release: 5%{?dist}
|
|
|
|
|
Summary: Automatic text wrapping and reformatting
|
|
|
|
|
License: Artistic
|
|
|
|
|
Group: Development/Libraries
|
|
|
|
@ -8,6 +8,7 @@ URL: http://search.cpan.org/dist/Text-Autoformat/
|
|
|
|
|
Source0: http://www.cpan.org/authors/id/D/DC/DCONWAY/Text-Autoformat-%{version}.tar.gz
|
|
|
|
|
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
|
|
|
|
|
BuildArch: noarch
|
|
|
|
|
BuildRequires: perl(ExtUtils::MakeMaker)
|
|
|
|
|
BuildRequires: perl(Text::Reform) >= 1.11
|
|
|
|
|
Requires: perl(:MODULE_COMPAT_%(eval "`%{__perl} -V:version`"; echo $version))
|
|
|
|
|
|
|
|
|
@ -46,7 +47,7 @@ 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 \;
|
|
|
|
|
|
|
|
|
|
chmod -R u+rwX,go+rX,go-w $RPM_BUILD_ROOT/*
|
|
|
|
|
%{_fixperms} $RPM_BUILD_ROOT/*
|
|
|
|
|
|
|
|
|
|
%check
|
|
|
|
|
make test
|
|
|
|
@ -61,6 +62,10 @@ rm -rf $RPM_BUILD_ROOT %{__perl_provides}
|
|
|
|
|
%{_mandir}/man3/*
|
|
|
|
|
|
|
|
|
|
%changelog
|
|
|
|
|
* Wed Apr 18 2007 Steven Pritchard <steve@kspei.com> 1.13-5
|
|
|
|
|
- Use fixperms macro instead of our own chmod incantation.
|
|
|
|
|
- BR ExtUtils::MakeMaker.
|
|
|
|
|
|
|
|
|
|
* Fri Sep 01 2006 Steven Pritchard <steve@kspei.com> 1.13-4
|
|
|
|
|
- Rework spec to look more like current cpanspec output.
|
|
|
|
|
|
|
|
|
|