[perl-MIME-Lite-HTML/el5] disable tests for EL5

Xavier Bachelot xavierb at fedoraproject.org
Tue May 24 22:11:32 UTC 2011


commit 01a6e282ad0042dbe8fa13af0f0902b49a172745
Author: Xavier Bachelot <xavier at bachelot.org>
Date:   Wed May 25 00:11:14 2011 +0200

    disable tests for EL5

 perl-MIME-Lite-HTML.spec |    7 ++++++-
 1 files changed, 6 insertions(+), 1 deletions(-)
---
diff --git a/perl-MIME-Lite-HTML.spec b/perl-MIME-Lite-HTML.spec
index d2c28ac..c509ab2 100644
--- a/perl-MIME-Lite-HTML.spec
+++ b/perl-MIME-Lite-HTML.spec
@@ -1,6 +1,6 @@
 Name:           perl-MIME-Lite-HTML
 Version:        1.23
-Release:        2%{?dist}
+Release:        2%{?dist}.1
 Summary:        Provide routine to transform a HTML page in a MIME-Lite mail
 License:        GPL+ or Artistic
 Group:          Development/Libraries
@@ -49,7 +49,9 @@ find $RPM_BUILD_ROOT -depth -type d -exec rmdir {} 2>/dev/null \;
 
 
 %check
+%if 0%{?rhel} > 5 || 0%{?fedora}
 make test
+%endif
 
 
 %clean
@@ -64,6 +66,9 @@ rm -rf $RPM_BUILD_ROOT
 
 
 %changelog
+* Tue May 24 2011 Xavier Bachelot <xavier at bachelot.org> 1.23-2.1
+- Disable tests on EL5.
+
 * Thu May 19 2011 Xavier Bachelot <xavier at bachelot.org> 1.23-2
 - Clean up redundant Requires:.
 


More information about the scm-commits mailing list