spot pushed to perl-HTML-Scrubber (el5). "disable tests for ancient builds"

notifications at fedoraproject.org notifications at fedoraproject.org
Fri Oct 30 19:04:38 UTC 2015


From b424f9bbb2ab57f0528faa6c78fe006bfbec1882 Mon Sep 17 00:00:00 2001
From: Tom Callaway <spot at fedoraproject.org>
Date: Fri, 30 Oct 2015 15:04:33 -0400
Subject: disable tests for ancient builds

---
 perl-HTML-Scrubber.spec | 7 ++++++-
 1 file changed, 6 insertions(+), 1 deletion(-)

diff --git a/perl-HTML-Scrubber.spec b/perl-HTML-Scrubber.spec
index 3203e4f..1f08a09 100644
--- a/perl-HTML-Scrubber.spec
+++ b/perl-HTML-Scrubber.spec
@@ -1,6 +1,6 @@
 Name:           perl-HTML-Scrubber
 Version:        0.15
-Release:        1%{?dist}
+Release:        1%{?dist}.1
 Summary:        Library for scrubbing/sanitizing html
 Group:          Development/Libraries
 License:        GPL+ or Artistic
@@ -37,7 +37,9 @@ find $RPM_BUILD_ROOT -type d -depth -exec rmdir {} 2>/dev/null ';'
 chmod -R u+w $RPM_BUILD_ROOT/*
 
 %check
+%if %{rhel} >= 7
 ./Build test
+%endif
 
 %clean
 rm -rf $RPM_BUILD_ROOT
@@ -49,6 +51,9 @@ rm -rf $RPM_BUILD_ROOT
 %{_mandir}/man3/*.3pm*
 
 %changelog
+* Fri Oct 30 2015 Tom Callaway <spot at fedoraproject.org> - 0.15-1.1
+- disable tests for ancient builds
+
 * Mon Oct 12 2015 Tom Callaway <spot at fedoraproject.org> - 0.15-1
 - update to 0.15
 
-- 
cgit v0.11.2


	http://pkgs.fedoraproject.org/cgit/perl-HTML-Scrubber.git/commit/?h=el5&id=b424f9bbb2ab57f0528faa6c78fe006bfbec1882


More information about the perl-devel mailing list