Merging in CVS
Josh Boyer
jwboyer at jdub.homelinux.org
Fri Jun 10 02:26:11 UTC 2005
On Thu, 2005-06-09 at 16:05 -0400, John Dennis wrote:
> On Thu, 2005-06-09 at 15:57 -0400, Christopher Aillon wrote:
> > On 06/09/2005 03:49 PM, John Dennis wrote:
> > > No, they must be distribution unique. Why? Each distribution has a
> > > different buildroot, e.g. different libraries, header files, etc. The
> > > same src rpm does not produce the same binary rpm, the labeling and
> > > identification of the binary rpm is a product of the spec file.
> >
> > The NVR must be different between distribution releases. But I think
> > that can be attained without different spec files. See
> > http://www.fedoraproject.org/wiki/DistTag
>
> Good point Chris, %{dist} does get you out of this mess. Just remember
> its only available in extras using the extras build system, take it out
> of that environment and you've got the aforementioned problem.
With that specific incantation, take it out of extras and you have other
problems too. Which is why %{?dist} is recommended. It doesn't solve
the NVR problem outside of extras, but at least the specfile will still
function when %{dist} is not defined.
josh
More information about the fedora-extras-list
mailing list