|
|
|
@ -1,10 +1,19 @@
|
|
|
|
|
## START: Set by rpmautospec
|
|
|
|
|
## (rpmautospec version 0.6.5)
|
|
|
|
|
## RPMAUTOSPEC: autorelease, autochangelog
|
|
|
|
|
%define autorelease(e:s:pb:n) %{?-p:0.}%{lua:
|
|
|
|
|
release_number = 16;
|
|
|
|
|
base_release_number = tonumber(rpm.expand("%{?-b*}%{!?-b:1}"));
|
|
|
|
|
print(release_number + base_release_number - 1);
|
|
|
|
|
}%{?-e:.%{-e*}}%{?-s:.%{-s*}}%{!?-n:%{?dist}}
|
|
|
|
|
## END: Set by rpmautospec
|
|
|
|
|
|
|
|
|
|
Summary: The basic directory layout for a Linux system
|
|
|
|
|
Name: filesystem
|
|
|
|
|
Version: 3.16
|
|
|
|
|
Release: 5%{?dist}
|
|
|
|
|
License: Public Domain
|
|
|
|
|
Version: 3.18
|
|
|
|
|
Release: %autorelease
|
|
|
|
|
License: LicenseRef-Fedora-Public-Domain
|
|
|
|
|
URL: https://pagure.io/filesystem
|
|
|
|
|
Group: System Environment/Base
|
|
|
|
|
Source1: https://pagure.io/filesystem/raw/master/f/lang-exceptions
|
|
|
|
|
Source2: iso_639.sed
|
|
|
|
|
Source3: iso_3166.sed
|
|
|
|
@ -22,7 +31,6 @@ the directories.
|
|
|
|
|
|
|
|
|
|
%package content
|
|
|
|
|
Summary: Directory ownership content of the filesystem package
|
|
|
|
|
License: Public Domain
|
|
|
|
|
|
|
|
|
|
%description content
|
|
|
|
|
This subpackage of filesystem package contains just the file with
|
|
|
|
@ -44,9 +52,9 @@ cd %{buildroot}
|
|
|
|
|
|
|
|
|
|
Paths=(
|
|
|
|
|
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} \
|
|
|
|
|
etc/{X11/{applnk,fontpath.d,xinit/{xinitrc,xinput}.d},xdg/autostart,opt,pm/{config.d,power.d,sleep.d},skel,sysconfig,keys/ima,pki,bash_completion.d,default,rwtab.d,statetab.d} \
|
|
|
|
|
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,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} \
|
|
|
|
|
usr/{bin,games,include,%{_lib}/{bpf,games,X11,pm-utils/{module.d,power.d,sleep.d}},lib/{debug/{.dwz,usr},games,locale,modules,sysimage,systemd/{system,user},sysusers.d,tmpfiles.d},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}
|
|
|
|
|
)
|
|
|
|
|
for i in "${Paths[@]}"; do
|
|
|
|
@ -168,17 +176,12 @@ posix.symlink("../run", "/var/run")
|
|
|
|
|
posix.symlink("../run/lock", "/var/lock")
|
|
|
|
|
return 0
|
|
|
|
|
|
|
|
|
|
%posttrans
|
|
|
|
|
#we need to restorecon on some dirs created in %pretrans or by other packages
|
|
|
|
|
restorecon /var 2>/dev/null >/dev/null || :
|
|
|
|
|
restorecon /var/run 2>/dev/null >/dev/null || :
|
|
|
|
|
restorecon /var/lock 2>/dev/null >/dev/null || :
|
|
|
|
|
restorecon -r /usr/lib/debug/ 2>/dev/null >/dev/null || :
|
|
|
|
|
restorecon /sys 2>/dev/null >/dev/null || :
|
|
|
|
|
restorecon /boot 2>/dev/null >/dev/null || :
|
|
|
|
|
restorecon /dev 2>/dev/null >/dev/null || :
|
|
|
|
|
restorecon /media 2>/dev/null >/dev/null || :
|
|
|
|
|
restorecon /afs 2>/dev/null >/dev/null || :
|
|
|
|
|
%posttrans -p <lua>
|
|
|
|
|
--# we need to restorecon on some dirs created in %pretrans or by other packages
|
|
|
|
|
if posix.access ("/usr/sbin/restorecon", "x") then
|
|
|
|
|
rpm.execute("/usr/sbin/restorecon", "/var", "/var/run", "/var/lock", "/sys", "/boot", "/dev", "/media", "/afs")
|
|
|
|
|
rpm.execute("/usr/sbin/restorecon", "-r", "/usr/lib/debug")
|
|
|
|
|
end
|
|
|
|
|
|
|
|
|
|
%files content
|
|
|
|
|
%dir %{_datadir}/filesystem
|
|
|
|
@ -200,6 +203,7 @@ restorecon /afs 2>/dev/null >/dev/null || :
|
|
|
|
|
/etc/pm
|
|
|
|
|
/etc/skel
|
|
|
|
|
/etc/sysconfig
|
|
|
|
|
/etc/keys
|
|
|
|
|
/etc/pki
|
|
|
|
|
/etc/bash_completion.d/
|
|
|
|
|
%dir /etc/default
|
|
|
|
@ -226,6 +230,11 @@ restorecon /afs 2>/dev/null >/dev/null || :
|
|
|
|
|
/usr/include
|
|
|
|
|
%dir %attr(555,root,root) /usr/lib
|
|
|
|
|
%dir /usr/lib/sysimage
|
|
|
|
|
%dir /usr/lib/systemd
|
|
|
|
|
/usr/lib/systemd/system
|
|
|
|
|
/usr/lib/systemd/user
|
|
|
|
|
%dir /usr/lib/sysusers.d
|
|
|
|
|
%dir /usr/lib/tmpfiles.d
|
|
|
|
|
%dir /usr/lib/locale
|
|
|
|
|
%dir /usr/lib/modules
|
|
|
|
|
%dir /usr/lib/debug
|
|
|
|
@ -233,7 +242,7 @@ restorecon /afs 2>/dev/null >/dev/null || :
|
|
|
|
|
%ghost /usr/lib/debug/bin
|
|
|
|
|
%ghost /usr/lib/debug/lib
|
|
|
|
|
%ghost /usr/lib/debug/%{_lib}
|
|
|
|
|
%ghost /usr/lib/debug/usr
|
|
|
|
|
%ghost %dir /usr/lib/debug/usr
|
|
|
|
|
%ghost /usr/lib/debug/usr/bin
|
|
|
|
|
%ghost /usr/lib/debug/usr/sbin
|
|
|
|
|
%ghost /usr/lib/debug/usr/lib
|
|
|
|
@ -312,23 +321,58 @@ restorecon /afs 2>/dev/null >/dev/null || :
|
|
|
|
|
/var/yp
|
|
|
|
|
|
|
|
|
|
%changelog
|
|
|
|
|
* Tue Jun 25 2024 František Hrdina <fhrdina@redhat.com> - 3.16-5
|
|
|
|
|
- Fixing gating.yaml
|
|
|
|
|
## START: Generated by rpmautospec
|
|
|
|
|
* Tue Oct 29 2024 Troy Dawson <tdawson@redhat.com> - 3.18-16
|
|
|
|
|
- Bump release for October 2024 mass rebuild:
|
|
|
|
|
|
|
|
|
|
* Fri Oct 25 2024 MSVSphere Packaging Team <packager@msvsphere-os.ru> - 3.18-15
|
|
|
|
|
- Rebuilt for MSVSphere 10
|
|
|
|
|
|
|
|
|
|
* Tue Jun 25 2024 Martin Osvald <mosvald@redhat.com> - 3.18-15
|
|
|
|
|
- Add ownership of /etc/default
|
|
|
|
|
|
|
|
|
|
* Mon Jun 24 2024 Troy Dawson <tdawson@redhat.com> - 3.18-9
|
|
|
|
|
- Bump release for June 2024 mass rebuild
|
|
|
|
|
|
|
|
|
|
* Wed Jan 24 2024 Fedora Release Engineering <releng@fedoraproject.org> - 3.18-8
|
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_40_Mass_Rebuild
|
|
|
|
|
|
|
|
|
|
* Fri Jan 19 2024 Fedora Release Engineering <releng@fedoraproject.org> - 3.18-7
|
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_40_Mass_Rebuild
|
|
|
|
|
|
|
|
|
|
* Fri Jul 21 2023 Peter Robinson <pbrobinson@fedoraproject.org> - 3.18-6
|
|
|
|
|
- Add /etc/keys for initrd/kernel related keys
|
|
|
|
|
|
|
|
|
|
* Tue Jun 25 2024 Martin Osvald <mosvald@redhat.com> - 3.16-4
|
|
|
|
|
- Update fmf plans and gating
|
|
|
|
|
* Wed Jul 19 2023 Fedora Release Engineering <releng@fedoraproject.org> - 3.18-5
|
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_39_Mass_Rebuild
|
|
|
|
|
|
|
|
|
|
* 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
|
|
|
|
|
* Tue Feb 21 2023 Than Ngo <than@redhat.com> - 3.18-4
|
|
|
|
|
- migrated to SPDX license
|
|
|
|
|
|
|
|
|
|
* Thu Jan 19 2023 Fedora Release Engineering <releng@fedoraproject.org> - 3.18-3
|
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_38_Mass_Rebuild
|
|
|
|
|
|
|
|
|
|
* Tue Aug 09 2022 Martin Osvald <mosvald@redhat.com> - 3.18-2
|
|
|
|
|
- Filesystem has a dependency on /bin/sh (rhbz#1306489)
|
|
|
|
|
|
|
|
|
|
* Tue Jul 26 2022 Martin Osvald <mosvald@redhat.com> - 3.18-1
|
|
|
|
|
- Filesystem has a dependency on /bin/sh (#1306489)
|
|
|
|
|
- Add /usr/share/X11/fonts/ to default filesystem (#2107447)
|
|
|
|
|
- Remove obsolete and forbidden Group tag
|
|
|
|
|
- Own zsh and fish completions directories (rhbz#1312594)
|
|
|
|
|
- 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
|
|
|
|
|
- Rebuilt for IMA sigs, glibc 2.34, aarch64 flags
|
|
|
|
|
Related: rhbz#1991688
|
|
|
|
|
* Mon Jul 25 2022 Debarshi Ray <rishi@fedoraproject.org> - 3.17-1
|
|
|
|
|
- Assume ownership of /usr/lib/tmpfiles.d
|
|
|
|
|
|
|
|
|
|
* Thu Jul 21 2022 Fedora Release Engineering <releng@fedoraproject.org> - 3.16-4
|
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_37_Mass_Rebuild
|
|
|
|
|
|
|
|
|
|
* Thu Jan 20 2022 Petr Menšík <pemensik@redhat.com> - 3.16-3
|
|
|
|
|
- Include systemd directories for %unitdir and similar
|
|
|
|
|
|
|
|
|
|
* Thu Jan 20 2022 Fedora Release Engineering <releng@fedoraproject.org> - 3.16-2
|
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_36_Mass_Rebuild
|
|
|
|
|
|
|
|
|
|
* Tue Aug 3 2021 Pavel Zhukov <pzhukov@redhat.com> - 3.15-1
|
|
|
|
|
- Move /afs into main package
|
|
|
|
@ -905,7 +949,7 @@ restorecon /afs 2>/dev/null >/dev/null || :
|
|
|
|
|
* Mon Aug 28 1999 Preston Brown <pbrown@redhat.com>
|
|
|
|
|
- added /opt, /var/state, /var/cache for FHS compliance (#3966)
|
|
|
|
|
|
|
|
|
|
* Sun Mar 21 1999 Cristian Gafton <gafton@redhat.com>
|
|
|
|
|
* Sun Mar 21 1999 Cristian Gafton <gafton@redhat.com>
|
|
|
|
|
- auto rebuild in the new build environment (release 4)
|
|
|
|
|
|
|
|
|
|
* Sun Jan 17 1999 Jeff Johnson <jbj@redhat.com>
|
|
|
|
@ -942,3 +986,5 @@ restorecon /afs 2>/dev/null >/dev/null || :
|
|
|
|
|
* Wed Apr 16 1997 Erik Troan <ewt@redhat.com>
|
|
|
|
|
- Changed /proc to 555
|
|
|
|
|
- Removed /var/spool/mqueue (which is owned by sendmail)
|
|
|
|
|
|
|
|
|
|
## END: Generated by rpmautospec
|
|
|
|
|