Buildroot problem

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

 



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.


_______________________________________________
Rpm-list mailing list
Rpm-list@xxxxxxxxxx
https://www.redhat.com/mailman/listinfo/rpm-list

[Index of Archives]     [RPM Ecosystem]     [Linux Kernel]     [Red Hat Install]     [PAM]     [Red Hat Watch]     [Red Hat Development]     [Red Hat]     [Gimp]     [Yosemite News]     [IETF Discussion]

  Powered by Linux