tmt icon indicating copy to clipboard operation
tmt copied to clipboard

rpminspect, rpmlint errors and warnings

Open martinhoyer opened this issue 10 months ago • 3 comments

rpminspect fails on current rawhide: https://artifacts.dev.testing-farm.io/e3a16e91-a0d0-4a66-b873-9cc5ecbf7285/

Here is a list issues from rpmlint and rpminspect

rpminspect w/ --release=fc41:

/var/tmp/tmt (inode/directory) is world-writable on noarch

rpmlint errors

tmt.noarch: E: env-script-interpreter /usr/share/doc/tmt/examples/redis/test.sh /usr/bin/env bash

  • /usr/bin/ vs /usr/bin/env ?

tmt.noarch: E: dir-or-file-in-var-tmp /var/tmp/tmt

  • "A file in the package is located in /var/tmp. It's not permitted for packages to install files in this directory."

tmt.noarch: E: non-standard-dir-perm /var/tmp/tmt 1777 tmt.noarch: E: non-executable-script /usr/lib/python3.12/site-packages/tmt/templates/script/beakerlib.j2 644 /bin/bash tmt.noarch: E: non-executable-script /usr/lib/python3.12/site-packages/tmt/templates/script/shell.j2 644 /bin/sh -eux

rpmlint warnings

tmt.noarch: W: obsolete-not-provided tmt-report-html tmt.noarch: W: obsolete-not-provided tmt-report-junit tmt.noarch: W: obsolete-not-provided tmt-report-polarion tmt.noarch: W: obsolete-not-provided tmt-report-reportportal

  • Perhaps we can get rid the obsoletes in new Fedora versions?

tmt.noarch: W: incoherent-version-in-changelog 1.32.1 ['1.32.1-1.fc40', '1.32.1-1']

  • Missing dash, release (1.0.0 vs 1.0.0-1)

martinhoyer avatar Apr 02 '24 09:04 martinhoyer