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

Re: Rebuilding RPMs results in bad update behavior



On Tue, 12 Jun 2007 01:13:09 -0400, J French wrote:

> 
> 
> Matthew Miller wrote:
> > On Mon, Jun 11, 2007 at 11:33:29PM -0400, J French wrote:
> >> Now, when I go to rpm -Uvh the resulting rpm, I get "the installed 
> >> version is NEWER than this one". How in the world is this even possible? 
> >> So now, any packages I rebuild get marked as older than the binaries? 
> > 
> > echo '%dist .fc8.jfrench' >> ~/.rpmmacros
> Right, why should I have to do that?

Because you don't have the redhat-rpm-config package installed?

$ rpm --eval %dist
.fc7
$ rpm -qf /usr/lib/rpm/redhat/macros 
redhat-rpm-config-8.0.45-15.fc7

For many packages, this %dist macro is appended to the package release tag.
If undefined, the rebuilt package has a lower release tag.


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