0.22 bump
This commit is contained in:
parent
8f6f77c1f7
commit
dd63f3386b
1
.gitignore
vendored
1
.gitignore
vendored
@ -1,2 +1,3 @@
|
||||
Pod-Coverage-0.20.tar.gz
|
||||
/Pod-Coverage-0.21.tar.gz
|
||||
/Pod-Coverage-0.22.tar.gz
|
||||
|
||||
@ -1,19 +1,32 @@
|
||||
Name: perl-Pod-Coverage
|
||||
Version: 0.21
|
||||
Release: 5%{?dist}
|
||||
Version: 0.22
|
||||
Release: 1%{?dist}
|
||||
Summary: Checks if the documentation of a module is comprehensive
|
||||
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(base)
|
||||
BuildRequires: perl(constant)
|
||||
BuildRequires: perl(lib)
|
||||
BuildRequires: perl(Devel::Symdump) >= 2.01
|
||||
BuildRequires: perl(Module::Build)
|
||||
BuildRequires: perl(Exporter)
|
||||
BuildRequires: perl(ExtUtils::MakeMaker)
|
||||
BuildRequires: perl(Pod::Find) >= 0.21
|
||||
BuildRequires: perl(Pod::Parser) >= 1.13
|
||||
BuildRequires: perl(Test::More)
|
||||
BuildRequires: perl(Test::Pod)
|
||||
Requires: perl(Devel::Symdump) >= 2.01
|
||||
Requires: perl(Pod::Find) >= 0.21
|
||||
Requires: perl(Pod::Parser) >= 1.13
|
||||
Requires: perl(:MODULE_COMPAT_%(eval "`%{__perl} -V:version`"; echo $version))
|
||||
|
||||
%{?perl_default_filter}
|
||||
%global __requires_exclude %{?__requires_exclude:__requires_exclude|}^perl\\(Devel::Symdump\\)$
|
||||
%global __requires_exclude %{?__requires_exclude:%__requires_exclude|}^perl\\(Pod::Find\\)$
|
||||
%global __requires_exclude %{?__requires_exclude:%__requires_exclude|}^perl\\(Pod::Parser\\)$
|
||||
|
||||
%description
|
||||
Developers hate writing documentation. They'd hate it even more if their
|
||||
computer tattled on them, but maybe they'll be even more thankful in the
|
||||
@ -26,26 +39,20 @@ module is comprehensive.
|
||||
%setup -q -n Pod-Coverage-%{version}
|
||||
|
||||
%build
|
||||
%{__perl} Build.PL installdirs=vendor
|
||||
./Build
|
||||
perl Makefile.PL INSTALLDIRS=vendor
|
||||
make %{?_smp_mflags}
|
||||
|
||||
%install
|
||||
rm -rf $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/*
|
||||
make pure_install PERL_INSTALL_ROOT=%{buildroot}
|
||||
find %{buildroot} -type f -name .packlist -exec rm -f {} \;
|
||||
find %{buildroot} -depth -type d -exec rmdir {} 2>/dev/null \;
|
||||
%{_fixperms} %{buildroot}/*
|
||||
|
||||
%check
|
||||
./Build test
|
||||
|
||||
%clean
|
||||
rm -rf $RPM_BUILD_ROOT
|
||||
make test
|
||||
|
||||
%files
|
||||
%defattr(-,root,root,-)
|
||||
%doc Changes examples/
|
||||
%doc Changes examples
|
||||
%{_bindir}/pod_cover
|
||||
%{perl_vendorlib}/Pod/
|
||||
%{_mandir}/man3/Pod::Coverage.3pm*
|
||||
@ -54,6 +61,11 @@ rm -rf $RPM_BUILD_ROOT
|
||||
%{_mandir}/man3/Pod::Coverage::Overloader.3pm*
|
||||
|
||||
%changelog
|
||||
* Wed Feb 08 2012 Petr Šabata <contyk@redhat.com> - 0.22-1
|
||||
- 0.22 bump
|
||||
- Switch to EE::MM
|
||||
- Modernize spec
|
||||
|
||||
* Fri Jan 13 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.21-5
|
||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_17_Mass_Rebuild
|
||||
|
||||
|
||||
Loading…
Reference in New Issue
Block a user