[Fedora-packaging] anybody understand mingw's macros?

Farkas Levente lfarkas at lfarkas.org
Sun Jul 24 17:51:31 UTC 2011


hi,
i'm just fed up with this situation and try to debug this %mingw_cmake
macros and find out why not working.
since i can NOT find any kind of docs about rpm's macros! anybody know??

what and how %* works?
what is the %{nil} good for?

so what i find from /usr/lib/rpm/macros:
---------------------------
# The configure macro should be invoked as %configure (rather than
%{configure})
# because the rest of the arguments will be expanded using %*.
---------------------------
now i find the in /etc/rpm/macros.mingw %mingw_cmake before the
%mingw32_cmake call %* still contains the command line params. but since
%{mingw32_cmake} %*
called this way in stead of
%mingw32_cmake %*
the mingw32_cmake macro do not get the command line parameters. that's
why it's not possible to give the params further.
but if i rewrite the above two line than rpm macro deduction will fail
(i don't know why).
i try many different way tricks and trucks but none of them working.
anybody has any tip or anybody can help?
regards.

-- 
  Levente                               "Si vis pacem para bellum!"


More information about the packaging mailing list