Hmmm - somehow these patches just aren't getting through.  I'll try
again.
--- lsh-0.2.1/contrib/lsh.spec.in.orig  Thu Jan  6 20:38:26 2000
+++ lsh-0.2.1/contrib/lsh.spec.in       Thu Jan  6 20:40:07 2000
@@ -5,7 +5,6 @@
 Copyright:      GPL
 Group:          Application/Internet
 Source0:        ftp://ftp.lysator.liu.se/pub/security/lsh/%{name}-%{version}.tar.gz 
-Source1:        lshd.rhlinux.init
 BuildRoot:      /var/tmp/%{name}-%{version}-root
 Prefix:         /usr
 Packager:       Thayne Harbaugh <[EMAIL PROTECTED]>
@@ -72,7 +71,7 @@
 
 
 %preun
-if [ "$1" -eq 1 ]
+if [ "$1" -eq 0 ]
 then
         chkconfig --del lshd || exit 0
 fi
@@ -91,6 +90,10 @@
 
 
 %changelog
+
+* Thu Jan 06 1999 Thayne Harbaugh <[EMAIL PROTECTED]>
+- lshd.rhlinux.init is now in contrib dir - removed Source1
+- fixed preun $1 comparision - was [ "$1" -eq 1 ]
 
 * Thu Sep 28 1999 Thayne Harbaugh <[EMAIL PROTECTED]>
 - first rpm

Reply via email to