[systemd/f16] spec file fixes
Lennart Poettering
lennart at fedoraproject.org
Fri Sep 23 16:37:39 UTC 2011
commit cdeb7918c63f298322505bf8fecfc77ecc8f4f6c
Author: Lennart Poettering <lennart at poettering.net>
Date: Fri Sep 23 18:31:12 2011 +0200
spec file fixes
systemd.spec | 3 ++-
1 files changed, 2 insertions(+), 1 deletions(-)
---
diff --git a/systemd.spec b/systemd.spec
index 45138d2..05fd815 100644
--- a/systemd.spec
+++ b/systemd.spec
@@ -171,7 +171,7 @@ rm -rf $RPM_BUILD_ROOT
/bin/systemctl daemon-reexec > /dev/null 2>&1 || :
# Make sure pam_systemd is enabled
-if ! /bin/grep -q pam_systemd /etc/pam.d/system-auth-ac ; then
+if ! /bin/grep -q pam_systemd /etc/pam.d/system-auth-ac >/dev/null 2>&1 ; then
/usr/sbin/authconfig --update --nostart >/dev/null 2>&1 || :
# Try harder
@@ -245,6 +245,7 @@ fi
%ghost %config(noreplace) %{_sysconfdir}/os-release
%ghost %config(noreplace) %{_sysconfdir}/machine-id
%ghost %config(noreplace) %{_sysconfdir}/machine-info
+%ghost %config(noreplace) %{_sysconfdir}/timezone
/bin/systemd
/bin/systemd-notify
/bin/systemd-ask-password
More information about the scm-commits
mailing list