diff options
author | Brent Eagles <brent@zeroc.com> | 2005-10-12 13:41:33 +0000 |
---|---|---|
committer | Brent Eagles <brent@zeroc.com> | 2005-10-12 13:41:33 +0000 |
commit | 9d12ec6c245e2444880006fe0294166c57a9e2ff (patch) | |
tree | 72ef28cbe86d1a45b5c7c2a3f08038ca7b984e20 /cpp/makebindist.py | |
parent | Fix bug 480 - default service identities (diff) | |
download | ice-9d12ec6c245e2444880006fe0294166c57a9e2ff.tar.bz2 ice-9d12ec6c245e2444880006fe0294166c57a9e2ff.tar.xz ice-9d12ec6c245e2444880006fe0294166c57a9e2ff.zip |
Initial 64 bit rpm support.
Diffstat (limited to 'cpp/makebindist.py')
-rwxr-xr-x | cpp/makebindist.py | 7 |
1 files changed, 5 insertions, 2 deletions
diff --git a/cpp/makebindist.py b/cpp/makebindist.py index 4c94a022070..e02afe359e1 100755 --- a/cpp/makebindist.py +++ b/cpp/makebindist.py @@ -1015,12 +1015,15 @@ def main(): # probably blow up unless the user that is running the script has # massaged the permissions on /usr/src/redhat/. # - if getPlatform() == 'linux' and not cvsMode: + if getPlatform().startswith('linux') and not cvsMode: os.system('cp ' + installDir + '/Ice-' + version + '-demos.tar.gz /usr/src/redhat/SOURCES') os.system('cp ' + sources + '/Ice*.tar.gz /usr/src/redhat/SOURCES') shutil.copy(installFiles + '/unix/README.Linux-RPM', '/usr/src/redhat/SOURCES/README.Linux-RPM') shutil.copy(installFiles + '/unix/README.Linux-RPM', installDir + '/Ice-' + version + '/README') - RPMTools.createRPMSFromBinaries(buildDir, installDir, version, soVersion) + if getPlatform() == 'linux64': + RPMTools.createRPMSFromBinaries64(buildDir, installDir, version, soVersion) + else: + RPMTools.createRPMSFromBinaries(buildDir, installDir, version, soVersion) # # TODO: Cleanups? I've left everything in place so that the process |