77 lines
2.3 KiB
RPMSpec
77 lines
2.3 KiB
RPMSpec
Name: perl-Pod-Coverage-TrustPod
|
|
Version: 0.092832
|
|
Release: 2%{?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(Carp::Heavy)
|
|
BuildRequires: perl(ExtUtils::MakeMaker)
|
|
BuildRequires: perl(Pod::Coverage::CountParents)
|
|
BuildRequires: perl(Pod::Eventual::Simple)
|
|
BuildRequires: perl(Pod::Find)
|
|
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 08 2011 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.092832-2
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_15_Mass_Rebuild
|
|
|
|
* Fri Nov 19 2010 Iain Arnell <iarnell@gmail.com> 0.092832-1
|
|
- update to latest upstream version
|
|
|
|
* Tue May 04 2010 Marcela Maslanova <mmaslano@redhat.com> - 0.092830-4
|
|
- Mass rebuild with perl-5.12.0
|
|
|
|
* 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.
|