Rpm: run rpmlint after building rpm

This commit is contained in:
Dmitry Maksyoma 2021-02-12 23:07:03 +13:00
parent 0d0f8afceb
commit 0aeffaf2ef
2 changed files with 2 additions and 1 deletions

View File

@ -27,3 +27,4 @@ os_dir="build/${os}_${os_codename}"
prepare_build_env
rpmbuild -ba ~/rpmbuild/SPECS/kasmvncserver.spec
copy_rpm_to_build_dir
rpmlint "$os_dir"/*.rpm || true

View File

@ -1,6 +1,6 @@
FROM centos:centos7
RUN yum install -y rpm* gpg* rng-tools
RUN yum install -y rpm* gpg* rng-tools rpmlint
RUN yum install -y tree vim less
RUN yum install -y redhat-lsb-core