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:
parent
5c0d0565ec
commit
5739a5c262
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user