diff options
author | Brent Eagles <brent@zeroc.com> | 2005-10-24 10:28:54 +0000 |
---|---|---|
committer | Brent Eagles <brent@zeroc.com> | 2005-10-24 10:28:54 +0000 |
commit | c8aad0fd39ba0cb0c12e9a5baa146797672f0824 (patch) | |
tree | be53c70960bffa252f27d36a564b95b123442bf0 /cpp/makebindist.py | |
parent | Fixes (diff) | |
download | ice-c8aad0fd39ba0cb0c12e9a5baa146797672f0824.tar.bz2 ice-c8aad0fd39ba0cb0c12e9a5baa146797672f0824.tar.xz ice-c8aad0fd39ba0cb0c12e9a5baa146797672f0824.zip |
Fix some SRPM generation bugs, some copy commands and removed buildrequires
from bin->RPM translation.
Diffstat (limited to 'cpp/makebindist.py')
-rwxr-xr-x | cpp/makebindist.py | 18 |
1 files changed, 13 insertions, 5 deletions
diff --git a/cpp/makebindist.py b/cpp/makebindist.py index 930058b00cc..79b2b235a9f 100755 --- a/cpp/makebindist.py +++ b/cpp/makebindist.py @@ -1028,13 +1028,21 @@ def main(): # need to rely on the archive being in the sources # directory. # - os.system('cp ' + sources + '/Ice-' + version + '-demos.tar.gz /usr/src/redhat/SOURCES') - os.system('cp ' + sources + '/Ice-' + version + '-demos.tar.gz ' + installDir) - os.system('cp ' + sources + '/Ice*.tar.gz /usr/src/redhat/SOURCES') + shutil.copy(sources + '/Ice-' + version + '-demos.tar.gz', '/usr/src/redhat/SOURCES') + shutil.copy(sources + '/Ice-' + version + '-demos.tar.gz ', installDir) + iceArchives = glob.glob(sources + '/Ice*' + version + '.gz') + for f in iceArchives: + shutil.copy(f, 'usr/src/redhat/SOURCES') RPMTools.createRPMSFromBinaries64(buildDir, installDir, version, soVersion) else: - 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(installDir + '/Ice-' + version + '-demos.tar.gz', '/usr/src/redhat/SOURCES') + shutil.copy(sources + '/php-5.0.4.tar.bz2', '/usr/src/redhat/SOURCES') + shutil.copy(installFiles + '/thirdparty/php/ice.ini', '/usr/src/redhat/SOURCES') + shutil.copy(installFiles + '/thirdparty/php/configure.5.0.4.gz', + '/usr/src/redhat/SOURCES') + iceArchives = glob.glob(sources + '/Ice*' + version + '.gz') + for f in iceArchives: + shutil.copy(f, 'usr/src/redhat/SOURCES') RPMTools.createRPMSFromBinaries(buildDir, installDir, version, soVersion) # |