On Thu, 18 Jul 2002 00:21:25 +0100
"Bill Michell" <[EMAIL PROTECTED]> wrote:

#Then I start to hit problems - the faq doesn't make clear exactly how you
#"use that spec file to build your RPMs" - I have successfully overwritten my
#changes now several times. Should I be using the -ta option to rpm, or -tb,
#or something else? Oh - and there was a message on the mailing list suggests
#using ~ in the .rpmmacros file; this doesn't work too well (on SuSE at
#least) - you need to use either $HOME, or hard-code the value. Otherwise you
#see odd messages about inability to copy locale files to courier.spec, which
#is obviously nonsense.

You use rpm -ba file.spec

As far as ~ is concerned, that is a bash thing.  If bash isn't your shell
*shrug*

#Second, if I try and build the RPMs as non-root, I can't actually complete
#the process because /sbin/chkconfig is in the sbin directory, and ordinary
#users don't have access to that directory, which is reasonable, since stuff
#goes in the sbin directory, rather than bin, for a reason.

Add /sbin:/usr/sbin to your $PATH.  The only reason users don't have "access"
is because it isn't in their $PATH.  A lot of the apps in that directory can be
ran as normal users.  

-- 
Jesse Keating
j2solutions.net
Mondo DevTeam (www.mondorescue.org)

Was I helpful?  Let others know:
 http://svcs.affero.net/rm.php?r=jkeating


-------------------------------------------------------
This sf.net email is sponsored by:ThinkGeek
Welcome to geek heaven.
http://thinkgeek.com/sf
_______________________________________________
courier-users mailing list
[EMAIL PROTECTED]
Unsubscribe: https://lists.sourceforge.net/lists/listinfo/courier-users

Reply via email to