[milter-greylist] create tmpfiles (#698961 at c5)
ensc
ensc at fedoraproject.org
Wed Jan 4 14:05:51 UTC 2012
commit 345dbe628ae6d3e7093cd750db3eda92518a4136
Author: Enrico Scholz <enrico.scholz at informatik.tu-chemnitz.de>
Date: Wed Jan 4 15:01:49 2012 +0100
create tmpfiles (#698961 at c5)
milter-greylist.spec | 3 +++
1 files changed, 3 insertions(+), 0 deletions(-)
---
diff --git a/milter-greylist.spec b/milter-greylist.spec
index 3d7637d..83a15f8 100644
--- a/milter-greylist.spec
+++ b/milter-greylist.spec
@@ -233,6 +233,9 @@ touch $RPM_BUILD_ROOT%_var/run/milter-greylist.pid
%__fe_useradd 7 -r -s /sbin/nologin -M -d %vardir \
-c 'Greylist-milter user' -g %username %username &>/dev/null || :
+%{?with_tmpfiles:
+%post
+%{?with_systemd:/bin/systemd-tmpfiles --create %_sysconfdir/tmpfiles.d/%name.conf || :}}
%postun
%__fe_userdel %username &>/dev/null || :
More information about the scm-commits
mailing list