Source

scons_eyan / test / packaging / rpm / multipackage.py

Diff from to

File test/packaging/rpm/multipackage.py

 import TestSCons
 
 machine = TestSCons.machine
+try:
+    # Try to get the actual machine type (like i586), since
+    # TestSCons maps all ix86 types to a i386 machine internally.
+    import os
+    machine = os.uname()[4]
+except AttributeError:
+    pass
 _python_ = TestSCons._python_
 
 test = TestSCons.TestSCons()