]> www.infradead.org Git - users/jedix/linux-maple.git/commit
uek-rpm: optimize find-requires usage
authorAlexander Burmashev <alexander.burmashev@oracle.com>
Thu, 7 Feb 2019 15:45:10 +0000 (07:45 -0800)
committerBrian Maly <brian.maly@oracle.com>
Tue, 19 Feb 2019 19:18:19 +0000 (14:18 -0500)
commita7e1d6714e24930ba16ba856854e4017b36d7bea
tree185cdf84c419cab6e53949c58535c0e3abf74e88
parentff4a1850bbf59ac181c714d9f13b702be13240a1
uek-rpm: optimize find-requires usage

There are no deps found for debuginfo-common, doc and headers subpackage, so
Autoreq: no is now set for them, also switch from /usr/lib/rpm/redhat/find-requires
usage to /usr/lib/rpm/rpmdeps --requires, since latter is faster and less buggy.
Both changes noticeably boost kernel rpm build time.

Orabug: 29323635

Signed-off-by: Alex Burmashev <alexander.burmashev@oracle.com>
Reviewed-by: Somasundaram Krishnasamy <somasundaram.krishnasamy@oracle.com>
Signed-off-by: Brian Maly <brian.maly@oracle.com>
uek-rpm/ol6/kernel-uek.spec
uek-rpm/ol7/kernel-uek.spec