[sanlock/f16] Stop using chkconfig due to switch to systemd
cfeist
cfeist at fedoraproject.org
Mon Feb 13 20:33:22 UTC 2012
commit 8468e8e98d5fd7ca93508b9e1793d69666358d1a
Author: Chris Feist <cfeist at redhat.com>
Date: Mon Feb 13 14:33:20 2012 -0600
Stop using chkconfig due to switch to systemd
sanlock.spec | 13 ++++++++-----
1 files changed, 8 insertions(+), 5 deletions(-)
---
diff --git a/sanlock.spec b/sanlock.spec
index 963cf36..ff6f3bb 100644
--- a/sanlock.spec
+++ b/sanlock.spec
@@ -1,6 +1,6 @@
Name: sanlock
Version: 1.9
-Release: 6%{?dist}
+Release: 7%{?dist}
Summary: A shared disk lock manager
Group: System Environment/Base
@@ -56,15 +56,15 @@ rm -rf $RPM_BUILD_ROOT
-d /var/run/sanlock sanlock 2> /dev/null || :
%post
-/sbin/chkconfig --add sanlock
-/sbin/chkconfig --add wdmd
+#/sbin/chkconfig --add sanlock
+#/sbin/chkconfig --add wdmd
%preun
if [ $1 = 0 ]; then
/sbin/service sanlock stop > /dev/null 2>&1
/sbin/service wdmd stop > /dev/null 2>&1
- /sbin/chkconfig --del sanlock
- /sbin/chkconfig --del wdmd
+# /sbin/chkconfig --del sanlock
+# /sbin/chkconfig --del wdmd
fi
%postun
@@ -140,6 +140,9 @@ developing applications that use %{name}.
%{_includedir}/sanlock_direct.h
%changelog
+* Mon Feb 13 2012 Chris Feist <cfeist at redhat.com> - 1.9-7
+- Stop using chkconfig due to switch to systemd
+
* Mon Feb 13 2012 Chris Feist <cfeist at redhat.com> - 1.9-6
- Created the sanlock group to prevent errors
- Fixes: 785824
More information about the scm-commits
mailing list