[summain/f17] When building for EL6, skip unavailable package checks

Michel Alexandre Salim salimma at fedoraproject.org
Tue Feb 26 07:40:14 UTC 2013


commit e05b2193d026e1c00d4202552288dc065292be52
Author: Michel Alexandre Salim <salimma at fedoraproject.org>
Date:   Fri Oct 19 08:17:15 2012 +0700

    When building for EL6, skip unavailable package checks

 summain.spec |    7 +++++++
 1 files changed, 7 insertions(+), 0 deletions(-)
---
diff --git a/summain.spec b/summain.spec
index 50c37cf..60f288d 100644
--- a/summain.spec
+++ b/summain.spec
@@ -46,7 +46,11 @@ chmod 755 %{buildroot}%{python_sitearch}/_summain.so
 
 
 %check
+%if 0%{?fedora}
+# check not part of EL6's python
+# TODO: replace this with proper test suite once available
 %{__python} setup.py check
+%endif
 
 
 %files
@@ -57,6 +61,9 @@ chmod 755 %{buildroot}%{python_sitearch}/_summain.so
 
 
 %changelog
+* Fri Oct 19 2012 Michel Salim <salimma at fedoraproject.org> - 0.14-2.1
+- When building for EL6, skip unavailable package checks
+
 * Wed Jul  4 2012 Michel Salim <salimma at fedoraproject.org> - 0.14-1
 - Update to 0.14
 


More information about the scm-commits mailing list