Re: ifdef in rpmmacro

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Le Jeudi 13 Octobre 2005 08:53, Doug Maxey a écrit :
> Howdy!
>
> Any way to do the equivalent of #ifdef in the rc file?  I need to be
> able to change the tmpdir depending on the distro.

Unfortunnally there is not if in rpmmarcos (and not in rpmrc) files.

In macros file you can do somethings like:

%_foo %{?_bar:bar is define}%{?!_bar:bar is not defined}

Attachment: pgpoXb4b6de2Y.pgp
Description: PGP signature

_______________________________________________
Rpm-list mailing list
Rpm-list@xxxxxxxxxx
https://www.redhat.com/mailman/listinfo/rpm-list

[Index of Archives]     [RPM Ecosystem]     [Linux Kernel]     [Red Hat Install]     [PAM]     [Red Hat Watch]     [Red Hat Development]     [Red Hat]     [Gimp]     [Yosemite News]     [IETF Discussion]

  Powered by Linux