From 3b40ae84390234aae75271369cdbdf20cefbffda Mon Sep 17 00:00:00 2001 From: Steven Pritchard Date: Sat, 12 Jan 2008 23:53:05 +0000 Subject: [PATCH] Update to 0.19. Use fixperms macro instead of our own chmod incantation. Reformat to match cpanspec output. --- .cvsignore | 2 +- perl-Pod-Coverage.spec | 34 ++++++++++++++++------------------ sources | 2 +- 3 files changed, 18 insertions(+), 20 deletions(-) diff --git a/.cvsignore b/.cvsignore index 3698b54..037505e 100644 --- a/.cvsignore +++ b/.cvsignore @@ -1 +1 @@ -Pod-Coverage-0.18.tar.gz +Pod-Coverage-0.19.tar.gz diff --git a/perl-Pod-Coverage.spec b/perl-Pod-Coverage.spec index 881b036..fbd89a1 100644 --- a/perl-Pod-Coverage.spec +++ b/perl-Pod-Coverage.spec @@ -1,17 +1,15 @@ Name: perl-Pod-Coverage -Version: 0.18 -Release: 3%{?dist} +Version: 0.19 +Release: 1%{?dist} Summary: Checks if the documentation of a module is comprehensive - -Group: Development/Libraries License: GPL+ or Artistic +Group: Development/Libraries URL: http://search.cpan.org/dist/Pod-Coverage/ Source0: http://www.cpan.org/authors/id/R/RC/RCLAMP/Pod-Coverage-%{version}.tar.gz BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) - BuildArch: noarch +BuildRequires: perl(Devel::Symdump) >= 2.01 BuildRequires: perl(Module::Build) -BuildRequires: perl(Devel::Symdump) BuildRequires: perl(Test::Pod) Requires: perl(:MODULE_COMPAT_%(eval "`%{__perl} -V:version`"; echo $version)) @@ -23,40 +21,40 @@ long run. Even if not, perlmodstyle tells you to, so you must obey. This module provides a mechanism for determining if the pod for a given module is comprehensive. - %prep %setup -q -n Pod-Coverage-%{version} - %build -CFLAGS="$RPM_OPT_FLAGS" %{__perl} Build.PL installdirs=vendor +%{__perl} Build.PL installdirs=vendor ./Build - %install rm -rf $RPM_BUILD_ROOT -./Build install destdir=$RPM_BUILD_ROOT create_packlist=0 -find $RPM_BUILD_ROOT -type f -name '*.bs' -a -size 0 -exec rm -f {} ';' -chmod -R u+w $RPM_BUILD_ROOT/* +./Build install destdir=$RPM_BUILD_ROOT create_packlist=0 +find $RPM_BUILD_ROOT -depth -type d -exec rmdir {} 2>/dev/null \; + +%{_fixperms} $RPM_BUILD_ROOT/* %check ./Build test - %clean rm -rf $RPM_BUILD_ROOT - %files %defattr(-,root,root,-) %doc Changes README examples/ %{_bindir}/* -%{perl_vendorlib}/Pod/ -%{_mandir}/man3/*.3pm* - +%{perl_vendorlib}/* +%{_mandir}/man3/* %changelog +* Sat Jan 12 2008 Steven Pritchard 0.19-1 +- Update to 0.19. +- Use fixperms macro instead of our own chmod incantation. +- Reformat to match cpanspec output. + * Thu Jan 10 2007 Tom "spot" Callaway - 0.18-3 - rebuild 2, enable Test::Pod, tests diff --git a/sources b/sources index abb2f29..8fbf874 100644 --- a/sources +++ b/sources @@ -1 +1 @@ -12e4f06fa8411a1f5011d3e6ce3628b3 Pod-Coverage-0.18.tar.gz +93af52dac8bafed7702ed290d988ffa4 Pod-Coverage-0.19.tar.gz