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

Re: delete a file from a rpm



On Wed, Jul 21, 2004 at 09:31:35AM -0700, Camilo Uribe wrote:
> --- "Taylor, ForrestX" <forrestx taylor intel com>
> wrote:
> > On Tue, 2004-07-20 at 09:41, Camilo Uribe wrote:
> > > I need to remove a .desktop from a rpm
> > > 
> > > Is possible to do this without recompliling the
> > package?
> > 
> > If you were using kickstart, you could remove it in
> > %post.
> 
> Thanks I add some
> 
> os.system("rm /usr/bin/something")
> 
> to the final stage of firstboot

It seems odd that you are happy to mung firstboot (itself requiring a rebuild)
but not rebuild the rpm in question using %exclude.  It is clearer your
intentions if it is encapsulated in a spec with a changelog entry IMHO.

Paul



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