diff options
-rw-r--r-- | numlock.spec | 11 |
1 files changed, 6 insertions, 5 deletions
diff --git a/numlock.spec b/numlock.spec index 8f9c2bc..bd4df8c 100644 --- a/numlock.spec +++ b/numlock.spec @@ -3,7 +3,7 @@ %define name numlock %define version 2.0 -%define release 1mdk +%define release 2mdk Summary: Numlock key locker Name: %{name} @@ -34,12 +34,10 @@ rm -rf $RPM_BUILD_ROOT make install TOP=$RPM_BUILD_ROOT INITRDDIR=%{_initrddir} %post -/sbin/chkconfig --add numlock +%_post_service numlock %preun -if [ $1 = 0 ];then - /sbin/chkconfig --del numlock -fi +%_preun_service numlock %clean rm -rf $RPM_BUILD_ROOT @@ -53,6 +51,9 @@ rm -rf $RPM_BUILD_ROOT /usr/X11R6/man/*/* %changelog +* Thu Mar 29 2001 Guillaume Cottenceau <gc@mandrakesoft.com> 2.0-2mdk +- user post and preun service macros + * Tue Jan 9 2001 Guillaume Cottenceau <gc@mandrakesoft.com> 2.0-1mdk - really fix the xinit.d file - reintegrate into CVS |