Update make_rpmModule.py

This commit is contained in:
Patric Karwat committed 2025-11-06 09:31:30 +00:00
1 parent ab72f9c418
commit 1ddc42dda4
1 file changed
+4 -4
+4 -4
View File
@@ -33,7 +33,7 @@ class build(object):
self.version_rev = 0
self.cmake_version_prefix = "TDS"
self.source_dir_rel = "TDS-Source"
self.svn_fullpath = None
#self.svn_fullpath = None
self.build_hla_rpm = "false"
self.build_sv_rpm = "true"
self.build_lic_rpm = "false"
@@ -68,7 +68,7 @@ class build(object):
print(" Build WS RPM: %s" % self.build_ws_rpm)
print(" Build Building RPM: %s" % self.build_bld_rpm)
print(" Build AAR RPM: %s" % self.build_aar_rpm)
print(" SVN Path: %s" % self.svn_fullpath)
# print(" SVN Path: %s" % self.svn_fullpath)
print(" Version: %s.%s-%s" % ( self.version_maj, self.version_min, self.version_rev ))
print(" Jenkins build number: %s" % os.getenv( "BUILD_NUMBER" ))
print(" Date: %s" % self.version_date)
@@ -124,7 +124,7 @@ class build(object):
return specname
die( 'Unable to find a valid spec file in %s' % specdir )
def copy_spec( self, svn_fullpath, dest_dir, spec_fullpath ):
def copy_spec( self, dest_dir, spec_fullpath ):
# copy spec to build
f = open( spec_fullpath, 'r' )
content = f.read()
@@ -320,7 +320,7 @@ def main():
if not os.path.exists(specdir):
os.makedirs(specdir)
b.svn_export( b.svn_fullpath, svn_destdir )
# b.svn_export( b.svn_fullpath, svn_destdir )
b.clean_lts_cc_conf(svn_destdir + '/Lts/Projects')
specname = b.specname( os.path.join( svn_destdir, "specs" ) )
b.copy_spec( b.svn_fullpath,