On Mon, 2008-02-18 at 09:49 -0600, Matt Domsch wrote: > ok, new-kernel-pkg grows a --rpmposttrans mode then to call these > hooks, and we add a %posttrans to each kernel RPM.
This looks to be working fine, but let me see if I've got this straight ... > +%define kernel_variant_posttrans(s:r:v:) \ > +%{expand:%%posttrans %{?-v*}}\ ... > %define kernel_variant_post(s:r:v:) \ > %{expand:%%kernel_devel_post %{?-v*}}\ > +%{expand:%%kernel_variant_posttrans %{?-v*}}\ in this case, %{?-v*} doesn't just expand to the argument to -v, but also passes the "-v" to %kernel_variant_posttrans ? i.e. I'd expect it to be something like: %{expand:%%kernel_variant_posttrans %{?-v:-v %{-v*}}}\ I know spec file syntax is bizarre, but does anyone have a sensible explanation for this behaviour? Cheers, Mark. _______________________________________________ Fedora-kernel-list mailing list Fedora-kernel-list@redhat.com https://www.redhat.com/mailman/listinfo/fedora-kernel-list