diff options
Diffstat (limited to 'cpp/makedist.py')
-rwxr-xr-x | cpp/makedist.py | 9 |
1 files changed, 1 insertions, 8 deletions
diff --git a/cpp/makedist.py b/cpp/makedist.py index 6ba1a640118..26227870767 100755 --- a/cpp/makedist.py +++ b/cpp/makedist.py @@ -339,14 +339,7 @@ if not skipDocs: # config = open(os.path.join("ice", "include", "IceUtil", "Config.h"), "r") version = re.search("ICE_STRING_VERSION \"([0-9\.]*)\"", config.read()).group(1) -config.seek(0) -intVersion = int(re.search("ICE_INT_VERSION ([0-9]*)", config.read()).group(1)) -majorVersion = intVersion / 10000 -minorVersion = intVersion / 100 - 100 * majorVersion -soVersion = '%d' % (majorVersion * 10 + minorVersion) -rpmSpecFile = open(os.path.join('ice', 'install', 'rpm', 'Ice-' + version + '-1.spec'), 'w') -RPMTools.createFullSpecFile(rpmSpecFile, '', version, soVersion) -rpmSpecFile.close() + # # Create archives. # |