7 Apr 2002 14:56
Re: ANNOUNCE - mdadm 0.8 - candidate for 1.0
Luca Berra <bluca <at> comedia.it>
2002-04-07 12:56:12 GMT
2002-04-07 12:56:12 GMT
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
> 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
L.
--
--
Luca Berra -- bluca <at> comedia.it
Communication Media & Services S.r.l.
/"\
\ / ASCII RIBBON CAMPAIGN
(Continue reading)

Cheers,
Brad
-
To unsubscribe from this list: send the line "unsubscribe linux-raid" in
the body of a message to majordomo <at> vger.kernel.org
More majordomo info at
RSS Feed