From bbc5f37a6612b9c886f2dbd56a06853cc09beb1e Mon Sep 17 00:00:00 2001 From: Debarshi Ray Date: Aug 19 2020 13:54:26 +0000 Subject: Tmpfiles.d: Use systemd-rpm-macros for BuildRequires This makes the text match the example spec file further below. Fallout from 2ad971f9a70505ba40911a59873d7e3922c8073b https://pagure.io/packaging-committee/pull-request/1015 --- diff --git a/guidelines/modules/ROOT/pages/Tmpfiles.d.adoc b/guidelines/modules/ROOT/pages/Tmpfiles.d.adoc index 7d32482..6e8fb5d 100644 --- a/guidelines/modules/ROOT/pages/Tmpfiles.d.adoc +++ b/guidelines/modules/ROOT/pages/Tmpfiles.d.adoc @@ -4,7 +4,7 @@ tmpfiles.d is a service for managing temporary files and runtime directories for == tmpfiles.d configuration -Asking the tmpfiles.d mechanism to create directories for you just involves dropping a file into `+%{_tmpfilesdir}+`. You will need a build dependency on systemd in order to make use of this macro. +Asking the tmpfiles.d mechanism to create directories for you just involves dropping a file into `+%{_tmpfilesdir}+`. You will need a build dependency on systemd-rpm-macros in order to make use of this macro. For example, if the package needs a few directories to be created in `+/run+` in order for it to run, the packager needs to create a file named `+%{name}.conf+` that is installed as `+%{_tmpfilesdir}/%{name}.conf+`. The file has one or more lines of the following format: