initial import of perl-Pod-Coverage-TrustPod
This commit is contained in:
parent
6dc129fd04
commit
7da349f8cc
@ -0,0 +1 @@
|
|||||||
|
Pod-Coverage-TrustPod-0.092830.tar.gz
|
65
perl-Pod-Coverage-TrustPod.spec
Normal file
65
perl-Pod-Coverage-TrustPod.spec
Normal file
@ -0,0 +1,65 @@
|
|||||||
|
Name: perl-Pod-Coverage-TrustPod
|
||||||
|
Version: 0.092830
|
||||||
|
Release: 3%{?dist}
|
||||||
|
Summary: Allow a module's pod to contain Pod::Coverage hints
|
||||||
|
License: GPL+ or Artistic
|
||||||
|
Group: Development/Libraries
|
||||||
|
URL: http://search.cpan.org/dist/Pod-Coverage-TrustPod/
|
||||||
|
Source0: http://www.cpan.org/authors/id/R/RJ/RJBS/Pod-Coverage-TrustPod-%{version}.tar.gz
|
||||||
|
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
|
||||||
|
BuildArch: noarch
|
||||||
|
BuildRequires: perl(ExtUtils::MakeMaker)
|
||||||
|
BuildRequires: perl(Pod::Coverage)
|
||||||
|
BuildRequires: perl(Pod::Eventual::Simple)
|
||||||
|
BuildRequires: perl(Test::Pod)
|
||||||
|
BuildRequires: perl(Test::Pod::Coverage)
|
||||||
|
BuildRequires: perl(Test::More)
|
||||||
|
Requires: perl(:MODULE_COMPAT_%(eval "`%{__perl} -V:version`"; echo $version))
|
||||||
|
Requires: perl(Pod::Coverage::CountParents)
|
||||||
|
|
||||||
|
%{?perl_default_filter}
|
||||||
|
|
||||||
|
%description
|
||||||
|
This is a Pod::Coverage subclass (actually, a subclass of
|
||||||
|
Pod::Coverage::CountParents) that allows the POD itself to declare certain
|
||||||
|
symbol names trusted.
|
||||||
|
|
||||||
|
%prep
|
||||||
|
%setup -q -n Pod-Coverage-TrustPod-%{version}
|
||||||
|
|
||||||
|
%build
|
||||||
|
%{__perl} Makefile.PL INSTALLDIRS=vendor
|
||||||
|
make %{?_smp_mflags}
|
||||||
|
|
||||||
|
%install
|
||||||
|
rm -rf $RPM_BUILD_ROOT
|
||||||
|
|
||||||
|
make pure_install DESTDIR=$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 \;
|
||||||
|
|
||||||
|
%{_fixperms} $RPM_BUILD_ROOT/*
|
||||||
|
|
||||||
|
%check
|
||||||
|
RELEASE_TESTING=1 make test
|
||||||
|
|
||||||
|
%clean
|
||||||
|
rm -rf $RPM_BUILD_ROOT
|
||||||
|
|
||||||
|
%files
|
||||||
|
%defattr(-,root,root,-)
|
||||||
|
%doc Changes dist.ini LICENSE META.json README
|
||||||
|
%{perl_vendorlib}/*
|
||||||
|
%{_mandir}/man3/*
|
||||||
|
|
||||||
|
%changelog
|
||||||
|
* Tue Feb 16 2010 Iain Arnell <iarnell@gmail.com> 0.092830-3
|
||||||
|
- use perl_default_filter
|
||||||
|
- use DESTDIR, not PERL_INSTALL_ROOT
|
||||||
|
|
||||||
|
* Wed Feb 03 2010 Iain Arnell <iarnell@gmail.com> 0.092830-2
|
||||||
|
- requires perl(Pod::Coverage::CountParents)
|
||||||
|
|
||||||
|
* Thu Jan 14 2010 Iain Arnell 0.092830-1
|
||||||
|
- Specfile autogenerated by cpanspec 1.78.
|
Loading…
Reference in New Issue
Block a user