2010/6/29 Kalev Lember <kalev(a)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.1...
Regards,
Chen Lei