Vijaya Koduru wrote: > 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 > > Did you forget to post the error? Use rpmbuild -bb -vvvv spec.file, and let us know. Thanks -dant