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

[LDM #EGB-839160]: DESTDIR fix for RPM



Adam,

> The .spec file included with ldm-6.11.2 files to build on RHEL6 because
> the RPM build directory (/buildroot/...) gets hard-coded in binaries and
> elsewhere.
> 
> Easy fix though:
> 
> 1) Add DESTDIR=$RPM_BUILD_ROOT to the 'make install' line in the .spec
> 2) Apply the attached patch.
> 
> Thanks for at least /having/ a .spec file. Better than most software I
> have to install!

Thanks for sending this in. I'm not an RPM expert.

Shouldn't the setting of the DESTDIR environment variable use %{buildroot} 
rather than $RPM_BUILD_ROOT, however?

> --
> Adam Carheden
> SNAT RAL UCAR
> x2753


Regards,
Steve Emmerson

Ticket Details
===================
Ticket ID: EGB-839160
Department: Support LDM
Priority: Normal
Status: Closed