Hi! Is anyone going to apply this patch for me? Thanks. ---Kayvan
Index: development/ChangeLog =================================================================== RCS file: /usr/local/lyx/cvsroot/lyx-devel/development/ChangeLog,v retrieving revision 1.3 diff -u -u -r1.3 ChangeLog --- development/ChangeLog 2001/04/02 12:43:30 1.3 +++ development/ChangeLog 2001/04/05 09:04:07 @@ -7,3 +7,7 @@ * Code_rules/Recommendations: * Code_rules/Rules: update, add some comments, spelling and grammar + +2001-04-03 Kayvan Sylvan <[EMAIL PROTECTED]> + + * Fix lyx.spec.in handling on reLyX with RPM relocation. Index: development/lyx.spec.in =================================================================== RCS file: /usr/local/lyx/cvsroot/lyx-devel/development/lyx.spec.in,v retrieving revision 1.8 diff -u -u -r1.8 lyx.spec.in --- development/lyx.spec.in 2000/07/27 08:55:56 1.8 +++ development/lyx.spec.in 2001/04/05 09:04:07 @@ -87,6 +87,13 @@ cd $RPM_INSTALL_PREFIX/share/lyx ./configure --srcdir +# Fix reLyX perl program if the prefix is non-standard +if [ "$RPM_INSTALL_PREFIX" != "/usr" ] +then + perl -pi -e "s!/usr/share/lyx!$RPM_INSTALL_PREFIX/share/lyx!" \ + ${RPM_INSTALL_PREFIX}/bin/reLyX +fi + %post -n tetex-lyx # Fix the TeX file hash #