Skip to content

Commit 2f808b7

Browse files
authored
fix: rpm inspect test failures (#324)
Hotfix for #307 (comment) (For reference, confirmed that this fixes the issue on [my repos](https://github.com/LecrisUT/CMakeExtraUtils/commits/main)) --------- Signed-off-by: Cristian Le <[email protected]>
1 parent 4e84930 commit 2f808b7

File tree

2 files changed

+6
-9
lines changed

2 files changed

+6
-9
lines changed

.distro/plans/rpmlint.fmf

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -7,9 +7,9 @@ prepare:
77
- rpmlint
88
- rpminspect
99
- rpminspect-data-fedora
10-
- name: Download the source rpm
11-
how: shell
12-
script: cd /tmp && curl -O ${PACKIT_SRPM_URL}
10+
#- name: Download the source rpm
11+
# how: shell
12+
# script: cd /tmp && curl -O ${PACKIT_SRPM_URL}
1313
- name: Download rpm packages
1414
how: shell
1515
script: cd /tmp && dnf download ${PACKIT_COPR_RPMS}

.distro/tests/rpmlint.fmf

Lines changed: 3 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -5,12 +5,9 @@ tier: 0
55
path: /
66

77
# Define tests
8-
/rpmlint-spec:
9-
summary: Rpmlint the spec files
10-
test: rpmlint ./python-scikit-build-core.spec
11-
/rpmlint-rpms:
12-
summary: Rpmlint the rpms
13-
test: rpmlint -c packit.toml /tmp/*.rpm
8+
/rpmlint:
9+
summary: Rpmlint spec and rpmfiles
10+
test: rpmlint -c packit.toml -r python-scikit-build-core.rpmlintrc ./*.spec /tmp/*.rpm
1411
/rpminspect-rpms:
1512
summary: Rpminspect the rpms
1613
test: ls /tmp/*.rpm | xargs -L1 rpminspect-fedora -E metadata,disttag

0 commit comments

Comments
 (0)