On 6 April 2007 at 11:53, Jeff Johnson <n3npq.jbj@xxxxxxxxx> wrote: > > %{expand: %%define _sysconfdir %{_prefix}%{_sysconfdir}/somewhere} > > If you *have* to do that, try this instead: I redefine %sysconfig when I have a package that I want to live entirely in /home/local and when that package normally locates things in /usr and /etc. I do this because I don't touch /home when I update my Linux distribution, the package is custom, and I want it to survive a distribution upgrade. If there's a better approach, then I'm open to it. This is just what worked for me so far. Thanks for the notes! > %{expand: %%global _sysconfdir %{_prefix}%{_sysconfdir}/somewhere} [snip] > But you're likely only need > %define _sysconfdir %{_prefix}%{_sysconfdir}/somewhere > without all the other goo. -- Kevin _______________________________________________ Rpm-list mailing list Rpm-list@xxxxxxxxxx https://www.redhat.com/mailman/listinfo/rpm-list