[perl-Module-Metadata] Skip optional POD tests on bootstrap

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

 



commit c12d004e3534103e7741d4c7c7dc76fc2dc28f4c
Author: Petr Písař <ppisar@xxxxxxxxxx>
Date:   Fri Jun 1 15:02:03 2012 +0200

    Skip optional POD tests on bootstrap

 perl-Module-Metadata.spec |    9 ++++++++-
 1 files changed, 8 insertions(+), 1 deletions(-)
---
diff --git a/perl-Module-Metadata.spec b/perl-Module-Metadata.spec
index 459b4c5..88826c3 100644
--- a/perl-Module-Metadata.spec
+++ b/perl-Module-Metadata.spec
@@ -1,6 +1,6 @@
 Name:		perl-Module-Metadata
 Version:	1.000009
-Release:	1%{?dist}
+Release:	2%{?dist}
 Summary:	Gather package and POD information from perl module files
 License:	GPL+ or Artistic
 Group:		Development/Libraries
@@ -29,8 +29,10 @@ BuildRequires:	perl(File::Path)
 BuildRequires:	perl(lib)
 BuildRequires:	perl(Test::More)
 # Release tests
+%if !%{defined perl_bootstrap}
 BuildRequires:	perl(Test::Pod)
 BuildRequires:	perl(Test::Pod::Coverage)
+%endif
 # Runtime
 Requires:	perl(:MODULE_COMPAT_%(eval "`perl -V:version`"; echo $version))
 
@@ -53,7 +55,9 @@ find %{buildroot} -depth -type d -exec rmdir {} \; 2>/dev/null
 
 %check
 make test
+%if !%{defined perl_bootstrap}
 make test TEST_FILES="xt/*.t"
+%endif
 
 %files
 %defattr(-,root,root,-)
@@ -62,6 +66,9 @@ make test TEST_FILES="xt/*.t"
 %{_mandir}/man3/Module::Metadata.3pm*
 
 %changelog
+* Fri Jun 01 2012 Petr Pisar <ppisar@xxxxxxxxxx> - 1.000009-2
+- Skip optional POD tests on bootstrap
+
 * Thu Feb  9 2012 Paul Howarth <paul@xxxxxxxxxxxx> - 1.000009-1
 - Update to 1.000009
   - Adds 'provides' method to generate a CPAN META provides data structure
--
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