Skip to content

Commit

Permalink
Run rpminspect on the SRPM rebuilt by Copr
Browse files Browse the repository at this point in the history
TF downloads both RPMs and SRPM (rebuilt by Copr), so we can run rpminspect on all of them in one step.
  • Loading branch information
lbarcziova committed Dec 18, 2024
1 parent 864cb13 commit e1adbeb
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 10 deletions.
6 changes: 1 addition & 5 deletions plans/rpminspect-centos.fmf
Original file line number Diff line number Diff line change
Expand Up @@ -3,18 +3,14 @@ summary:
discover:
how: shell
tests:
- name: rpminspect SRPM
test: rpminspect-centos -E metadata -v -t VERIFY --profile=centos-stream-9-devel /tmp/*.src.rpm
- name: rpminspect binary RPMs
- name: rpminspect SRPM and RPMs
test: for rpm in /var/share/test-artifacts/*.rpm; do rpminspect-centos -E metadata -v -t VERIFY --profile=centos-stream-9-devel $rpm; done
prepare:
- name: packages
how: install
package:
- rpminspect
- rpminspect-data-centos
- how: shell
script: cd /tmp && curl -O ${PACKIT_SRPM_URL}
execute:
how: tmt
adjust:
Expand Down
6 changes: 1 addition & 5 deletions plans/rpminspect-fedora.fmf
Original file line number Diff line number Diff line change
Expand Up @@ -3,18 +3,14 @@ summary:
discover:
how: shell
tests:
- name: rpminspect
test: rpminspect-fedora -E metadata /tmp/*.src.rpm
- name: rpminspect binary RPMs
- name: rpminspect SRPM and RPMs
test: for rpm in /var/share/test-artifacts/*.rpm; do rpminspect-fedora -E metadata $rpm; done
prepare:
- name: packages
how: install
package:
- rpminspect
- rpminspect-data-fedora
- how: shell
script: cd /tmp && curl -O ${PACKIT_SRPM_URL}
execute:
how: tmt
adjust:
Expand Down

0 comments on commit e1adbeb

Please sign in to comment.