diff options
Diffstat (limited to 'test/packaging/rpm/package.py')
-rw-r--r-- | test/packaging/rpm/package.py | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/test/packaging/rpm/package.py b/test/packaging/rpm/package.py index 14da4bb..3a55e33 100644 --- a/test/packaging/rpm/package.py +++ b/test/packaging/rpm/package.py @@ -32,6 +32,13 @@ import os 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() |