I am trying to install the rpm in a different directory other that the root directory. Here is the sample spec file I have Summary: sample spec application file Name: apptest6.0 Version: 5.1.0.L1 Release: 1 Copyright: GPL Group: Applications Source: apptest.beta.tar.gz Buildroot: %{_tmppath}/%{name}-%{version}-buildroot %description %prep %setup -n apptest.beta %install rm -rf $(RPM_BUILD_ROOT) mkdir -p $(RPM_BUILD_ROOT)/apptest mkdir -p $(RPM_BUILD_ROOT)/apptest/bin install -m 755 $(RPM_BUILD_DIR)/apptest.beta/bin/lnx86_24/p2ps $(RPM_BUILD_ROOT)/apptest/bin/p2ps install -m 755 $(RPM_BUILD_DIR)/apptest.beta/bin/lnx86_24/p2psmon $(RPM_BUILD_ROOT)/apptest/bin/p2psmon %files %defattr(-,root,root) /local/triarch/apptest/bin/p2psmon /local/triarch/apptest/bin/p2ps I am getting the following errors when I do rpmbuild -bb xxx.spec Can youtell me what is wrong in the spec file Thanks Vijaya ----------------------------------------------------------------- Visit our Internet site at http://www.reuters.com To find out more about Reuters Products and Services visit http://www.reuters.com/productinfo Any views expressed in this message are those of the individual sender, except where the sender specifically states them to be the views of Reuters Ltd.