The man page install for pdksh is broken.  It puts out a file called
ksh.1.bz2 which is uncompressed, and there is a symlink called
pdksh.1.bz2 which is a dead link (pointing to ksh.1, which does not
exist).  This bug has been around since at least Mandrake 6.0.  I
guess not that many people use ksh ...

Attached is a patch for the spec file.

--
John Dawson <[EMAIL PROTECTED]>
The Kernel Group, Inc.
--- pdksh.spec.orig.busted      Sat Sep 25 11:21:29 1999
+++ pdksh.spec  Sat Sep 25 11:32:06 1999
@@ -1,7 +1,7 @@
 Summary: A public domain clone of the Korn shell (ksh).
 Name: pdksh
 Version: 5.2.14
-Release: 4mdk
+Release: 5mdk
 Copyright: Public Domain
 Group: System Environment/Shells
 Source: ftp.cs.mun.ca:/pub/pdksh/pdksh-%{version}.tar.bz2
@@ -30,10 +30,10 @@
 mkdir -p $RPM_BUILD_ROOT/{bin,usr/bin,usr/man/man1}
 
 /usr/bin/install -s -c -m755 ksh $RPM_BUILD_ROOT/bin/ksh
-/usr/bin/install -c -m644 ksh.1 $RPM_BUILD_ROOT/usr/man/man1/ksh.1.bz2
+/usr/bin/install -c -m644 ksh.1 $RPM_BUILD_ROOT/usr/man/man1/ksh.1
 ln -sf /bin/ksh $RPM_BUILD_ROOT/usr/bin/ksh
 ln -sf /bin/ksh $RPM_BUILD_ROOT/usr/bin/pdksh
-ln -sf ksh.1 $RPM_BUILD_ROOT/usr/man/man1/pdksh.1.bz2
+ln -sf ksh.1.bz2 $RPM_BUILD_ROOT/usr/man/man1/pdksh.1.bz2
 
 
 find $RPM_BUILD_ROOT/ -type 'f'|grep -E '.*[0-9]($|x)' | xargs file \
@@ -81,6 +81,9 @@
 /usr/man/man1/pdksh.1.bz2
 
 %changelog
+
+* Sat Sep 25 1999 John Dawson <[EMAIL PROTECTED]>
+- Fixed broken man page installs
 
 * Fri Jul 16 1999 Chmouel Boudjnah <[EMAIL PROTECTED]>
 

Reply via email to