Hi.

CPack rpm seem to work not correctly on systems with rpm version >=4.6.0 (like Fedora 10).
Due to rpm changes in 4.6.0 release (http://www.rpm.org/wiki/Releases/4.6.0)
"
%{_topdir} defaults to $(HOME)/rpmbuild/ now, instead of former usr/src/redhat/.

Rpm enforces BuildRoot for all packages and ignores the directive in spec.
"

Due to this rpmbuild ignores

%define _rpmdir ${CPACK_RPM_DIRECTORY}
%define _topdir ${CPACK_RPM_DIRECTORY}

set in spec file and looking for files in $(HOME)/rpmbuild/.

Best regards,
Dmitry Gerasimov

_______________________________________________
Powered by www.kitware.com

Visit other Kitware open-source projects at 
http://www.kitware.com/opensource/opensource.html

Please keep messages on-topic and check the CMake FAQ at: 
http://www.cmake.org/Wiki/CMake_FAQ

Follow this link to subscribe/unsubscribe:
http://www.cmake.org/mailman/listinfo/cmake

Reply via email to