[perl-App-find2perl] Disable a test when bootstrapping because of non-core Devel::FindPerl

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

 



commit c2ae212c0bad96b98b2bdef2fd553f619a8c621a
Author: Petr Písař <ppisar@xxxxxxxxxx>
Date:   Thu Jan 8 10:33:36 2015 +0100

    Disable a test when bootstrapping because of non-core Devel::FindPerl

 perl-App-find2perl.spec |   19 ++++++++++++++++++-
 1 files changed, 18 insertions(+), 1 deletions(-)
---
diff --git a/perl-App-find2perl.spec b/perl-App-find2perl.spec
index 796cce7..4a61eed 100644
--- a/perl-App-find2perl.spec
+++ b/perl-App-find2perl.spec
@@ -1,6 +1,6 @@
 Name:           perl-App-find2perl
 Version:        1.003
-Release:        2%{?dist}
+Release:        3%{?dist}
 Summary:        Translate find command lines to Perl code
 License:        GPL+ or Artistic
 Group:          Development/Tools
@@ -18,18 +18,28 @@ BuildRequires:  perl(File::Find)
 BuildRequires:  perl(File::Spec::Functions)
 BuildRequires:  perl(vars)
 # Tests:
+%if !%{defined perl_bootstrap}
 BuildRequires:  perl(constant)
 BuildRequires:  perl(Devel::FindPerl) >= 0.009
 BuildRequires:  perl(File::Path)
+%endif
 BuildRequires:  perl(File::Spec)
+%if !%{defined perl_bootstrap}
 BuildRequires:  perl(File::Temp)
+%endif
 BuildRequires:  perl(IO::Handle)
+%if !%{defined perl_bootstrap}
 BuildRequires:  perl(IPC::Open2)
+%endif
 BuildRequires:  perl(IPC::Open3)
+%if !%{defined perl_bootstrap}
 BuildRequires:  perl(open)
 BuildRequires:  perl(Perl::OSType)
+%endif
 BuildRequires:  perl(Test::More)
+%if !%{defined perl_bootstrap}
 BuildRequires:  %{_bindir}/find
+%endif
 Requires:       perl(:MODULE_COMPAT_%(eval "`perl -V:version`"; echo $version))
 Conflicts:      perl < 4:5.18.2-300
 
@@ -39,6 +49,10 @@ find command lines to equivalent Perl code.
 
 %prep
 %setup -q -n App-find2perl-%{version}
+%if %{defined perl_bootstrap}
+rm t/find2perl.t
+sed -i -e '/^t\/find2perl.t/d' MANIFEST
+%endif
 
 %build
 perl Makefile.PL INSTALLDIRS=vendor
@@ -58,6 +72,9 @@ make test
 %{_mandir}/man1/*
 
 %changelog
+* Thu Jan 08 2015 Petr Pisar <ppisar@xxxxxxxxxx> - 1.003-3
+- Disable a test when bootstrapping because of non-core Devel::FindPerl
+
 * Wed Aug 27 2014 Jitka Plesnikova <jplesnik@xxxxxxxxxx> - 1.003-2
 - Perl 5.20 rebuild
 
--
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