Jon, or someone that knows what a spec file is, could you have a look at
applying this......


------- Begin Forwarded Message -------
Rick,
   In building lesstif-0.90.5 rpms for our next Linuxppc Reference Release
we discovered a minor flaw in the lesstif.spec.in file you have. There
is a README.linuxaout which is never installed that needs to be removed.
Also the RedHat 6.2 rpm build rules (which redhat uses but isn't active
in rpm by default yet) compresses all manpages during packaging automatically.
To handle this properly one should always add a '*' after manpages in the
filelist of the spec. Below is a patch (which should be applied using
patch -p1) that addresses both of these problems. Please add it into
the lesstif CVS.
               Jack

diff -uNr lesstif-0.90.5/scripts/RedHat/lesstif.spec.in
lesstif-0.90.5.new/scripts/RedHat/lesstif.spec.in
--- lesstif-0.90.5/scripts/RedHat/lesstif.spec.in       Tue Apr 25 14:39:10
2000+++ lesstif-0.90.5.new/scripts/RedHat/lesstif.spec.in   Thu May  4 06:49:22
2000@@ -155,7 +155,7 @@
 %attr(755, root, root) /usr/X11R6/lib/libXlt.so*
 %attr(755, root, root) %dir /usr/X11R6/LessTif/doc
 %attr(-, root, root) /usr/X11R6/LessTif/doc/*
-%attr(644, root, root) /usr/X11R6/man/man1/lesstif.1
+%attr(644, root, root) /usr/X11R6/man/man1/lesstif.1*
 
 %files mwm
 %attr(644, root, root) %doc clients/Motif-1.2/mwm/COPYING
@@ -165,17 +165,16 @@
 %attr(755, root, root) /usr/X11R6/bin/mwm
 %attr(644, root, root) %config /usr/X11R6/lib/X11/mwm/*
 %attr(644, root, root) %config /usr/X11R6/lib/X11/app-defaults/Mwm
-%attr(644, root, root) /usr/X11R6/man/man1/mwm.1
-%attr(644, root, root) /usr/X11R6/man/man5/mwmrc.5
+%attr(644, root, root) /usr/X11R6/man/man1/mwm.1*
+%attr(644, root, root) /usr/X11R6/man/man5/mwmrc.5*
 
 %files clients
 %attr(755, root, root) /usr/X11R6/bin/uil
 %attr(755, root, root) /usr/X11R6/bin/xmbind
 %attr(644, root, root) %doc doc/UIL.txt
-%attr(644, root, root) /usr/X11R6/man/man1/xmbind.1
+%attr(644, root, root) /usr/X11R6/man/man1/xmbind.1*
 
 %files devel
-%attr(644, root, root) %doc etc/README.linuxaout
 %attr(644, root, root) %doc doc/lessdox/*
 %attr(755, root, root) %dir /usr/X11R6/include/Mrm
 %attr(755, root, root) %dir /usr/X11R6/include/Xm
@@ -201,6 +200,10 @@
 %attr(644, root, root) /usr/X11R6/LessTif/Motif2.0/lib/*.a
 
 %changelog
+* Wed May 04 2000 Jack Howarth <[EMAIL PROTECTED]>
+- add '*'s after manpages in filelist to handle redhat-6.2 build rules
+  which compress manpages on packaging.
+
 * Tue Apr 25 2000 Danny Backx <[EMAIL PROTECTED]>
 - add CFLAGS="$RPM_OPT_FLAGS" in front of ./configure to be able to
   pass parameters when building.






-------  End Forwarded Message  -------

Reply via email to