[Date Prev][Date Next] [Thread Prev][Thread Next]
[Thread Index]
[Date Index]
[Author Index]
Re: make tag and %{?dist}
- From: Michael Schwendt <bugs michael gmx net>
- To: Discussion related to Fedora Extras <fedora-extras-list redhat com>
- Subject: Re: make tag and %{?dist}
- Date: Wed, 4 May 2005 18:55:19 +0200
On Wed, 04 May 2005 09:08:41 -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.
What's the purpose of those macros then? Obviously, you cannot build the
same src.rpm for multiple distribution versions without editing it. If,
however, you used Ignacio's version, you could
rpmbuild --define "fedora 4" --define "dist .fc4"
and build the same src.rpm for FC4. Exactly *that* was one of the
benefits of dist tags defined outside of the package and applied at
build-time.
If we need to edit the spec, we can as well do that in CVS prior to
commit.
[Date Prev][Date Next] [Thread Prev][Thread Next]
[Thread Index]
[Date Index]
[Author Index]