26 messages in net.sourceforge.lists.courier-usersRE: Building RPMs again (was RE: [cou...
FromSent OnAttachments
Michael BernardoJul 17, 2002 12:03 pm 
Jesse KeatingJul 17, 2002 12:16 pm 
Randall ShawJul 17, 2002 1:12 pm 
Jesse KeatingJul 17, 2002 1:24 pm 
Randall ShawJul 17, 2002 2:52 pm 
Jesse KeatingJul 17, 2002 2:59 pm 
Juha SaarinenJul 17, 2002 3:08 pm 
Randall ShawJul 17, 2002 3:22 pm 
Bill MichellJul 17, 2002 4:21 pm 
Jesse KeatingJul 17, 2002 4:35 pm 
Juha SaarinenJul 17, 2002 4:40 pm 
Bill MichellJul 17, 2002 4:49 pm 
Bill MichellJul 17, 2002 4:51 pm 
Juha SaarinenJul 17, 2002 5:03 pm 
Jesse KeatingJul 17, 2002 5:07 pm 
Patrick BeartJul 17, 2002 5:09 pm 
Bill MichellJul 17, 2002 5:20 pm 
Jesse KeatingJul 17, 2002 5:21 pm 
Bill MichellJul 17, 2002 5:23 pm 
Juha SaarinenJul 17, 2002 5:27 pm 
Juha SaarinenJul 17, 2002 5:40 pm 
Sam VarshavchikJul 17, 2002 5:53 pm 
Jesse KeatingJul 17, 2002 6:00 pm 
Juha SaarinenJul 17, 2002 6:07 pm 
Anand BuddhdevJul 18, 2002 1:14 am 
Todd LyonsJul 20, 2002 11:40 am 
Actions with this message:
Paste this link in email or IM:
Paste this link in email or IM:
Atom feed for this thread
Paste this URL into your reader:
Subject:RE: Building RPMs again (was RE: [courier-users] Allow relay from any IP if authenticated)Actions...
From:Bill Michell (bi@mics.org.uk)
Date:Jul 17, 2002 4:51:41 pm
List:net.sourceforge.lists.courier-users

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!

-----Original Message----- From: cour@lists.sourceforge.net [mailto:cour@lists.sourceforge.net]On Behalf Of Jesse Keating Sent: 18 July 2002 00:31 To: cour@lists.sourceforge.net 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" <bi@mics.org.uk> 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.

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