[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]

Re: define _prefix in *.spec



On Thu, 2002-01-17 at 18:23, Jim Knoble wrote:
[snip good arguments]
> As you can see, shell stuff is a complete and utter mess.  Even after
> POSIX standardized a shell (which differed in subtle but important ways
> from the prior de-facto "standard"), it's still all but impossible to
> write a non-trivial shell script that's actually portable, and even
> more difficult to prove portability, let alone verify it.

However, RPM shell sections aren't intended to be non-trivial shell
scripts.  They're, at best, "scriptlets", or micro scripts, and
shouldn't be any more than that.  Really, you ought to be able to stick
to a portable set of commands for a spec file, it's a tiny amount of
code in the end.  Most things should be handled by the
program/makefiles/configure script itself.
	Greg

-- 
Portland, Oregon, USA.





[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index] []