diff options
author | Per Øyvind Karlsen <proyvind@moondrake.org> | 2016-06-03 18:15:41 +0200 |
---|---|---|
committer | Per Øyvind Karlsen <proyvind@moondrake.org> | 2016-06-03 18:15:41 +0200 |
commit | cf136b42df64fb7e3d347773c76291e4ce2b7abc (patch) | |
tree | 3b158c490d827dc32961f24a98d9232f625aedf2 | |
parent | 06c158c149c5d3e44634135632812d3a65dd255e (diff) | |
download | mgarepo-cf136b42df64fb7e3d347773c76291e4ce2b7abc.tar mgarepo-cf136b42df64fb7e3d347773c76291e4ce2b7abc.tar.gz mgarepo-cf136b42df64fb7e3d347773c76291e4ce2b7abc.tar.bz2 mgarepo-cf136b42df64fb7e3d347773c76291e4ce2b7abc.tar.xz mgarepo-cf136b42df64fb7e3d347773c76291e4ce2b7abc.zip |
single newline before %changelog is sufficient
-rw-r--r-- | MgaRepo/log.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/MgaRepo/log.py b/MgaRepo/log.py index 3fb3cc5..84ed5cc 100644 --- a/MgaRepo/log.py +++ b/MgaRepo/log.py @@ -685,7 +685,7 @@ def specfile_svn2rpm(pkgdirurl, specfile, rev=None, size=None, exported=exported, oldlog=True) with open(specfile, "w", encoding='utf-8') as fo: fo.writelines(spec) - fo.write("\n\n%changelog\n") + fo.write("\n%changelog\n") fo.writelines(chlog) if __name__ == "__main__": |