From: Don Zickus on
gitlab.com
Merge Request:
https://gitlab.com/cki-project/kernel-ark/-/merge_requests/1786
Developers want to build a srpm locally and submit it to a build server like
Koji. The current process checks the BuildRequires in the kernel.spec file to
ensure all the right packages are there. However, that list includes too many
packages. Reduce the list to the bare minimum.
In addition cleanup the Makefile and utilize the original buildreqs-check
target better.
Signed-off-by: Don Zickus <dzickus(a)redhat.com>
---
redhat/Makefile | 33 ++++++++++++++++++++++++---------
redhat/genspec.sh | 1 +
redhat/kernel.spec.template | 7 ++++---
3 files changed, 29 insertions(+), 12 deletions(-)