]> git.pld-linux.org Git - packages/arpd.git/commitdiff
- run chkconfig --del only on remove, not upgrade
authorJakub Bogusz <qboosh@pld-linux.org>
Mon, 24 Sep 2001 09:43:29 +0000 (09:43 +0000)
committercvs2git <feedback@pld-linux.org>
Sun, 24 Jun 2012 12:13:13 +0000 (12:13 +0000)
Changed files:
    arpd.spec -> 1.17

arpd.spec

index a046db8460b2a23fc803e05bbcd6b2850afc354f..3dd74c9369cac71912b9da73355a33cb25bc5315 100644 (file)
--- a/arpd.spec
+++ b/arpd.spec
@@ -27,8 +27,7 @@ LARGE network segments (256+ systems per segment), because the kernel
 hash tables are not optimized to handle this situation. To use the ARP
 daemon your kernel needs to have ARPD and NETLINK support enabled. The
 standard kernels of PLD lack this support. It shouldn't be run without
-that!! This version can alocate 2048 entries.
-
+that! This version can alocate 2048 entries.
 
 %description -l pl
 Demon ARP przekazuje zarz±dzanie tablic± ARP (Address Resolution
@@ -37,9 +36,8 @@ u
 segment), poniewa¿ tablice w j±drze nie s± zoptymalizowane na takie
 sytuacje. Aby u¿ywaæ tego demona musisz mieæ ARPD support oraz NETLINK
 support uaktywnione w j±drze. Uwaga! Stanadardowe j±dro PLD nie ma
-supportu ARPD!!. Demon nie powinien byæ startowany bez tego!! Ta
-wersja potrafi zaakceptowaæ 2048 pozycji.
-
+supportu ARPD. Demon nie powinien byæ startowany bez tego! Ta wersja
+potrafi zaakceptowaæ 2048 pozycji.
 
 %prep
 %setup  -q -n %{name}-%{version}.orig
@@ -61,6 +59,8 @@ install %{SOURCE1} $RPM_BUILD_ROOT/etc/rc.d/init.d/arpd
 
 gzip -9nf CHANGES
 
+%clean
+rm -rf $RPM_BUILD_ROOT
 
 %post
 /sbin/chkconfig --add arpd
@@ -71,7 +71,6 @@ else
 fi
 
 %preun
-/sbin/chkconfig --del arpd
 if [ "$1" = "0" ]; then
        if [ -f /var/lock/subsys/arpd ]; then
                /etc/rc.d/init.d/arpd stop 1>&2
@@ -80,9 +79,6 @@ if [ "$1" = "0" ]; then
 fi
 
 
-%clean
-rm -rf $RPM_BUILD_ROOT
-
 %files
 %defattr(644,root,root,755)
 %doc *.gz README.html
This page took 0.082544 seconds and 4 git commands to generate.