1
0
mirror of https://github.com/openSUSE/osc.git synced 2024-11-12 23:56:13 +01:00

build: call rpm command for preferred rpms with --nosignature --nodigest

This commit is contained in:
Dr. Peter Poeml 2007-05-04 21:40:35 +00:00
parent 5c0d0565ec
commit 5739a5c262

View File

@ -193,7 +193,7 @@ def get_prefer_pkgs(dirs, wanted_arch):
continue
if path.find('-debuginfo-') > 0:
continue
arch, name = os.popen('rpm -qp --qf "%%{arch} %%{name}\\n" %s' \
arch, name = os.popen('rpm -qp --nosignature --nodigest --qf "%%{arch} %%{name}\\n" %s' \
% path).read().split()
# instead of this assumption, we should probably rather take the
# requested arch for this package from buildinfo