Skip to content

Commit

Permalink
bots: Install rpmlint into build mock on RHEL/CentOS
Browse files Browse the repository at this point in the history
It will be automatically used during package build (see commit 13d57f9).

Similar to commit ed15dbb.

Closes #7871
  • Loading branch information
martinpitt committed Oct 12, 2017
1 parent da6d691 commit 0474d1d
Show file tree
Hide file tree
Showing 4 changed files with 4 additions and 3 deletions.
2 changes: 1 addition & 1 deletion bots/images/centos-7
2 changes: 1 addition & 1 deletion bots/images/rhel-7
2 changes: 1 addition & 1 deletion bots/images/rhel-7-4
1 change: 1 addition & 0 deletions bots/images/scripts/rhel-7.setup
Original file line number Diff line number Diff line change
Expand Up @@ -162,6 +162,7 @@ if [ -n "$TEST_SOURCE" ]; then
useradd -c Builder -G mock builder
srpm=$(/var/lib/testvm/make-srpm $TEST_SOURCE)
su builder -c "/usr/bin/mock --verbose --installdeps $srpm"
su builder -c "/usr/bin/mock --install --verbose rpmlint"
fi

yum clean all || true
Expand Down

0 comments on commit 0474d1d

Please sign in to comment.