Linux Archive

Linux Archive (http://www.linux-archive.org/)
-   Fedora Packaging (http://www.linux-archive.org/fedora-packaging/)
-   -   anybody understand mingw's macros? (http://www.linux-archive.org/fedora-packaging/556451-anybody-understand-mingws-macros.html)

Farkas Levente 07-24-2011 05:51 PM

anybody understand mingw's macros?
 
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!"
--
packaging mailing list
packaging@lists.fedoraproject.org
https://admin.fedoraproject.org/mailman/listinfo/packaging

Ville Skyttä 07-25-2011 06:15 AM

anybody understand mingw's macros?
 
On 07/24/2011 08:51 PM, Farkas Levente wrote:

> since i can NOT find any kind of docs about rpm's macros! anybody know??

See /usr/share/doc/rpm-*/macros.
--
packaging mailing list
packaging@lists.fedoraproject.org
https://admin.fedoraproject.org/mailman/listinfo/packaging


All times are GMT. The time now is 01:40 PM.

VBulletin, Copyright ©2000 - 2014, Jelsoft Enterprises Ltd.
Content Relevant URLs by vBSEO ©2007, Crawlability, Inc.