Disable author tests on RHEL >= 7
This commit is contained in:
parent
e562923a10
commit
319bda04e8
@ -3,7 +3,7 @@
|
|||||||
|
|
||||||
Name: perl-Package-Stash
|
Name: perl-Package-Stash
|
||||||
Version: 0.33
|
Version: 0.33
|
||||||
Release: 6%{?dist}
|
Release: 7%{?dist}
|
||||||
Summary: Routines for manipulating stashes
|
Summary: Routines for manipulating stashes
|
||||||
Group: Development/Libraries
|
Group: Development/Libraries
|
||||||
License: GPL+ or Artistic
|
License: GPL+ or Artistic
|
||||||
@ -21,16 +21,19 @@ BuildRequires: perl(File::Temp)
|
|||||||
BuildRequires: perl(lib)
|
BuildRequires: perl(lib)
|
||||||
BuildRequires: perl(Package::DeprecationManager)
|
BuildRequires: perl(Package::DeprecationManager)
|
||||||
BuildRequires: perl(Package::Stash::XS) >= 0.24
|
BuildRequires: perl(Package::Stash::XS) >= 0.24
|
||||||
BuildRequires: perl(Pod::Coverage::TrustPod)
|
|
||||||
BuildRequires: perl(Scalar::Util)
|
BuildRequires: perl(Scalar::Util)
|
||||||
BuildRequires: perl(Test::EOL)
|
|
||||||
BuildRequires: perl(Test::Fatal)
|
BuildRequires: perl(Test::Fatal)
|
||||||
BuildRequires: perl(Test::More)
|
BuildRequires: perl(Test::More)
|
||||||
|
BuildRequires: perl(Test::Requires)
|
||||||
|
# Optional tests:
|
||||||
|
%if ! (0%{?rhel} >= 7)
|
||||||
|
BuildRequires: perl(Pod::Coverage::TrustPod)
|
||||||
|
BuildRequires: perl(Test::EOL)
|
||||||
|
BuildRequires: perl(Test::LeakTrace)
|
||||||
BuildRequires: perl(Test::NoTabs)
|
BuildRequires: perl(Test::NoTabs)
|
||||||
BuildRequires: perl(Test::Pod)
|
BuildRequires: perl(Test::Pod)
|
||||||
BuildRequires: perl(Test::Pod::Coverage)
|
BuildRequires: perl(Test::Pod::Coverage)
|
||||||
BuildRequires: perl(Test::Requires)
|
%endif
|
||||||
BuildRequires: perl(Test::LeakTrace)
|
|
||||||
BuildRequires: perl(Test::Script)
|
BuildRequires: perl(Test::Script)
|
||||||
Requires: perl(:MODULE_COMPAT_%(eval "`perl -V:version`"; echo $version))
|
Requires: perl(:MODULE_COMPAT_%(eval "`perl -V:version`"; echo $version))
|
||||||
# For performance and consistency
|
# For performance and consistency
|
||||||
@ -62,7 +65,11 @@ find %{buildroot} -type f -name .packlist -exec rm -f {} \;
|
|||||||
%{_fixperms} %{buildroot}
|
%{_fixperms} %{buildroot}
|
||||||
|
|
||||||
%check
|
%check
|
||||||
|
%if ! (0%{?rhel} >= 7)
|
||||||
make test AUTHOR_TESTING=1 RELEASE_TESTING=1
|
make test AUTHOR_TESTING=1 RELEASE_TESTING=1
|
||||||
|
%else
|
||||||
|
make test
|
||||||
|
%endif
|
||||||
|
|
||||||
%clean
|
%clean
|
||||||
rm -rf %{buildroot}
|
rm -rf %{buildroot}
|
||||||
@ -75,6 +82,9 @@ rm -rf %{buildroot}
|
|||||||
%{_mandir}/man3/Package::Stash::PP.3pm*
|
%{_mandir}/man3/Package::Stash::PP.3pm*
|
||||||
|
|
||||||
%changelog
|
%changelog
|
||||||
|
* Mon Aug 27 2012 Petr Pisar <ppisar@redhat.com> - 0.33-7
|
||||||
|
- Disable author tests on RHEL >= 7
|
||||||
|
|
||||||
* Fri Aug 24 2012 Paul Howarth <paul@city-fan.org> - 0.33-6
|
* Fri Aug 24 2012 Paul Howarth <paul@city-fan.org> - 0.33-6
|
||||||
- Drop EPEL-4 support
|
- Drop EPEL-4 support
|
||||||
- Drop %%defattr, redundant since rpm 4.4
|
- Drop %%defattr, redundant since rpm 4.4
|
||||||
|
Loading…
Reference in New Issue
Block a user