%{?dist} and changelog

Ralf Corsepius rc040203 at freenet.de
Tue Jan 24 07:32:44 UTC 2006


On Tue, 2006-01-24 at 15:52 +0900, Warren Togami wrote:
> Ralf Corsepius wrote:
> > On Tue, 2006-01-24 at 13:22 +0900, Warren Togami wrote:
> >> http://cvs.fedora.redhat.com/viewcvs/*checkout*/devel/libevent/libevent.spec?root=extras&rev=1.2
> >>
> >> Hi folks,
> >>
> >> This is just a reminder to please do not include the %{?dist} suffix in 
> >> the version field within a package %changelog like in this example 
> >> package.
> > 
> > How do you want us to avoid it in cases, where you have to branch
> > releases/"walk side ways" release-wise?

> Simply hard-code dist in the changelog if you have to branch sideways 
> and diverge from the other distros.  I personally don't include the dist 
> in changelogs at all in any packages when it is exactly identical 
> between distros, but if they differ then it is good to differentiate it.
This renders maintaining packages complicated.

>   Hard coding is the only clean and future proof way.
My conclusion is quite the opposite to what you say: Always encode
%{dist} into changelogs is the only clean way.

Ralf





More information about the fedora-extras-list mailing list