From 8ff307ce80a60de18fc9b3b0e46e0ff348dfe2f4 Mon Sep 17 00:00:00 2001 From: Laura Barcziova Date: Thu, 13 Jul 2023 09:26:26 +0200 Subject: [PATCH] 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. --- plans/rpminspect-centos.fmf | 6 +----- plans/rpminspect-fedora.fmf | 6 +----- 2 files changed, 2 insertions(+), 10 deletions(-) diff --git a/plans/rpminspect-centos.fmf b/plans/rpminspect-centos.fmf index 82a7e128..0d1146d7 100644 --- a/plans/rpminspect-centos.fmf +++ b/plans/rpminspect-centos.fmf @@ -3,9 +3,7 @@ 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 @@ -13,8 +11,6 @@ prepare: package: - rpminspect - rpminspect-data-centos - - how: shell - script: cd /tmp && curl -O ${PACKIT_SRPM_URL} execute: how: tmt adjust: diff --git a/plans/rpminspect-fedora.fmf b/plans/rpminspect-fedora.fmf index 349ea569..fd01bbeb 100644 --- a/plans/rpminspect-fedora.fmf +++ b/plans/rpminspect-fedora.fmf @@ -3,9 +3,7 @@ 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 @@ -13,8 +11,6 @@ prepare: package: - rpminspect - rpminspect-data-fedora - - how: shell - script: cd /tmp && curl -O ${PACKIT_SRPM_URL} execute: how: tmt adjust: