Skip to content

Commit e1adbeb

Browse files
committed
Run rpminspect on the SRPM rebuilt by Copr
TF downloads both RPMs and SRPM (rebuilt by Copr), so we can run rpminspect on all of them in one step.
1 parent 864cb13 commit e1adbeb

File tree

2 files changed

+2
-10
lines changed

2 files changed

+2
-10
lines changed

plans/rpminspect-centos.fmf

+1-5
Original file line numberDiff line numberDiff line change
@@ -3,18 +3,14 @@ summary:
33
discover:
44
how: shell
55
tests:
6-
- name: rpminspect SRPM
7-
test: rpminspect-centos -E metadata -v -t VERIFY --profile=centos-stream-9-devel /tmp/*.src.rpm
8-
- name: rpminspect binary RPMs
6+
- name: rpminspect SRPM and RPMs
97
test: for rpm in /var/share/test-artifacts/*.rpm; do rpminspect-centos -E metadata -v -t VERIFY --profile=centos-stream-9-devel $rpm; done
108
prepare:
119
- name: packages
1210
how: install
1311
package:
1412
- rpminspect
1513
- rpminspect-data-centos
16-
- how: shell
17-
script: cd /tmp && curl -O ${PACKIT_SRPM_URL}
1814
execute:
1915
how: tmt
2016
adjust:

plans/rpminspect-fedora.fmf

+1-5
Original file line numberDiff line numberDiff line change
@@ -3,18 +3,14 @@ summary:
33
discover:
44
how: shell
55
tests:
6-
- name: rpminspect
7-
test: rpminspect-fedora -E metadata /tmp/*.src.rpm
8-
- name: rpminspect binary RPMs
6+
- name: rpminspect SRPM and RPMs
97
test: for rpm in /var/share/test-artifacts/*.rpm; do rpminspect-fedora -E metadata $rpm; done
108
prepare:
119
- name: packages
1210
how: install
1311
package:
1412
- rpminspect
1513
- rpminspect-data-fedora
16-
- how: shell
17-
script: cd /tmp && curl -O ${PACKIT_SRPM_URL}
1814
execute:
1915
how: tmt
2016
adjust:

0 commit comments

Comments
 (0)