diff --git a/Makefile.am b/Makefile.am index ffca2296424..75beffbd3b7 100644 --- a/Makefile.am +++ b/Makefile.am @@ -333,7 +333,8 @@ container-rpm-test: $(RPM_NAME):$(CI_TAG) \ sh -exc ' \ /run-build-and-arg make run-rpm-tests-only; \ - dnf install -y /tmp/anaconda/result/build/01-rpm-build/*.rpm' + dnf install -y /tmp/anaconda/result/build/01-rpm-build/*.rpm; \ + cd /tmp/anaconda; rpmlint *.spec.in *.rpm result/build/01-rpm-build/*.rpm' container-rpms: @./scripts/testing/check-container-age.sh "$(RPM_NAME):$(CI_TAG)" diff --git a/dockerfile/anaconda-rpm/Dockerfile b/dockerfile/anaconda-rpm/Dockerfile index edbe82efd1a..3087c212ab6 100644 --- a/dockerfile/anaconda-rpm/Dockerfile +++ b/dockerfile/anaconda-rpm/Dockerfile @@ -38,7 +38,8 @@ RUN set -ex; \ python3-pocketlint \ /usr/bin/xargs \ rsync \ - rpm-build; \ + rpm-build \ + rpmlint; \ if ! grep -q VARIANT.*eln /etc/os-release; then \ BRANCH="${git_branch}"; \ if [ $BRANCH == "master" ]; then \