bash is my shell - but ~ in that particular position in the .rpmmacros file has an unexpected effect.
Thanks for the tip on the $PATH Let em try again! -- Bill Michell [EMAIL PROTECTED] -----Original Message----- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]On Behalf Of Jesse Keating Sent: 18 July 2002 00:31 To: [EMAIL PROTECTED] Subject: Re: Building RPMs again (was RE: [courier-users] Allow relay from any IP if authenticated) 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 ------------------------------------------------------- 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
