Well, RHEL is only one...there are other RPM-based systems these are
built on, so it would have to be something that says something like:
%if 0%{?fedora} <- I don't understand this one
%define flexresp 1
%define mysql 1
%define postgresql 1
%endif
On Fri, 2005-05-13 at 21:51 +0100, Paul Howarth wrote:
> On Fri, 2005-05-13 at 15:40 -0500, Daniel Wittenberg wrote:
> > Yeah, I was tyring to find a way to detect if it was a Fedora system or
> > not, but didn't come up with anything.
> >
> > Anyone?
> >
> > Dan
> >
> > On Wed, 2005-05-11 at 10:49 -0600, Stephen J. Smoogen wrote:
> > > The one big thing I think that looking at the other fedora extras is
> > > that switches are frowned on in the auto-build system. I am thinking
> > > that for fedora a lot of the entries should be 1 versus 0
> > >
> > > %define flexresp 1
> > > %define mysql 1
> > > %define postgresql 1
> > >
> > > similar to how the caos one is done. I wonder if there is a %undefine
> > > RPM command.. as that would allow for the spec to cover the items that
> > > arent to be defined for Extras rpms (vendor, distro).
>
> Perhaps something like what's described at:
> http://fedoraproject.org/wiki/DistTag?
> action=highlight&value=CategoryExtras
>
> # Do something special if we're built for RHEL.
> %if !0%{?fedora}
> Vendor: blah
> Packager: blah
> %endif
>
> Paul.
Attachment:
signature.asc
Description: This is a digitally signed message part