Do not add script twice in py2rpm
Change-Id: I846fd987d15cad3d1d11cef7866f09834aebb404
This commit is contained in:
parent
ecb639570b
commit
a362c5399a
@ -458,6 +458,7 @@ def build_rpm(options, filename):
|
|||||||
if os.path.isfile(script_filename):
|
if os.path.isfile(script_filename):
|
||||||
with open(script_filename) as f_in:
|
with open(script_filename) as f_in:
|
||||||
print >> spec_file, f_in.read()
|
print >> spec_file, f_in.read()
|
||||||
|
continue
|
||||||
print >> spec_file, DEFAULT_SCRIPTS[script]
|
print >> spec_file, DEFAULT_SCRIPTS[script]
|
||||||
print >> spec_file, """
|
print >> spec_file, """
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user