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

RE: [Fwd: Building an RPM from a compiled application]



> -----Original Message-----
> From: Bill Woodward [mailto:wpwood@dazel.com]
> 
> OK, I was able to get this to work.  I set up the %prep and %build
> sections to do nothing, and then in the %install section, I 
> untarred the
> tar file and listed all of the files it in the %files section.  Works
> great!

Cool!  

> Two questions:
> 1) I want to create a post-installation script, but the package may be
> relocated.  Relocation's OK, but I need to run a couple of 
> perl scripts
> that are installed and I can't figure out how to do it from 
> the correct
> directory.

Are you using a prefix in you spec file?  I think a line like
Prefix: /usr
will do the trick.  Unless of course I'm misunderstanding the question.

> 2) I'm having trouble uninstalling (rpm -vv --erase <rpmname>).  It
> looks like things are being done, but the files are not removed.  

I can't help you on that one.  Can you send the output from 'rpm -vve
<rpmname>'?
	Greg





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