def move_noarch(f, arch, rpmfile, dstpkg):
if dstpkg.noarch_arch.has_key(rpmfile):
- os.system("rpm -qlp %s | LC_ALL=C sort > %s/files.new" %
+ os.system("LC_ALL=C rpm -qlp %s | LC_ALL=C sort > %s/files.new" %
(incoming_dir + arch + '/' + rpmfile, tmpdir))
os.system("rpm -qRp %s | LC_ALL=C sort | LC_ALL=C uniq > %s/reqs.new" %
(incoming_dir + arch + '/' + rpmfile, tmpdir))