Bug 1203962 - rpmlint: use of %tmpfiles_create rpm macro is deprecated, please suggest %tmpfiles_create_package instead
Summary: rpmlint: use of %tmpfiles_create rpm macro is deprecated, please suggest %tmp...
Status: NEW
Alias: None
Product: openSUSE Tumbleweed
Classification: openSUSE
Component: Basesystem (show other bugs)
Version: Current
Hardware: Other Other
: P5 - None : Normal (vote)
Target Milestone: ---
Assignee: Dirk Mueller
QA Contact: E-mail List
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2022-10-03 13:18 UTC by Franck Bui
Modified: 2022-10-03 13:21 UTC (History)
0 users

See Also:
Found By: ---
Services Priority:
Business Priority:
Blocker: ---
Marketing QA Status: ---
IT Deployment: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Franck Bui 2022-10-03 13:18:27 UTC
Currently rpmlint suggests:

> [   30s] multipath-tools.x86_64: W: post-without-tmpfile-creation /usr/lib/tmpfiles.d/multipath-tools.conf
> [   30s] Please use the %tmpfiles_create macro in %post for each of your tmpfiles.d
> [   30s] files if you expect this file or directory to be available after package
> [   30s] installation (and before reboot).

but %tmpfiles_create is deprecated and is replaced by %tmpfiles_create_package.

Please update the check.

Thanks.