Update make_rpmSVOnly.py

This commit is contained in:
Patric Karwat committed 2025-09-05 06:37:57 +00:00
1 parent 95ecf254a8
commit b3f1e977e1
1 file changed
+5 -4
+5 -4
View File
@@ -256,15 +256,16 @@ def main():
b.init()
b.printOptions()
rpmbase_dir = os.path.join( os.getenv( "HOME" ), 'rpmbuild' )
rpmbase_dir = '/shd/CTC/TOOLS/rpmbuild'
# project_base_dir = '/builds/projects-domain-live/tds'
project_base_dir = os.getenv( "PROJECT_BASE_DIR" )
specdir = os.path.join( rpmbase_dir, "SPECS" )
if not os.path.exists(specdir):
os.makedirs(specdir)
b.clean_lts_cc_conf(os.path.join(project_base_dir, 'Lts', 'Projects'))
specname = b.specname( os.path.join( svn_destdir, "specs" ) )
specname = b.specname(os.path.join(project_base_dir, 'specs'))
b.copy_spec( specdir, os.path.join(project_base_dir, "specs", specname ))
full_version = "%s.%s-%s" % ( b.version_maj, b.version_min, b.version_rev )
b.printOptions()