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

Michel Alexandre Salim salimma at fedoraproject.org
Fri Oct 19 01:17:28 UTC 2012


commit 1e6acbfa089fa8851aeb3b186fcae488f8c28d1a
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 |    9 ++++++++-
 1 files changed, 8 insertions(+), 1 deletions(-)
---
diff --git a/summain.spec b/summain.spec
index 50c37cf..1e632ef 100644
--- a/summain.spec
+++ b/summain.spec
@@ -1,6 +1,6 @@
 Name:           summain
 Version:        0.14
-Release:        1%{?dist}
+Release:        2%{?dist}
 Summary:        File manifest generator
 
 License:        GPLv3+
@@ -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
+- 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