Update to 0.19. Use fixperms macro instead of our own chmod incantation.
Reformat to match cpanspec output.
This commit is contained in:
parent
535df844cc
commit
3b40ae8439
@ -1 +1 @@
|
||||
Pod-Coverage-0.18.tar.gz
|
||||
Pod-Coverage-0.19.tar.gz
|
||||
|
||||
@ -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 <steve@kspei.com> 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 <tcallawa@redhat.com> - 0.18-3
|
||||
- rebuild 2, enable Test::Pod, tests
|
||||
|
||||
|
||||
Loading…
Reference in New Issue
Block a user