[perl-Test-Pod-No404s] 0.02 bump

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



commit e079e7c20e413b6333293fdb933adcda51a39be1
Author: Petr Písař <ppisar@xxxxxxxxxx>
Date:   Tue Nov 4 14:32:42 2014 +0100

    0.02 bump

 .gitignore                |    1 +
 perl-Test-Pod-No404s.spec |   60 +++++++++++++++++++++++---------------------
 sources                   |    2 +-
 3 files changed, 33 insertions(+), 30 deletions(-)
---
diff --git a/.gitignore b/.gitignore
index 8493a05..0345ebf 100644
--- a/.gitignore
+++ b/.gitignore
@@ -1 +1,2 @@
 /Test-Pod-No404s-0.01.tar.gz
+/Test-Pod-No404s-0.02.tar.gz
diff --git a/perl-Test-Pod-No404s.spec b/perl-Test-Pod-No404s.spec
index 9975617..9153565 100644
--- a/perl-Test-Pod-No404s.spec
+++ b/perl-Test-Pod-No404s.spec
@@ -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@xxxxxxxxxx> - 0.02-1
+- 0.02 bump
+
 * Sun Sep 07 2014 Jitka Plesnikova <jplesnik@xxxxxxxxxx> - 0.01-11
 - Perl 5.20 re-rebuild of bootstrapped packages
 
diff --git a/sources b/sources
index 49d4a1b..c77d957 100644
--- a/sources
+++ b/sources
@@ -1 +1 @@
-828d11730b2a133d3150d0eb83674424  Test-Pod-No404s-0.01.tar.gz
+3d62652f4a9310856d286b181be8153e  Test-Pod-No404s-0.02.tar.gz
--
Fedora Extras Perl SIG
http://www.fedoraproject.org/wiki/Extras/SIGs/Perl
perl-devel mailing list
perl-devel@xxxxxxxxxxxxxxxxxxxxxxx
https://admin.fedoraproject.org/mailman/listinfo/perl-devel





[Index of Archives]     [Fedora Announce]     [Fedora Kernel]     [Fedora Testing]     [Fedora Legacy Announce]     [Fedora PHP Devel]     [Kernel Devel]     [Fedora Legacy]     [Fedora Maintainers]     [Fedora Desktop]     [PAM]     [Red Hat Development]     [Big List of Linux Books]     [Gimp]     [Yosemite Information]
  Powered by Linux