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

Michel Alexandre Salim salimma at fedoraproject.org
Fri Oct 19 01:26:48 UTC 2012


commit fdd8143abe20a900daaa53be83608046a951ffe8
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 6f83850..244d58f 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
+
 * Sat Jul 21 2012 Fedora Release Engineering <rel-eng at lists.fedoraproject.org> - 0.14-2
 - Rebuilt for https://fedoraproject.org/wiki/Fedora_18_Mass_Rebuild
 


More information about the scm-commits mailing list