Disable author tests on bootstrap
This commit is contained in:
parent
795370ea5b
commit
5fcfb2dd2c
@ -3,7 +3,7 @@
|
|||||||
|
|
||||||
Name: perl-CPAN-Meta-YAML
|
Name: perl-CPAN-Meta-YAML
|
||||||
Version: 0.008
|
Version: 0.008
|
||||||
Release: 3%{?dist}
|
Release: 4%{?dist}
|
||||||
Summary: Read and write a subset of YAML for CPAN Meta files
|
Summary: Read and write a subset of YAML for CPAN Meta files
|
||||||
License: GPL+ or Artistic
|
License: GPL+ or Artistic
|
||||||
Group: Development/Libraries
|
Group: Development/Libraries
|
||||||
@ -14,12 +14,15 @@ BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(id -nu)
|
|||||||
BuildArch: noarch
|
BuildArch: noarch
|
||||||
BuildRequires: perl(ExtUtils::MakeMaker)
|
BuildRequires: perl(ExtUtils::MakeMaker)
|
||||||
BuildRequires: perl(File::Spec)
|
BuildRequires: perl(File::Spec)
|
||||||
|
# Tests:
|
||||||
|
BuildRequires: perl(Test::More)
|
||||||
|
BuildRequires: perl(YAML)
|
||||||
|
%if !%{defined perl_bootstrap}
|
||||||
# Version 1.113620 needed for "UTF"; RHEL-7 package cannot have buildreq from EPEL-7
|
# Version 1.113620 needed for "UTF"; RHEL-7 package cannot have buildreq from EPEL-7
|
||||||
%if 0%{?rhel} < 7
|
%if 0%{?rhel} < 7
|
||||||
BuildRequires: perl(Pod::Wordlist::hanekomu) >= 1.113620
|
BuildRequires: perl(Pod::Wordlist::hanekomu) >= 1.113620
|
||||||
%endif
|
%endif
|
||||||
BuildRequires: perl(Test::CPAN::Meta)
|
BuildRequires: perl(Test::CPAN::Meta)
|
||||||
BuildRequires: perl(Test::More)
|
|
||||||
BuildRequires: perl(Test::Pod)
|
BuildRequires: perl(Test::Pod)
|
||||||
BuildRequires: perl(Test::Requires)
|
BuildRequires: perl(Test::Requires)
|
||||||
BuildRequires: perl(Test::Spelling), aspell-en
|
BuildRequires: perl(Test::Spelling), aspell-en
|
||||||
@ -27,7 +30,7 @@ BuildRequires: perl(Test::Spelling), aspell-en
|
|||||||
%if 0%{?fedora} || 0%{?rhel} > 6
|
%if 0%{?fedora} || 0%{?rhel} > 6
|
||||||
BuildRequires: perl(Test::Version)
|
BuildRequires: perl(Test::Version)
|
||||||
%endif
|
%endif
|
||||||
BuildRequires: perl(YAML)
|
%endif
|
||||||
Requires: perl(:MODULE_COMPAT_%(eval "`perl -V:version`"; echo $version))
|
Requires: perl(:MODULE_COMPAT_%(eval "`perl -V:version`"; echo $version))
|
||||||
|
|
||||||
%description
|
%description
|
||||||
@ -54,6 +57,9 @@ find %{buildroot} -type f -name .packlist -exec rm -f {} \;
|
|||||||
%{_fixperms} %{buildroot}
|
%{_fixperms} %{buildroot}
|
||||||
|
|
||||||
%check
|
%check
|
||||||
|
%if %{defined perl_bootstrap}
|
||||||
|
rm -rf xt
|
||||||
|
%endif
|
||||||
make test TEST_FILES="t/*.t xt/*/*.t"
|
make test TEST_FILES="t/*.t xt/*/*.t"
|
||||||
|
|
||||||
%clean
|
%clean
|
||||||
@ -65,6 +71,9 @@ rm -rf %{buildroot}
|
|||||||
%{_mandir}/man3/CPAN::Meta::YAML.3pm*
|
%{_mandir}/man3/CPAN::Meta::YAML.3pm*
|
||||||
|
|
||||||
%changelog
|
%changelog
|
||||||
|
* Fri Jun 01 2012 Petr Pisar <ppisar@redhat.com> - 0.008-4
|
||||||
|
- Disable author tests on bootstrap
|
||||||
|
|
||||||
* Mon Apr 23 2012 Marcela Mašláňová <mmaslano@redhat.com> - 0.008-3
|
* Mon Apr 23 2012 Marcela Mašláňová <mmaslano@redhat.com> - 0.008-3
|
||||||
- Data::Dumper is not really needed, dependencies must be fixed in YAML
|
- Data::Dumper is not really needed, dependencies must be fixed in YAML
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user