1
0
mirror of https://github.com/openSUSE/osc.git synced 2024-12-27 10:16:14 +01:00

missed two renames

This commit is contained in:
Pavol Rusnak 2010-02-28 02:41:26 +01:00
parent 8d551e0a69
commit 9f6901b4ff

View File

@ -114,9 +114,9 @@ class Fetcher:
pkgq = packagequery.PackageQuery.query(tmpfile, extra_rpmtags=(1044, 1051, 1052)) pkgq = packagequery.PackageQuery.query(tmpfile, extra_rpmtags=(1044, 1051, 1052))
arch = pkgq.arch() arch = pkgq.arch()
# SOURCERPM = 1044 # SOURCERPM = 1044
if pkgq.filename_suffix == 'rpm' and not pkgq.getTag(1044): if pkgq.filename_suffix == 'rpm' and not pkgq.gettag(1044):
# NOSOURCE = 1051, NOPATCH = 1052 # NOSOURCE = 1051, NOPATCH = 1052
if pkgq.getTag(1051) or pkgq.getTag(1052): if pkgq.gettag(1051) or pkgq.gettag(1052):
arch = "nosrc" arch = "nosrc"
else: else:
arch = "src" arch = "src"