# vi: encoding=utf-8 ts=8 sts=4 sw=4 et
+from __future__ import print_function
+
import re
import string
-import xreadlines
from util import *
build_req = []
f = open(spec)
- for l in xreadlines.xreadlines(f):
+ for l in f:
l = string.strip(l)
if l == "%changelog": break
msg("spec error (%s): %s\n" % (spec, l))
for x in build_req:
- print x
+ print(x)