mirror of
https://github.com/openSUSE/osc.git
synced 2025-02-04 10:36:17 +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
|
continue
|
||||||
if path.find('-debuginfo-') > 0:
|
if path.find('-debuginfo-') > 0:
|
||||||
continue
|
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()
|
% path).read().split()
|
||||||
# instead of this assumption, we should probably rather take the
|
# instead of this assumption, we should probably rather take the
|
||||||
# requested arch for this package from buildinfo
|
# requested arch for this package from buildinfo
|
||||||
|
Loading…
Reference in New Issue
Block a user