Alternate package implementation (how can I provide and conflict with the same package?)

Valery Reznic valery_reznic at yahoo.com
Thu Jun 16 18:22:55 UTC 2011



--- On Thu, 6/16/11, Gene Hightower <gene at digilicious.com> wrote:

> From: Gene Hightower <gene at digilicious.com>
> Subject: Re: Alternate package implementation (how can I provide and conflict with the same package?)
> To: "General discussion about the RPM package manager" <rpm-list at lists.rpm.org>
> Cc: "Valery Reznic" <valery_reznic at yahoo.com>
> Date: Thursday, June 16, 2011, 12:56 AM
> On 2011-06-14 21:38, Valery Reznic
> wrote:
> 
> > Even if you not build this package you can easily
> manipulate it's
> > metadata (add conflict/obsolete/whatever else you
> like) using
> > rpmrebuild - http://rpmrebuild.sf.net
> 
> Very nice tool, and packaged for Fedora so I was able to
> just "yum
> install" it.  Now all I need to know is how to setup
> the meta-data to
> make this work.
I was under impression, that you know what meta-data you need,
only not have a way to change existing package :)
> 
> BTW: does messing with the meta-data invalidate the package
> signature?

rpmrebuild work as following:
- unpack package into temporay directory
- query it in order to have enough enformation to create specfile 
- manipulate specfile as you wish
- run rpmbuild to re-create package

So, obviously original signature is lost. If you wish you can sign re-generated packaged with you key, though.

Valery.

> 
> 
> 


More information about the Rpm-list mailing list