[perl-MIME-Lite-HTML] Fix FTBS by removing tests broken by MIME::Lite 3.029 (RHBZ#914295)

Xavier Bachelot xavierb at fedoraproject.org
Wed Oct 23 13:20:22 UTC 2013


commit db58ca99b4210e2570ea0fecadf30b5958906f87
Author: Xavier Bachelot <xavier at bachelot.org>
Date:   Wed Oct 23 15:20:14 2013 +0200

    Fix FTBS by removing tests broken by MIME::Lite 3.029 (RHBZ#914295)

 perl-MIME-Lite-HTML.spec |   14 ++++++++++++--
 1 files changed, 12 insertions(+), 2 deletions(-)
---
diff --git a/perl-MIME-Lite-HTML.spec b/perl-MIME-Lite-HTML.spec
index 358b43d..f6a99f5 100644
--- a/perl-MIME-Lite-HTML.spec
+++ b/perl-MIME-Lite-HTML.spec
@@ -1,6 +1,6 @@
 Name:           perl-MIME-Lite-HTML
 Version:        1.24
-Release:        7%{?dist}
+Release:        8%{?dist}
 Summary:        Provide routine to transform a HTML page in a MIME-Lite mail
 License:        GPL+ or Artistic
 Group:          Development/Libraries
@@ -49,6 +49,13 @@ find $RPM_BUILD_ROOT -depth -type d -exec rmdir {} 2>/dev/null \;
 
 
 %check
+# The 2 following tests are broken by MIME::Lite 3.029
+# Headers order is not quaranteed so relying on that to test the module is
+# doomed to fail.
+# Relevant bugs :
+# MIME::Lite::HTML : http://rt.cpan.org/Public/Bug/Display.html?id=86020
+# MIME::Lite : https://rt.cpan.org/Public/Bug/Display.html?id=79944
+rm -f t/20create_image_part.t t/50generic.t 
 make test
 
 
@@ -64,6 +71,9 @@ rm -rf $RPM_BUILD_ROOT
 
 
 %changelog
+* Tue Oct 22 2013 Xavier Bachelot <xavier at bachelot.org> 1.24-8
+- Fix FTBS by removing tests broken by MIME::Lite 3.029 (RHBZ#914295).
+
 * Sat Aug 03 2013 Fedora Release Engineering <rel-eng at lists.fedoraproject.org> - 1.24-7
 - Rebuilt for https://fedoraproject.org/wiki/Fedora_20_Mass_Rebuild
 
@@ -82,7 +92,7 @@ rm -rf $RPM_BUILD_ROOT
 * Fri Jan 13 2012 Fedora Release Engineering <rel-eng at lists.fedoraproject.org> - 1.24-2
 - Rebuilt for https://fedoraproject.org/wiki/Fedora_17_Mass_Rebuild
 
-* Thu Oct 10 2011 Xavier Bachelot <xavier at bachelot.org> 1.24-1
+* Mon Oct 10 2011 Xavier Bachelot <xavier at bachelot.org> 1.24-1
 - Update to 1.24.
 
 * Wed Jul 20 2011 Petr Sabata <contyk at redhat.com> - 1.23-3


More information about the scm-commits mailing list