Skip to content

Commit

Permalink
ci: Fix fedora rpmlint CI (#469)
Browse files Browse the repository at this point in the history
Signed-off-by: Cristian Le <cristian.le@mpsd.mpg.de>
  • Loading branch information
LecrisUT authored Aug 16, 2023
1 parent bb0846d commit 2bbebec
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 8 deletions.
6 changes: 0 additions & 6 deletions distro/plans/rpmlint.fmf
Original file line number Diff line number Diff line change
Expand Up @@ -7,12 +7,6 @@ prepare:
- rpmlint
- rpminspect
- rpminspect-data-fedora
#- name: Download the source rpm
# how: shell
# script: cd /tmp && curl -O ${PACKIT_SRPM_URL}
- name: Download rpm packages
how: shell
script: dnf download ${PACKIT_COPR_RPMS} --destdir=$TMT_PLAN_DATA
discover+:
how: fmf
filter: "tag: rpmlint"
Expand Down
4 changes: 2 additions & 2 deletions distro/tests/rpmlint.fmf
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ path: /distro
# Define tests
/rpmlint:
summary: Rpmlint spec and rpmfiles
test: rpmlint -c packit.toml -r python-scikit-build-core.rpmlintrc ./*.spec $TMT_PLAN_DATA/*.rpm
test: rpmlint -c packit.toml -r python-scikit-build-core.rpmlintrc ./*.spec /var/share/test-artifacts/*.rpm
/rpminspect-rpms:
summary: Rpminspect the rpms
test: ls $TMT_PLAN_DATA/*.rpm | xargs -L1 rpminspect-fedora -E metadata,disttag
test: ls /var/share/test-artifacts/*.rpm | xargs -L1 rpminspect-fedora -E metadata,disttag

0 comments on commit 2bbebec

Please sign in to comment.