commit 7f5db68cd5674be2bf823b244f1bc1c4ad6eac8a Author: Paul Howarth <paul@xxxxxxxxxxxx> Date: Sat May 28 14:47:35 2011 +0100 General clean-up perl-Test-Spelling.spec | 29 ++++++++--------------------- 1 files changed, 8 insertions(+), 21 deletions(-) --- diff --git a/perl-Test-Spelling.spec b/perl-Test-Spelling.spec index 73e1969..ff85dc5 100644 --- a/perl-Test-Spelling.spec +++ b/perl-Test-Spelling.spec @@ -2,19 +2,16 @@ Name: perl-Test-Spelling Version: 0.12 Release: 1%{?dist} Summary: Check for spelling errors in POD files - Group: Development/Libraries License: GPL+ or Artistic URL: http://search.cpan.org/dist/Test-Spelling/ Source0: http://search.cpan.org/CPAN/authors/id/S/SA/SARTAK/Test-Spelling-%{version}.tar.gz Patch0: perl-Test-Spelling-0.12-hunspell.patch -BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) - BuildArch: noarch BuildRequires: perl(IPC::Open3) BuildRequires: perl(Pod::Spell) >= 1.01 BuildRequires: perl(Test::Pod) -Requires: perl(:MODULE_COMPAT_%(eval "`%{__perl} -V:version`"; echo $version)) +Requires: perl(:MODULE_COMPAT_%(eval "`perl -V:version`"; echo $version)) Requires: hunspell %description @@ -22,38 +19,28 @@ Requires: hunspell its results in standard "Test::Simple" fashion. This module requires the hunspell program. - %prep %setup -q -n Test-Spelling-%{version} %patch0 -p1 %build -%{__perl} Makefile.PL INSTALLDIRS=vendor +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 ';' -chmod -R u+w $RPM_BUILD_ROOT/* - +make pure_install DESTDIR=%{buildroot} +find %{buildroot} -type f -name .packlist -exec rm -f {} \; +find %{buildroot} -depth -type d -exec rmdir {} \; 2>/dev/null +%{_fixperms} %{buildroot} %check make test - -%clean -rm -rf $RPM_BUILD_ROOT - - %files %defattr(-,root,root,-) %doc Changes README %{perl_vendorlib}/Test/ -%{_mandir}/man3/*.3pm* - +%{_mandir}/man3/Test::Spelling.3pm* %changelog * Tue Apr 26 2011 Paul Howarth <paul@xxxxxxxxxxxx> - 0.12-1 @@ -80,7 +67,7 @@ rm -rf $RPM_BUILD_ROOT - Rebuilt for https://fedoraproject.org/wiki/Fedora_15_Mass_Rebuild * Wed Dec 22 2010 Marcela Maslanova <mmaslano@xxxxxxxxxx> - 0.11-10 -- 661697 rebuild for fixing problems with vendorach/lib +- Rebuild to fix problems with vendorarch/lib (#661697) * Fri May 07 2010 Marcela Maslanova <mmaslano@xxxxxxxxxx> - 0.11-9 - Mass rebuild with perl-5.12.0 -- Fedora Extras Perl SIG http://www.fedoraproject.org/wiki/Extras/SIGs/Perl perl-devel mailing list perl-devel@xxxxxxxxxxxxxxxxxxxxxxx https://admin.fedoraproject.org/mailman/listinfo/perl-devel