commit 34081adef9d79db49e02f60a2572eb8176c725a6 Author: Petr Písař <ppisar@xxxxxxxxxx> Date: Mon Aug 27 14:58:18 2012 +0200 Disable author tests on RHEL >= 7 perl-Package-Stash-XS.spec | 11 ++++++++++- 1 files changed, 10 insertions(+), 1 deletions(-) --- diff --git a/perl-Package-Stash-XS.spec b/perl-Package-Stash-XS.spec index 33b6bf7..ba7feb6 100644 --- a/perl-Package-Stash-XS.spec +++ b/perl-Package-Stash-XS.spec @@ -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@xxxxxxxxxx> - 0.25-7 +- Disable author tests on RHEL >= 7 + * Sat Aug 25 2012 Paul Howarth <paul@xxxxxxxxxxxx> - 0.25-6 - Drop EPEL-4 support - Test::LeakTrace now universally available -- 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