Show More
@@ -121,8 +121,8 b' for l in sorted(changelog, reverse=True)' | |||||
121 | if prevtitle != title: |
|
121 | if prevtitle != title: | |
122 | prevtitle = title |
|
122 | prevtitle = title | |
123 |
|
123 | |||
124 |
print |
|
124 | print(title) | |
125 |
print |
|
125 | print("- %s" % l[3].strip()) | |
126 | ' >> $rpmspec |
|
126 | ' >> $rpmspec | |
127 |
|
127 | |||
128 | else |
|
128 | else | |
@@ -138,7 +138,7 b' def datestr(date, format):' | |||||
138 | for l in sys.stdin.readlines(): |
|
138 | for l in sys.stdin.readlines(): | |
139 | tok = l.split("\t") |
|
139 | tok = l.split("\t") | |
140 | hgdate = tuple(int(v) for v in tok[0].split()) |
|
140 | hgdate = tuple(int(v) for v in tok[0].split()) | |
141 |
print |
|
141 | print("* %s %s\n- %s" % (datestr(hgdate, "%a %b %d %Y"), tok[1], tok[2])) | |
142 | ' >> $rpmspec |
|
142 | ' >> $rpmspec | |
143 |
|
143 | |||
144 | fi |
|
144 | fi |
General Comments 0
You need to be logged in to leave comments.
Login now