FAQ Search Today's Posts Mark Forums Read
» Video Reviews

» Linux Archive

Linux-archive is a website aiming to archive linux email lists and to make them easily accessible for linux users/developers.


» Sponsor

» Partners

» Sponsor

Go Back   Linux Archive > Redhat > Fedora Packaging

 
 
LinkBack Thread Tools
 
Old 07-24-2011, 05:51 PM
Farkas Levente
 
Default 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
 
Old 07-25-2011, 06:15 AM
Ville Skyttä
 
Default 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
 

Thread Tools




All times are GMT. The time now is 05:51 AM.

VBulletin, Copyright ©2000 - 2014, Jelsoft Enterprises Ltd.
Content Relevant URLs by vBSEO ©2007, Crawlability, Inc.
Copyright ©2007 - 2008, www.linux-archive.org