[Date Prev][Date Next] [Thread Prev][Thread Next]
[Thread Index]
[Date Index]
[Author Index]
Re: [rpm-list] Trouble with RPM and %{_sysconfdir}.
- From: Kevin Cosgrove <kevinc doink com>
- To: RPM Package Manager <rpm-list redhat com>
- Subject: Re: [rpm-list] Trouble with RPM and %{_sysconfdir}.
- Date: Fri, 06 Apr 2007 08:24:15 -0700
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]