On Sunday April 7, bluca@comedia.it wrote: > On Thu, Apr 04, 2002 at 02:55:43PM +1000, Neil Brown wrote: > > Yes... I sort of noticed that in passing... > > > > I added: > > %_sbindir /sbin > > %_sysconfdir /etc > > > > to my .rpcmacros and rebuild the rpms so they now put files in the > > "right" places. > > > > Any RPM gurus want to suggest what I *should* do? > i am no guru but an alterantive seems to be setting > %define _exec_prefix %{nil} > in the spec file Thanks. This looks like a reasonable suggestion. And it seems to work. > > > Is it wrong to use %_sbindir and $_sysconfdir ??? > i believe common practice is using /sbin literaly in the > spec file, but i prefer the above thing > > %_sysconfdir should be set to /etc in the per platform rpm macro file > /usr/lib/rpm/%{_target_cpu}-%{_vendor}-%{_target_os} > ie: /usr/lib/rpm/i386-redhat-linux Hmmm. and debian's /usr/lib/rpm files set it to /usr/etc which doesn't exist on debian :-( I'll just assume that debian is broken and leave _sysconfdir set to /etc in my .rpmmacros. Thanks again, NeilBrown - To unsubscribe from this list: send the line "unsubscribe linux-raid" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html