mirror of
https://github.com/panda3d/panda3d.git
synced 2025-09-30 00:32:57 -04:00
Fix RPM file creation (tested on Fedora)
This commit is contained in:
parent
ab58d85599
commit
dcdafc4b4e
@ -5092,7 +5092,7 @@ def MakeInstallerLinux():
|
||||
txt = INSTALLER_SPEC_FILE[1:]
|
||||
txt = txt.replace("VERSION", VERSION).replace("RPMRELEASE", RPMRELEASE).replace("PANDASOURCE", pandasource).replace("PV", PV)
|
||||
WriteFile("panda3d.spec", txt)
|
||||
oscmd("rpmbuild --define '_rpmdir "+pandasource+"' --root "+pandasource+" --buildroot targetroot -bb panda3d.spec")
|
||||
oscmd("rpmbuild --define '_rpmdir "+pandasource+"' --buildroot '"+os.abspath("targetroot")+"' -bb panda3d.spec")
|
||||
if (RUNTIME):
|
||||
oscmd("mv "+ARCH+"/panda3d-runtime-"+VERSION+"-"+RPMRELEASE+"."+ARCH+".rpm .")
|
||||
else:
|
||||
|
Loading…
x
Reference in New Issue
Block a user