Skip to content

post-without-tmpfile-creation warning is not valid anymore in openSUSE #1374

@danigm

Description

@danigm

%tmpfiles macro nowadays is a noop since it is done via triggers in the systemd package. This warning is shown in every package even if they are using %tmpfiles_create %{_tmpfilesdir}/%{pkgname}.conf in %post.

For example the package matrix-synapse, uses the macro in %post but it gets the warning in the rpmlint output.

We should disable this check for openSUSE, and maybe consider to remove it completely if it's not relevant for other distributions.

The change in macros was done in the revision 102: https://build.opensuse.org/package/rdiff/Base:System/systemd-rpm-macros?linkrev=base&rev=102

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions