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

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

 



On 6 April 2007 at 11:11, Jeff Johnson <n3npq.jbj@xxxxxxxxx> 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


_______________________________________________
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