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

Re: [rpm-list] Trouble with RPM and %{_sysconfdir}.



On 6 April 2007 at 11:11, Jeff Johnson <n3npq jbj gmail com> wrote:

> If all else fails, this will change the value of %_sysconfdir for you:
> 
>      echo '%_sysconfdir /etc' >> ~/.rpmmacros

My Linux systems are just as Jeff said.  In addition to that I
sometimes use this in a specfile, in cases where my %_prefix is
other than the default AND when the source code is free from
hard-coded paths, or can be patched to be so.

%{expand: %define _sysconfdir %{_prefix}%{_sysconfdir}/somewhere}

Cheers...

--
Kevin



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