cmake guideline updates

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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


[Index of Archives]     [KDE Users]     [Fedora General Discussion]     [Older Fedora Users Mail]     [Fedora Advisory Board]     [Fedora Security]     [Fedora Maintainers]     [Fedora Devel Java]     [Fedora Legacy]     [Fedora Desktop]     [ATA RAID]     [Fedora Marketing]     [Fedora Mentors]     [Fedora Package Announce]     [Fedora Package Review]     [Fedora Music]     [Fedora Packaging]     [Centos]     [Fedora SELinux]     [Fedora Triage]     [Coolkey]     [Yum Users]     [Yosemite Forum]     [Fedora Art]     [Fedora Docs]     [Asterisk PBX]

  Powered by Linux