rpm: add RPM macro for creating tmpfiles entries after package installation

This commit is contained in:
Lennart Poettering 2013-07-16 18:15:48 +02:00
parent bf89b99c5a
commit 042e33ae3a
2 changed files with 6 additions and 0 deletions

2
TODO
View File

@ -56,6 +56,8 @@ CGroup Rework Completion:
Features:
* Fedora: post FPC ticket to move add %tmpfiles_create to the packaging guidelines
* add rpm macros for applying tmpfiles --create after package installation
* when parsing calendar timestamps support the UTC timezone (even if we won't support arbitrary timezone specs, support UTC itself certainly makes sense), also support syntaxes such as +0200

View File

@ -72,3 +72,7 @@ fi \
%journal_catalog_update() \
@rootbindir@/journalctl --update-catalog >/dev/null 2>&1 || : \
%{nil}
%tmpfiles_create() \
@rootbindir@/systemd-tmpfiles --create %{?*} >/dev/null 2>&1 || : \
%{nil}