Georg Baum wrote: > Jean-Marc Lasgouttes wrote: > >> Things that remain to be done: >> >> - shall we fix the lyx.spec file, or wait until 1.4.0? > > The patch I sent a few days ago works, but it does not make rpmbuild stop > if the needed packages are not found. I have an idea to fix that: Let the > %prep script create an error file that is read by configure, and let > configure stop if the error file exists. rpmbuild will stop if something > goes wrong during the %build stage (strange that it does not during the > prep stage). > If this is not considered too ugly, I can prepare a patch tomorrow. > Otherwise I have no idea how to improve the spec file and unless somebody > else has an idea we should IMO not wait.
It sounds like an elegant solution to the problem, IMO. Just make sure that it's documented, as it *is* rather convoluted. -- Angus