From b89d74eb9b437d7313078d6f9cf5aa5b5f1ef81d Mon Sep 17 00:00:00 2001 From: Alessio Ababilov Date: Fri, 21 Jun 2013 23:55:18 +0300 Subject: [PATCH] Do not add script twice in py2rpm Change-Id: I846fd987d15cad3d1d11cef7866f09834aebb404 --- py2rpm | 1 + 1 file changed, 1 insertion(+) diff --git a/py2rpm b/py2rpm index ece7e8c..b6cfe5e 100755 --- a/py2rpm +++ b/py2rpm @@ -458,6 +458,7 @@ def build_rpm(options, filename): if os.path.isfile(script_filename): with open(script_filename) as f_in: print >> spec_file, f_in.read() + continue print >> spec_file, DEFAULT_SCRIPTS[script] print >> spec_file, """