[Fedora-packaging] cmake rpm macro(s):

Ralf Corsepius rc040203 at freenet.de
Tue Mar 13 18:38:01 UTC 2007


On Tue, 2007-03-13 at 13:05 -0500, Rex Dieter wrote:
> Appended is a first try at rpm macro'izing the the call to cmake per:
> http://fedoraproject.org/wiki/PackagingDrafts/cmake
> 
> I chose not to implement the out-of-tree style of build in the 
> PackagingDraft to keep things simple(r).
> 
> Made each cmake option a separate macro to make in easier to override.
> 
> Comments?
1) This proposal doesn't handle %{_*dir}'s but _prefix
I.e. it will break when any of them changes.

2) I don't like macros, once they have been introduced, you hardly can
get rid of them.

Ralf





More information about the Fedora-packaging mailing list