diff options
author | Brent Eagles <brent@zeroc.com> | 2007-01-23 18:02:58 +0000 |
---|---|---|
committer | Brent Eagles <brent@zeroc.com> | 2007-01-23 18:02:58 +0000 |
commit | e17187fc9b4198c9967cc085660c5a76fd85dc28 (patch) | |
tree | 2547435791d3fd4d7794e44a92adae09634314fd /cpp/makebindist.py | |
parent | - Removing ability to create RPMs from binary tarball. (diff) | |
download | ice-e17187fc9b4198c9967cc085660c5a76fd85dc28.tar.bz2 ice-e17187fc9b4198c9967cc085660c5a76fd85dc28.tar.xz ice-e17187fc9b4198c9967cc085660c5a76fd85dc28.zip |
merging some suse/redhat operation filtering
Diffstat (limited to 'cpp/makebindist.py')
-rwxr-xr-x | cpp/makebindist.py | 20 |
1 files changed, 2 insertions, 18 deletions
diff --git a/cpp/makebindist.py b/cpp/makebindist.py index 7dbe1f4b3f0..3ca06dac551 100755 --- a/cpp/makebindist.py +++ b/cpp/makebindist.py @@ -8,7 +8,6 @@ # # ********************************************************************** import os, sys, shutil, re, string, getopt, glob, logging, fileinput -import RPMTools # TODO: # @@ -732,10 +731,8 @@ def usage(): print ' applicable (some bits will still be cleaned.' print '--nobuild Run through the process but don\'t build' print ' anything new.' - print '--specfile Just print the RPM spec file and exit.' print '--usecvs Use contents of existing CVS directories' - print ' to create binary package (This option cannot' - print ' be used to create RPMS)' + print ' to create binary package.' print print 'The following options set the locations for third party libraries' print 'that may be required on your platform. Alternatively, you can' @@ -778,7 +775,6 @@ def main(): version = None mmVersion = None soVersion = 0 - printSpecFile = False verbose = False cvsMode = False # Use CVS directories. offline = False @@ -789,7 +785,7 @@ def main(): try: optionList, args = getopt.getopt(sys.argv[1:], 'hvt:', [ 'build-dir=', 'install-dir=', 'install-root=', 'sources=', - 'verbose', 'tag=', 'noclean', 'nobuild', 'specfile', + 'verbose', 'tag=', 'noclean', 'nobuild', 'stlporthome=', 'bzip2home=', 'dbhome=', 'sslhome=', 'expathome=', 'readlinehome=', 'usecvs', 'offline', 'debug']) @@ -817,8 +813,6 @@ def main(): clean = False elif o == '--nobuild': build = False - elif o == '--specfile': - printSpecFile = True elif o == '--stlporthome': buildEnvironment['STLPORT_HOME'] = a elif o == '--bzip2home': @@ -870,14 +864,6 @@ def main(): installDir = os.environ.get('HOME') + '/tmp/iceinstall' # - # Primarily for debugging spec file creation. - # - if printSpecFile: - version, soVersion, mmVersion = getVersion(cvsTag, buildDir) - RPMTools.createFullSpecFile(sys.stdout, installDir, version, soVersion) - sys.exit(0) - - # # We need to clean the directory out to keep obsolete files from # being installed. This needs to happen whether we are running with # noclean or not. @@ -922,8 +908,6 @@ def main(): print 'Building binary distributions for Ice-' + version + ' on ' + getPlatform() print 'Using build directory: ' + buildDir print 'Using install directory: ' + installDir - if getPlatform() == 'linux': - print '(RPMs will be built)' print |