From b3f1e977e15bd9edb87f603d6058abea882bb7dc Mon Sep 17 00:00:00 2001 From: Patric Karwat Date: Fri, 5 Sep 2025 06:37:57 +0000 Subject: [PATCH] Update make_rpmSVOnly.py --- make_rpmSVOnly.py | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-) diff --git a/make_rpmSVOnly.py b/make_rpmSVOnly.py index b55f020..22397d0 100755 --- a/make_rpmSVOnly.py +++ b/make_rpmSVOnly.py @@ -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()