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

Buildroot problem



RPM Version = 4.2

Problem in changing the BUILD ROOT
----------------------------------

I followed the steps mentioned in http://www.rpm.org/max-rpm/ch-rpm-anywhere.html
for changing the buildroot, because I need to build it in my clearcase VOB and
NOT in /usr/src/redhat/BUILD.

My .spec file looks like
-----------------------------------------------------------------
BuildRoot: /vobs/nightingale/server/product/code/process/ml_temp

%prep
RPM_BUILD_DIR=/vobs/nightingale/server/product/code/process/ml_temp
RPM_SOURCE_DIR=/usr/src/redhat/SOURCES
rm -rf $RPM_BUILD_DIR/ML
tar zxvf $RPM_SOURCE_DIR/ML.tgz

%build
make

%install
make ROOT="$RPM_BUILD_ROOT" install
-----------------------------------------------------------------------

Despite this the build happens in the default dir (/usr/src/redhat/BUILD)
and fails :(

Any clues?

TIA,
Deepesh.



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