make tag and %{?dist}

Josh Boyer jwboyer at jdub.homelinux.org
Wed May 4 14:17:15 UTC 2005


On Wed, May 04, 2005 at 09:08:41AM -0500, Tom 'spot' Callaway wrote:
> On Wed, 2005-05-04 at 09:58 -0400, Ignacio Vazquez-Abrams wrote:
> > On Wed, 2005-05-04 at 08:43 -0500, Tom 'spot' Callaway wrote:
> > > In the spec, as the first two lines, you should put:
> > > 
> > > %define dist .fc3
> > > %define fedora 3
> > 
> > What about:
> > 
> > %{!?dist: %define dist .fc3 }
> > %{!?fedora: %define fedora 3 }
> 
> Nothing's defining %dist or %fedora in the buildsystem, so this is
> unnecessary. Although, if you're importing a package from an outside
> repo (where the buildsystem is defining these macros), then that might
> be necessary.

Ok, the fact that the buildsystem wasn't defining those macros had escaped me.
Mind if I explicitly point that out on the Wiki?

josh




More information about the fedora-extras-list mailing list