0.02 bump
This commit is contained in:
parent
8a0518e6ab
commit
e079e7c20e
|
@ -1 +1,2 @@
|
|||
/Test-Pod-No404s-0.01.tar.gz
|
||||
/Test-Pod-No404s-0.02.tar.gz
|
||||
|
|
|
@ -1,42 +1,42 @@
|
|||
# Remove once apocalypse gets into build root. But keep the BuildRequires
|
||||
# conditional blocks to utlize apocalypse during futher package life.
|
||||
%define perl_bootstrap 1
|
||||
|
||||
Name: perl-Test-Pod-No404s
|
||||
Version: 0.01
|
||||
Release: 11%{?dist}
|
||||
Version: 0.02
|
||||
Release: 1%{?dist}
|
||||
Summary: Checks POD for HTTP 404 links
|
||||
License: GPL+ or Artistic
|
||||
Group: Development/Libraries
|
||||
URL: http://search.cpan.org/dist/Test-Pod-No404s/
|
||||
Source0: http://www.cpan.org/authors/id/A/AP/APOCAL/Test-Pod-No404s-%{version}.tar.gz
|
||||
BuildArch: noarch
|
||||
BuildRequires: perl(Module::Build)
|
||||
BuildRequires: perl
|
||||
# ExtUtils::MakeMaker not needed
|
||||
BuildRequires: perl(Module::Build::Tiny) >= 0.039
|
||||
BuildRequires: perl(strict)
|
||||
BuildRequires: perl(warnings)
|
||||
# Run-Time:
|
||||
BuildRequires: perl(LWP::UserAgent) >= 5.834
|
||||
BuildRequires: perl(Pod::Simple::Text) >= 3.13
|
||||
BuildRequires: perl(Test::Builder) >= 0.94
|
||||
BuildRequires: perl(Test::Pod) >= 1.40
|
||||
BuildRequires: perl(URI::Find) >= 20090319
|
||||
BuildRequires: perl(Exporter)
|
||||
BuildRequires: perl(LWP::UserAgent)
|
||||
BuildRequires: perl(parent)
|
||||
BuildRequires: perl(Pod::Simple::Text)
|
||||
BuildRequires: perl(Test::Builder)
|
||||
BuildRequires: perl(Test::Pod)
|
||||
BuildRequires: perl(URI::Find)
|
||||
# Tests:
|
||||
BuildRequires: perl(Test::More)
|
||||
BuildRequires: perl(File::Spec)
|
||||
BuildRequires: perl(File::Temp)
|
||||
BuildRequires: perl(IO::Handle)
|
||||
BuildRequires: perl(IPC::Open3)
|
||||
BuildRequires: perl(Test::More) >= 0.88
|
||||
# Optional tests:
|
||||
BuildRequires: perl(Test::NoWarnings)
|
||||
# Break build-time cycle with perl-Test-Apocalypse
|
||||
%if %{undefined perl_bootstrap}
|
||||
BuildRequires: perl(Test::Apocalypse)
|
||||
BuildRequires: perl(Test::Pod)
|
||||
BuildRequires: perl(Test::Pod::Coverage)
|
||||
BuildRequires: perl(Test::Apocalypse) >= 1.000
|
||||
%endif
|
||||
Requires: perl(:MODULE_COMPAT_%(eval "`%{__perl} -V:version`"; echo $version))
|
||||
Requires: perl(LWP::UserAgent) >= 5.834
|
||||
Requires: perl(Pod::Simple::Text) >= 3.13
|
||||
Requires: perl(Test::Builder) >= 0.94
|
||||
Requires: perl(Test::Pod) >= 1.40
|
||||
Requires: perl(URI::Find) >= 20090319
|
||||
Requires: perl(:MODULE_COMPAT_%(eval "`perl -V:version`"; echo $version))
|
||||
# Inject correct provide, bug #1160263
|
||||
Provides: perl(Test::Pod::No404s) = %{version}
|
||||
|
||||
# Remove under-specified dependencies
|
||||
%global __requires_exclude %{?__requires_exclude:%__requires_exclude|}^perl\\((LWP::UserAgent|Pod::Simple::Text|Test::Builder|Test::Pod|URI::Find)\\)$
|
||||
# Filter bogus provide, bug #1160263
|
||||
%global __provides_exclude %{?__provides_exclude:%__provides_exclude|}^perl\\(Test::Pod::No404s\\) = 404$
|
||||
|
||||
%description
|
||||
This module looks for any HTTP(S) links in your POD and verifies that they
|
||||
|
@ -48,23 +48,25 @@ it uses $response->is_error as the "test".
|
|||
%setup -q -n Test-Pod-No404s-%{version}
|
||||
|
||||
%build
|
||||
%{__perl} Build.PL installdirs=vendor
|
||||
perl Build.PL --installdirs=vendor
|
||||
./Build
|
||||
|
||||
%install
|
||||
./Build install destdir=$RPM_BUILD_ROOT create_packlist=0
|
||||
find $RPM_BUILD_ROOT -depth -type d -exec rmdir {} 2>/dev/null \;
|
||||
./Build install "--destdir=$RPM_BUILD_ROOT" --create_packlist=0
|
||||
%{_fixperms} $RPM_BUILD_ROOT/*
|
||||
|
||||
%check
|
||||
./Build test
|
||||
|
||||
%files
|
||||
%doc Changes examples LICENSE README
|
||||
%doc AUTHOR_PLEDGE Changes CommitLog examples LICENSE README
|
||||
%{perl_vendorlib}/*
|
||||
%{_mandir}/man3/*
|
||||
|
||||
%changelog
|
||||
* Tue Nov 04 2014 Petr Pisar <ppisar@redhat.com> - 0.02-1
|
||||
- 0.02 bump
|
||||
|
||||
* Sun Sep 07 2014 Jitka Plesnikova <jplesnik@redhat.com> - 0.01-11
|
||||
- Perl 5.20 re-rebuild of bootstrapped packages
|
||||
|
||||
|
|
Loading…
Reference in New Issue