[milter-greylist/f16] create tmpfiles (#698961 at c5)

ensc ensc at fedoraproject.org
Wed Jan 4 14:16:05 UTC 2012


commit 2674c784e38d9f050b841aa1187e523e73956919
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 6a80d33..e5eb258 100644
--- a/milter-greylist.spec
+++ b/milter-greylist.spec
@@ -219,6 +219,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