Re: [Cooker] lyx-1.2.0-0.2pre5 %post problems (patch included)

2002-05-14 Thread Thierry Vignaud

"Ryan T. Sammartino" <[EMAIL PROTECTED]> writes:

> The following patch fixes it:

thanks

-- 
thierry, back from holydays :-)





[Cooker] lyx-1.2.0-0.2pre5 %post problems (patch included)

2002-05-12 Thread Ryan T. Sammartino


Preparing...
##
lyx
##
Configuring LyX for your system...
/home/ryants/rpm/tmp/rpm-tmp.93259: ./configure: /bin/sh: bad
interpreter: Permission denied
error: execution of %post scriptlet from lyx-1.2.0-0.2pre5mdk failed,
exit status 126

The following patch fixes it:


--- lyx.spec.orig   2002-05-12 17:27:31.0 -0700
+++ lyx.spec2002-05-12 17:29:59.0 -0700
@@ -17,7 +17,7 @@
 Name:  lyx
 Summary:   A word processor for the Desktop Environment
 Version:   1.2.0
-Release:   0.2%{subr}mdk
+Release:   0.3%{subr}mdk
 Source:
ftp://ftp.lyx.org/pub/lyx/stable/%{name}-%{version}%{subr}.tar.bz2
 Source50:  textclass.lst
 Source51:  packages.lst
@@ -148,6 +148,7 @@ fi
 #
 echo "Configuring LyX for your system..."
 cd %_datadir/lyx
+chmod u+x ./configure
 ./configure --srcdir
 
 %postun
@@ -167,6 +168,9 @@ rm -rf $RPM_BUILD_ROOT
 %{_datadir}/texmf/tex/latex/lyx
 
 %changelog
+* Sun May 12 2002 Ryan T. Sammartino <[EMAIL PROTECTED]> 1.2.0-0.3pre5mdk
+- fix %%post configure script
+
 * Sat May 11 2002 Thierry Vignaud <[EMAIL PROTECTED]> 1.2.0-0.2pre5mdk
 - %%lang()ify lyx documentation in order to reduce installation size
 - build with gcc-3.1 (new libstdc++ seems to result in 12.7% reduction

-- 
Ryan T. Sammartino
http://members.shaw.ca/ryants/
My mother wants grandchildren, so I said, "Mom, go for it!"
-- Sue Murphy