RPM Community Forums

Mailing List Message of <rpm-devel>

Re: rpm -e can no longer erase a public key?

From: Jeff Johnson <n3npq@mac.com>
Date: Thu 06 Sep 2007 - 01:34:04 CEST
Message-Id: <5B4B56C9-A989-459F-AE11-9468EFAC75F3@mac.com>

On Sep 5, 2007, at 3:24 PM, Ralf S. Engelschall wrote:

>
> Ops?

Hacky fix, but fixed.

The gain is that srpm's use exactly the same code paths
as binary rpm's. There used to be 3 different srpm install paths,
1 of which I always forget to change.

I'll refactor the isSource setting down the road a bit. Currently
there are 3 types of headers: binary, source, pubkeys, that
are implicitly identified by RPMTAG_SOURCERPM and RPMTAG_ARCH.

I'm not at all sure that creating a "pubkey" arch (which is not an arch
at all), or changing srpm's to "noarch" (which is still an arch), is  
the right fixing.

The implicit identification by tag existence can at least be silently  
changed
within rpm with no user impact nor release engineering.

73 de Jeff
Received on Thu Sep 6 01:34:34 2007
Driven by Jeff Johnson and the RPM project team.
Hosted by OpenPKG and Ralf S. Engelschall.
Powered by FreeBSD and OpenPKG.