cmake guideline updates
Chen Lei
supercyper1 at gmail.com
Tue Jun 29 05:49:18 UTC 2010
2010/6/29 Kalev Lember <kalev at smartlink.ee>:
> Hello,
>
> %build
> -%cmake .
> -make VERBOSE=1 %{?_smp_mflags}
> +mkdir -p %{_target_platform}
> +pushd %{_target_platform}
> +%{cmake} ..
> +popd
> +
I think we can't replace %{cmake} . with %{cmake} .. for all packages
immediately. Sometimes, %{cmake} .. works improperly when using old
cmake version(e.g. cmake 2.6.x in F12), cmake fails to copy sources to
%{_target_platform} [1].
[1] http://cvs.fedoraproject.org/viewvc/rpms/pino/F-12/pino.spec?revision=1.11&view=markup
Regards,
Chen Lei
More information about the kde
mailing list