Re: Tony Nugent's arguments about RH .spec files

Albert Dorofeev albert@mail.dma.be
Wed, 20 Jan 1999 23:20:03 +0100 (CET)


Hey, wait a second!

That was just a joke! Don't do it. You will have two different
versions of all documentation. What are you going to do about
the FAQ on the Web? Or if you put up the README from AS there,
which version is it going to be?

What I actually wanted to say is that you have to decide which
distribution (source/RH) is primary and do all documentation
towards that distribution.

The problem maybe addressed by putting in the beginning of the
document "by default the source AS distribution installs to
/usr/local blahblahblah... If you got a distribution from 
somewhere else than the official AS site (URL) your directories
will differ. For example, RH distro installs in blahblahblah..."
How about this?

Albert

Andrew Sullivan writes:
> On Tue, 19 Jan 1999, Ethan wrote:
> 
> > Albert suggested a "sed #/usr/local#/usr#".  It's possible to write a 
> > script to change the docs so that they point to /usr.  Would the spec 
> > file be able to run this script automatically?  Or, since I gather that 
> > the rpm building process involves running configure, could we determine 
> > if configure is being run by rpm?
> 
> The problem with Albert's suggestion is that it might have unintended
> effects.  I haven't looked, but I can certainly contemplate the
> possibility that a reference to something which is not part of AS, but
> which ought to go into /usr/local, has a reference to it somewhere in a
> doc file (or might sometime in the future).  The reference would be
> damaged in this case.
> 
> Of course, we could do it with "sed #/usr/local/bin#/usr/bin#" and "sed
> #/usr/local/share#/usr/share"; although in the former case at least the
> same problem obviously arises.
> 
> > This has the advantage of following both standards, and providing docs 
> > that point to the right place.  We would still have the problem of needing 
> > to know if AS was installed via rpm, when providing support.  
> 
> We already have to find out if its an RPM, since that's what's causing the
> confusion in the first place.

-- 
Albert Dorofeev http://www.tigr.net/ http://bewoner.dma.be/Albert/
fingerprint = C9 49 D0 F3 41 FA 8C D8  E9 5C 6A D4 F1 6D 65 15
Anything good in life is either illegal, immoral or fattening.