Disable author tests on RHEL >= 7
This commit is contained in:
parent
a12bed2df6
commit
34081adef9
@ -1,6 +1,6 @@
|
||||
Name: perl-Package-Stash-XS
|
||||
Version: 0.25
|
||||
Release: 6%{?dist}
|
||||
Release: 7%{?dist}
|
||||
Summary: Faster and more correct implementation of the Package::Stash API
|
||||
Group: Development/Libraries
|
||||
License: GPL+ or Artistic
|
||||
@ -17,7 +17,9 @@ BuildRequires: perl(Pod::Coverage::TrustPod)
|
||||
BuildRequires: perl(Scalar::Util)
|
||||
BuildRequires: perl(Test::EOL)
|
||||
BuildRequires: perl(Test::Fatal)
|
||||
%if ! (0%{?rhel} >= 7)
|
||||
BuildRequires: perl(Test::LeakTrace)
|
||||
%endif
|
||||
BuildRequires: perl(Test::More)
|
||||
BuildRequires: perl(Test::NoTabs)
|
||||
BuildRequires: perl(Test::Pod)
|
||||
@ -53,7 +55,11 @@ find %{buildroot} -type f -name '*.bs' -a -size 0 -exec rm -f {} ';'
|
||||
%{_fixperms} %{buildroot}
|
||||
|
||||
%check
|
||||
%if ! (0%{?rhel} >= 7)
|
||||
make test AUTHOR_TESTING=1 RELEASE_TESTING=1
|
||||
%else
|
||||
make test RELEASE_TESTING=1
|
||||
%endif
|
||||
|
||||
%clean
|
||||
rm -rf %{buildroot}
|
||||
@ -65,6 +71,9 @@ rm -rf %{buildroot}
|
||||
%{_mandir}/man3/Package::Stash::XS.3pm*
|
||||
|
||||
%changelog
|
||||
* Mon Aug 27 2012 Petr Pisar <ppisar@redhat.com> - 0.25-7
|
||||
- Disable author tests on RHEL >= 7
|
||||
|
||||
* Sat Aug 25 2012 Paul Howarth <paul@city-fan.org> - 0.25-6
|
||||
- Drop EPEL-4 support
|
||||
- Test::LeakTrace now universally available
|
||||
|
Loading…
Reference in New Issue
Block a user