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

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

This archive contains answers to questions sent to Unidata support through mid-2025. Note that the archive is no longer being updated. We provide the archive for reference; many of the answers presented here remain technically correct, even if somewhat outdated. For the most up-to-date information on the use of NSF Unidata software and data services, please consult the Software Documentation first.


  • Subject: [LDM #EGB-839160]: DESTDIR fix for RPM
  • Date: Wed, 27 Feb 2013 17:42:37 -0700

Adam,

> I have $RPM_BUILD_ROOT in the RPMs I just compiled and it works fine. I
> think you may be correct that the "official" docs prefer %{}, but
> $RPM_BUILD_ROOT works and if they deprecated setting that variable it
> would probably break lots of RPMs out there and make a lot of rpm
> developers quite upset. Could vary between distros though.

I'll change it to use %{buildroot}, then.

> Whatever works for you. I just wanted to pass along my fix to save
> someone on your end the trouble.

Thanks for sending it in.

So, are you building binary LDM distributions to be installed on remote systems?

Regards,
Steve Emmerson

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