[packages/FHS] introduce /usr/{,local/}libexec directories
Jan Rękorajski
baggins at pld-linux.org
Mon Jul 10 13:02:48 CEST 2017
If you want me to keep this commit and directory then follow up by:
a) updating rpm macros
b) cleaning up packages that have libexec redefined directly in specs
FHS states this directory is optional, and I do not care at all what GNU
shamans think. This is not GNU/PLD, just PLD.
On Thu, 06 Jul 2017, gotar wrote:
> commit d49d853dc96ef5cd1a7d7f8f900577608a38be03
> Author: Tomasz Pala <gotar at pld-linux.org>
> Date: Thu Jul 6 11:41:42 2017 +0200
>
> introduce /usr/{,local/}libexec directories
>
> https://refspecs.linuxfoundation.org/FHS_3.0/fhs/ch04s07.html
>
> Note, that /usr/local/libexec is not mentioned explicitly in
> https://refspecs.linuxfoundation.org/FHS_3.0/fhs-3.0.html#requirements10,
> but rationale behind both libexec and local hierarchy allow us to treat
> this as lib<qual>.
>
> Since /usr/local/libexec should exist for GNU applications according to
> https://www.gnu.org/prep/standards/html_node/Directory-Variables.html,
> we must provide /usr/libexec directory as well to met FHS requirements.
>
> FHS.spec | 8 +++++---
> 1 file changed, 5 insertions(+), 3 deletions(-)
> ---
> diff --git a/FHS.spec b/FHS.spec
> index f92f737..3291fdd 100644
> --- a/FHS.spec
> +++ b/FHS.spec
> @@ -12,7 +12,7 @@ Summary(pl.UTF-8): Podstawowy układ katalogów systemu Linux zgodny z FHS 3.0
> Summary(tr.UTF-8): Temel dosya sistemi yapısı
> Name: FHS
> Version: 3.0
> -Release: 1
> +Release: 2
> License: GPL
> Group: Base
> URL: http://refspecs.linuxfoundation.org/fhs.shtml
> @@ -83,10 +83,10 @@ install -d \
> $RPM_BUILD_ROOT/etc/{X11,opt} \
> $RPM_BUILD_ROOT/lib/modules \
> $RPM_BUILD_ROOT/{mnt,media,proc,root/tmp,sbin,tmp} \
> - $RPM_BUILD_ROOT/usr/{bin,games,include,lib,sbin,share,src} \
> + $RPM_BUILD_ROOT/usr/{bin,games,include,lib{,exec},sbin,share,src} \
> $RPM_BUILD_ROOT/usr/share/{color/icc,dict,doc,games,info,misc,ppd,tmac,xml} \
> $RPM_BUILD_ROOT/usr/lib/games \
> - $RPM_BUILD_ROOT/usr/local/{bin,etc,games,include,lib,sbin,share/{color/icc,doc,info,man},src} \
> + $RPM_BUILD_ROOT/usr/local/{bin,etc,games,include,lib{,exec},sbin,share/{color/icc,doc,info,man},src} \
> $RPM_BUILD_ROOT/var/{cache,crash,db,games,lib/{color/icc,misc},local,lock,log,mail,opt,run,spool,tmp,yp}
>
> %if %{with lib64}
> @@ -165,6 +165,7 @@ posix.chown("/var/lock", 0, %{gid_uucp})
> %dir /usr/games
> %dir /usr/include
> %dir /usr/lib
> +%dir /usr/libexec
> %dir /usr/lib/games
> %dir /usr/sbin
> %dir /usr/share
> @@ -187,6 +188,7 @@ posix.chown("/var/lock", 0, %{gid_uucp})
> %dir /usr/local/games
> %dir /usr/local/include
> %dir /usr/local/lib
> +%dir /usr/local/libexec
> %dir /usr/local/sbin
> %dir /usr/local/share
> %dir /usr/local/share/color
> ================================================================
>
> ---- gitweb:
>
> http://git.pld-linux.org/gitweb.cgi/packages/FHS.git/commitdiff/d49d853dc96ef5cd1a7d7f8f900577608a38be03
>
> _______________________________________________
> pld-cvs-commit mailing list
> pld-cvs-commit at lists.pld-linux.org
> http://lists.pld-linux.org/mailman/listinfo/pld-cvs-commit
--
Jan Rękorajski | PLD/Linux
SysAdm | baggins<at>pld-linux.org | http://www.pld-linux.org/
More information about the pld-devel-pl
mailing list