Re: [qmailtoaster] No simscan-toaster.spec file

2007-01-19 Thread Quinn Comendant
On Thu, 18 Jan 2007 09:58:38 -0700, Eric Shubes wrote:
 It's there when I do:
 # rpm -ivh simscan-toaster-1.3.1-1.3.3.src.rpm

Running rpm install/upgrade on a src.rpm file installs the spec file under 
SPECS and the source code under SOURCES.

 Note, it gets removed when the binary rpm is built.

No it doesn't. But it will get *overwritten* if you install/upgrade the src.rpm 
file again.

After you've installed the src.rpm file, and have edited the spec file to your 
liking you will build the  binary rpm from that spec file with a command that 
is different than what is used to build directly from the src.rpm file. It 
would be something like:

rpmbuild -bb --with $ARCH --target $(uname -m) 
/usr/src/redhat/SPECS/simscan-toaster.spec

Where $ARCH is cnt40, cmdr64, etc.

Quinn

-
Strangecode :: Internet Consultancy
http://www.strangecode.com/
+1 530 624 4410

-
 QmailToaster hosted by: VR Hosted http://www.vr.org
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Re: [qmailtoaster] No simscan-toaster.spec file

2007-01-19 Thread Eric \Shubes\
Quinn Comendant wrote:
 On Thu, 18 Jan 2007 09:58:38 -0700, Eric Shubes wrote:
 It's there when I do:
 # rpm -ivh simscan-toaster-1.3.1-1.3.3.src.rpm
 
 Running rpm install/upgrade on a src.rpm file installs the spec file under 
 SPECS and the source code under SOURCES.
 
 Note, it gets removed when the binary rpm is built.
 
 No it doesn't. But it will get *overwritten* if you install/upgrade the 
 src.rpm file again.

Perhaps I wasn't specific enough. It depends on the rpmbuild options. If you
use --rpmbuild (as the install scripts and qtp-newmodel do) they are
removed. They are not removed with the -b? options. ;)

 After you've installed the src.rpm file, and have edited the spec file to 
 your liking you will build the  binary rpm from that spec file with a command 
 that is different than what is used to build directly from the src.rpm file. 
 It would be something like:
 
 rpmbuild -bb --with $ARCH --target $(uname -m) 
 /usr/src/redhat/SPECS/simscan-toaster.spec
 
 Where $ARCH is cnt40, cmdr64, etc.
 
 Quinn
 


-- 
-Eric 'shubes'

-
 QmailToaster hosted by: VR Hosted http://www.vr.org
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



[qmailtoaster] No simscan-toaster.spec file

2007-01-18 Thread Robert Giddings
Hi Guys,

Does anyone know where the file simscan-toaster.spec is kept? I've looked in
/usr/src/redhat/SPECS/ but it's not there. As far as I know the src install
for simscan-toaster-1.3.1 went OK. I need the file, so I can edit it before
building the RPM, so as to be albe to get Spamassassin to lookup user prefs
in an SQL table.

Thanks,

Rob


Re: [qmailtoaster] No simscan-toaster.spec file

2007-01-18 Thread Eric \Shubes\
Robert Giddings wrote:
 Hi Guys,
  
 Does anyone know where the file simscan-toaster.spec is kept? I've
 looked in /usr/src/redhat/SPECS/ but it's not there. As far as I know
 the src install for simscan-toaster-1.3.1 went OK. I need the file, so I
 can edit it before building the RPM, so as to be albe to get
 Spamassassin to lookup user prefs in an SQL table.
  
 Thanks,
  
 Rob
It's there when I do:
# rpm -ivh simscan-toaster-1.3.1-1.3.3.src.rpm
Note, it gets removed when the binary rpm is built.
Which distro are you running? Non-RH distros put it in different places.
Which simscan-toaster-1.3.1 file did you install?
-- 
-Eric 'shubes'

-
 QmailToaster hosted by: VR Hosted http://www.vr.org
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]