diff options
author | Guillaume Cottenceau <gc@mandriva.com> | 2001-03-29 11:09:25 +0000 |
---|---|---|
committer | Guillaume Cottenceau <gc@mandriva.com> | 2001-03-29 11:09:25 +0000 |
commit | 5ac9a0e8cbdc1cafb74c56b045350790839b51de (patch) | |
tree | 5444e0e15ee56541d1b6a6249b815bd7a70c9243 /numlock.spec | |
parent | fbba1c150a3b726af9b932b84a9912ac9b802ddc (diff) | |
download | numlock-5ac9a0e8cbdc1cafb74c56b045350790839b51de.tar numlock-5ac9a0e8cbdc1cafb74c56b045350790839b51de.tar.gz numlock-5ac9a0e8cbdc1cafb74c56b045350790839b51de.tar.bz2 numlock-5ac9a0e8cbdc1cafb74c56b045350790839b51de.tar.xz numlock-5ac9a0e8cbdc1cafb74c56b045350790839b51de.zip |
user post and preun service macros
Diffstat (limited to 'numlock.spec')
-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 |