Re: Re: Generic filtering macros...

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

 



On Fri, Jun 5, 2009 at 12:30 AM, Panu Matilainen <pmatilai@xxxxxxxxxxxxxxx> wrote:
As a generic filtering mechanism this is a no-go, doing this breaks multilib as Fedora uses it:

%global _use_internal_dependency_generator 0 \

One thing I thought was obvious here is that the above line is only ever invoked if %filter_setup is actually invoked.  The entire macro is %defined, not %global, and is wrapped in an %expand macro, so it will only ever be evaluated if a spec actually uses it, along the lines of:

  %define filter_setup %{expand: -internal-dep-overrides-here- }

                    -Chris
--
Chris Weyl
Ex astris, scientia
--
Fedora-packaging mailing list
Fedora-packaging@xxxxxxxxxx
https://www.redhat.com/mailman/listinfo/fedora-packaging

[Index of Archives]     [Fedora Users]     [Fedora Desktop]     [Fedora SELinux]     [Big List of Linux Books]     [Yosemite Forum]     [KDE Users]

  Powered by Linux