Re: ANNOUNCE - mdadm 0.8 - candidate for 1.0

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

 



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@comedia.it
        Communication Media & Services S.r.l.
 /"\
 \ /     ASCII RIBBON CAMPAIGN
  X        AGAINST HTML MAIL
 / \
-
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

[Index of Archives]     [Linux RAID Wiki]     [ATA RAID]     [Linux SCSI Target Infrastructure]     [Linux Block]     [Linux IDE]     [Linux SCSI]     [Linux Hams]     [Device Mapper]     [Device Mapper Cryptographics]     [Kernel]     [Linux Admin]     [Linux Net]     [GFS]     [RPM]     [git]     [Yosemite Forum]


  Powered by Linux