import CS filesystem-3.16-5.el9

This commit is contained in:
eabdullin 2024-09-30 15:30:07 +00:00
parent e1fe262d6e
commit a30e46f96c
2 changed files with 29 additions and 8 deletions

View File

View File

@ -1,7 +1,7 @@
Summary: The basic directory layout for a Linux system Summary: The basic directory layout for a Linux system
Name: filesystem Name: filesystem
Version: 3.16 Version: 3.16
Release: 2%{?dist} Release: 5%{?dist}
License: Public Domain License: Public Domain
URL: https://pagure.io/filesystem URL: https://pagure.io/filesystem
Group: System Environment/Base Group: System Environment/Base
@ -42,14 +42,17 @@ install -p -c -m755 %SOURCE3 %{buildroot}/iso_3166.sed
cd %{buildroot} cd %{buildroot}
mkdir -p afs boot dev \ Paths=(
etc/{X11/{applnk,fontpath.d,xinit/{xinitrc,xinput}.d},xdg/autostart,opt,pm/{config.d,power.d,sleep.d},skel,sysconfig,pki,bash_completion.d,rwtab.d,statetab.d} \ afs boot dev \
etc/{X11/{applnk,fontpath.d,xinit/{xinitrc,xinput}.d},xdg/autostart,opt,pm/{config.d,power.d,sleep.d},skel,sysconfig,pki,bash_completion.d,default,rwtab.d,statetab.d} \
home media mnt opt root run srv tmp \ home media mnt opt root run srv tmp \
usr/{bin,games,include,%{_lib}/{bpf,games,X11,pm-utils/{module.d,power.d,sleep.d}},lib/{debug/{.dwz,usr},games,locale,modules,sysimage},libexec,local/{bin,etc,games,lib,%{_lib}/bpf,sbin,src,share/{applications,man/man{1,2,3,4,5,6,7,8,9,n,1x,2x,3x,4x,5x,6x,7x,8x,9x},info},libexec,include,},sbin,share/{aclocal,appdata,applications,augeas/lenses,backgrounds,bash-completion{,/completions,/helpers},desktop-directories,dict,doc,empty,games,gnome,help,icons,idl,info,licenses,man/man{1,2,3,4,5,6,7,8,9,n,1x,2x,3x,4x,5x,6x,7x,8x,9x,0p,1p,3p},metainfo,mime-info,misc,omf,pixmaps,sounds,themes,xsessions,X11,wayland-sessions},src,src/kernels,src/debug} \ usr/{bin,games,include,%{_lib}/{bpf,games,X11,pm-utils/{module.d,power.d,sleep.d}},lib/{debug/{.dwz,usr},games,locale,modules,sysimage},libexec,local/{bin,etc,games,lib,%{_lib}/bpf,sbin,src,share/{applications,man/man{1,2,3,4,5,6,7,8,9,n,1x,2x,3x,4x,5x,6x,7x,8x,9x},info},libexec,include,},sbin,share/{aclocal,appdata,applications,augeas/lenses,backgrounds,bash-completion{,/completions,/helpers},desktop-directories,dict,doc,empty,fish/vendor_completions.d,games,gnome,help,icons,idl,info,licenses,man/man{1,2,3,4,5,6,7,8,9,n,1x,2x,3x,4x,5x,6x,7x,8x,9x,0p,1p,3p},metainfo,mime-info,misc,omf,pixmaps,sounds,themes,xsessions,X11/fonts,wayland-sessions,zsh/site-functions},src,src/kernels,src/debug} \
var/{adm,empty,ftp,lib/{games,misc,rpm-state},local,log,nis,preserve,spool/{mail,lpd},tmp,db,cache/bpf,opt,games,yp} var/{adm,empty,ftp,lib/{games,misc,rpm-state},local,log,nis,preserve,spool/{mail,lpd},tmp,db,cache/bpf,opt,games,yp}
)
for i in "${Paths[@]}"; do
mkdir -p "$i"
done
#do not create the symlink atm.
#ln -snf etc/sysconfig etc/default
ln -snf ../var/tmp usr/tmp ln -snf ../var/tmp usr/tmp
ln -snf spool/mail var/mail ln -snf spool/mail var/mail
ln -snf usr/bin bin ln -snf usr/bin bin
@ -199,6 +202,7 @@ restorecon /afs 2>/dev/null >/dev/null || :
/etc/sysconfig /etc/sysconfig
/etc/pki /etc/pki
/etc/bash_completion.d/ /etc/bash_completion.d/
%dir /etc/default
%dir /etc/rwtab.d %dir /etc/rwtab.d
%dir /etc/statetab.d %dir /etc/statetab.d
/home /home
@ -260,6 +264,7 @@ restorecon /afs 2>/dev/null >/dev/null || :
/usr/share/dict /usr/share/dict
/usr/share/doc /usr/share/doc
%attr(555,root,root) %dir /usr/share/empty %attr(555,root,root) %dir /usr/share/empty
/usr/share/fish
/usr/share/games /usr/share/games
/usr/share/gnome /usr/share/gnome
/usr/share/help /usr/share/help
@ -277,8 +282,10 @@ restorecon /afs 2>/dev/null >/dev/null || :
/usr/share/sounds /usr/share/sounds
/usr/share/themes /usr/share/themes
/usr/share/xsessions /usr/share/xsessions
/usr/share/X11 %dir /usr/share/X11
/usr/share/X11/fonts
/usr/share/wayland-sessions /usr/share/wayland-sessions
/usr/share/zsh
/usr/src /usr/src
/usr/tmp /usr/tmp
%dir /var %dir /var
@ -305,6 +312,20 @@ restorecon /afs 2>/dev/null >/dev/null || :
/var/yp /var/yp
%changelog %changelog
* Tue Jun 25 2024 František Hrdina <fhrdina@redhat.com> - 3.16-5
- Fixing gating.yaml
* Tue Jun 25 2024 Martin Osvald <mosvald@redhat.com> - 3.16-4
- Update fmf plans and gating
* Tue Jun 25 2024 Martin Osvald <mosvald@redhat.com> - 3.16-3
- Add ownership of /etc/default, /usr/share/X11/fonts,
/usr/share/fish, /usr/share/zsh
- Improve directory creation to avoid 'Argument list too long' error
Resolves: RHEL-35327
Resolves: RHEL-1337
Resolves: RHEL-1338
* Mon Aug 09 2021 Mohan Boddu <mboddu@redhat.com> - 3.16-2 * Mon Aug 09 2021 Mohan Boddu <mboddu@redhat.com> - 3.16-2
- Rebuilt for IMA sigs, glibc 2.34, aarch64 flags - Rebuilt for IMA sigs, glibc 2.34, aarch64 flags
Related: rhbz#1991688 Related: rhbz#1991688
@ -456,7 +477,7 @@ restorecon /afs 2>/dev/null >/dev/null || :
* Sun Jun 30 2013 Ondrej Vasik <ovasik@redhat.com> - 3.2-17 * Sun Jun 30 2013 Ondrej Vasik <ovasik@redhat.com> - 3.2-17
- .dwz symlink is needed as well (#974130) - .dwz symlink is needed as well (#974130)
* Wed Jun 20 2013 Ondrej Vasik <ovasik@redhat.com> - 3.2-16 * Thu Jun 20 2013 Ondrej Vasik <ovasik@redhat.com> - 3.2-16
- /var/run and /var/lock can't be in payload for some reason - /var/run and /var/lock can't be in payload for some reason
* Wed Jun 19 2013 Ondrej Vasik <ovasik@redhat.com> - 3.2-15 * Wed Jun 19 2013 Ondrej Vasik <ovasik@redhat.com> - 3.2-15