* Code_rules/Recommendations:
* Code_rules/Rules: update, add some comments,
spelling and grammar
* Code_rules/Recommendations:
* Code_rules/Rules: update, add some comments,
spelling and grammar
+
+2001-04-03 Kayvan Sylvan <kayvan@sylvan.com>
+
+ * Fix lyx.spec.in handling on reLyX with RPM relocation.
cd $RPM_INSTALL_PREFIX/share/lyx
./configure --srcdir
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
#
%post -n tetex-lyx
# Fix the TeX file hash
#