teemtee / tmt

Test Management Tool
MIT License
76 stars 112 forks source link

Removing /var/tmp workdir from rpm packaging #2876

Closed martinhoyer closed 3 weeks ago

martinhoyer commented 3 weeks ago

Addressing #2803

tmt is creating the workdir by itself and as such does not need to have the directory being packaged as part of the rpm.
This change is in sync with Fedora Python packaging guidelines, harmonizing the rpm package with the PyPI package. It also fixes the issue of the current implementation not using tmpfiles.d and as such is marked as forbidden by rpmlint Fedora configs.

psss commented 3 weeks ago

Just to clarify: So, do we drop the original use case described in #537?

martinhoyer commented 3 weeks ago

For transparency: As discussed on chat, it is being handled here https://github.com/teemtee/tmt/blob/6f8283930c0da5160d590d970b66d6abee029546/tmt/utils.py#L2064