2024-07-17 07:21:49 +00:00
|
|
|
%bcond merged_sbin 0
|
|
|
|
|
2007-02-12 14:34:40 +00:00
|
|
|
Summary: The basic directory layout for a Linux system
|
auto-import changelog data from filesystem-2.0.7-1.src.rpm
Fri Jul 21 2000 Bill Nottingham <notting@redhat.com>
- add /usr/share/empty
Wed Jul 12 2000 Prospector <bugzilla@redhat.com>
- automatic rebuild
Wed Jun 28 2000 Preston Brown <pbrown@redhat.com>
- remove /usr/doc
Thu Jun 22 2000 Preston Brown <pbrown@redhat.com>
- remove /usr/info
Mon Jun 19 2000 Bill Nottingham <notting@redhat.com>
- remove /usr/man
Sat Jun 17 2000 Bill Nottingham <notting@redhat.com>
- /var/spool/lpd should have normal perms (#12272)
Tue Jun 06 2000 Bill Nottingham <notting@redhat.com>
- add /etc/skel
Thu Jun 01 2000 Preston Brown <pbrown@redhat.com>
- add /var/spool/lpd to filesystem, owned by user/group lp, tight
permissions
Tue May 23 2000 Trond Eivind Glomsrd <teg@redhat.com>
- Added /etc/xinetd.d
Mon May 15 2000 Preston Brown <pbrown@redhat.com>
- /etc/opt, /usr/share/{info,man/man*,misc,doc} (FHS 2.1)
- added /var/games. Data should move from /var/lib/games to there (FHS 2.1)
- bump version up to 2.0 already!
Thu Apr 13 2000 Jakub Jelinek <jakub@redhat.com>
- removed /var/state, added /var/opt, /var/mail for FHS 2.1 compliance
Sat 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>
- auto rebuild in the new build environment (release 4)
Sun Jan 17 1999 Jeff Johnson <jbj@redhat.com>
- don't carry X11R6.1 as directory on sparc.
- /var/tmp/build root (#811)
Wed Jan 13 1999 Preston Brown <pbrown@redhat.com>
- font directory didn't belong, which I previously misunderstood. removed.
Fri Nov 13 1998 Preston Brown <pbrown@redhat.com>
- /usr/share/fonts/default added.
Fri Oct 09 1998 Bill Nottingham <notting@redhat.com>
- put /mnt/cdrom back in
Wed Oct 07 1998 Bill Nottingham <notting@redhat.com>
- Changed /root to 0750
Wed Aug 05 1998 Erik Troan <ewt@redhat.com>
- added /var/db
- set attributes in the spec file; don't depend on the ones in the cpio
archive
- use a tarball instead of a cpioball
Mon Apr 27 1998 Prospector System <bugs@redhat.com>
- translations modified for de, fr, tr
Tue Sep 09 1997 Erik Troan <ewt@redhat.com>
- made a noarch package
Wed Jul 09 1997 Erik Troan <ewt@redhat.com>
- added /
Wed Apr 16 1997 Erik Troan <ewt@redhat.com>
- Changed /proc to 555
- Removed /var/spool/mqueue (which is owned by sendmail)
2004-09-09 04:42:12 +00:00
|
|
|
Name: filesystem
|
2022-08-03 12:59:32 +00:00
|
|
|
Version: 3.18
|
2024-06-19 08:55:55 +00:00
|
|
|
Release: %autorelease
|
2023-02-21 17:23:52 +00:00
|
|
|
License: LicenseRef-Fedora-Public-Domain
|
2017-03-21 12:02:37 +00:00
|
|
|
URL: https://pagure.io/filesystem
|
|
|
|
Source1: https://pagure.io/filesystem/raw/master/f/lang-exceptions
|
2009-08-10 13:55:46 +00:00
|
|
|
Source2: iso_639.sed
|
|
|
|
Source3: iso_3166.sed
|
2024-07-13 10:04:42 +00:00
|
|
|
Source4: sbin-filenames
|
2024-07-13 14:31:28 +00:00
|
|
|
Source5: filesystem.attr
|
|
|
|
Source6: filesystem.req
|
|
|
|
Source7: macros.filesystem
|
2006-10-10 22:04:19 +00:00
|
|
|
BuildRequires: iso-codes
|
2011-05-18 11:07:48 +00:00
|
|
|
Requires(pre): setup
|
auto-import changelog data from filesystem-2.0.7-1.src.rpm
Fri Jul 21 2000 Bill Nottingham <notting@redhat.com>
- add /usr/share/empty
Wed Jul 12 2000 Prospector <bugzilla@redhat.com>
- automatic rebuild
Wed Jun 28 2000 Preston Brown <pbrown@redhat.com>
- remove /usr/doc
Thu Jun 22 2000 Preston Brown <pbrown@redhat.com>
- remove /usr/info
Mon Jun 19 2000 Bill Nottingham <notting@redhat.com>
- remove /usr/man
Sat Jun 17 2000 Bill Nottingham <notting@redhat.com>
- /var/spool/lpd should have normal perms (#12272)
Tue Jun 06 2000 Bill Nottingham <notting@redhat.com>
- add /etc/skel
Thu Jun 01 2000 Preston Brown <pbrown@redhat.com>
- add /var/spool/lpd to filesystem, owned by user/group lp, tight
permissions
Tue May 23 2000 Trond Eivind Glomsrd <teg@redhat.com>
- Added /etc/xinetd.d
Mon May 15 2000 Preston Brown <pbrown@redhat.com>
- /etc/opt, /usr/share/{info,man/man*,misc,doc} (FHS 2.1)
- added /var/games. Data should move from /var/lib/games to there (FHS 2.1)
- bump version up to 2.0 already!
Thu Apr 13 2000 Jakub Jelinek <jakub@redhat.com>
- removed /var/state, added /var/opt, /var/mail for FHS 2.1 compliance
Sat 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>
- auto rebuild in the new build environment (release 4)
Sun Jan 17 1999 Jeff Johnson <jbj@redhat.com>
- don't carry X11R6.1 as directory on sparc.
- /var/tmp/build root (#811)
Wed Jan 13 1999 Preston Brown <pbrown@redhat.com>
- font directory didn't belong, which I previously misunderstood. removed.
Fri Nov 13 1998 Preston Brown <pbrown@redhat.com>
- /usr/share/fonts/default added.
Fri Oct 09 1998 Bill Nottingham <notting@redhat.com>
- put /mnt/cdrom back in
Wed Oct 07 1998 Bill Nottingham <notting@redhat.com>
- Changed /root to 0750
Wed Aug 05 1998 Erik Troan <ewt@redhat.com>
- added /var/db
- set attributes in the spec file; don't depend on the ones in the cpio
archive
- use a tarball instead of a cpioball
Mon Apr 27 1998 Prospector System <bugs@redhat.com>
- translations modified for de, fr, tr
Tue Sep 09 1997 Erik Troan <ewt@redhat.com>
- made a noarch package
Wed Jul 09 1997 Erik Troan <ewt@redhat.com>
- added /
Wed Apr 16 1997 Erik Troan <ewt@redhat.com>
- Changed /proc to 555
- Removed /var/spool/mqueue (which is owned by sendmail)
2004-09-09 04:42:12 +00:00
|
|
|
|
2021-09-22 09:44:27 +00:00
|
|
|
Provides: filesystem-afs = %{version}-%{release}
|
|
|
|
Obsoletes: filesystem-afs <= 3.14-2
|
|
|
|
|
2024-07-17 07:21:49 +00:00
|
|
|
%if %{with merged_sbin}
|
2024-07-18 11:29:25 +00:00
|
|
|
# A virtual provides to indicate merged bin and sbin directories.
|
|
|
|
# This is intended in particular for rpm-ostree, so it can conditionalize
|
|
|
|
# how it sets up the initial directory structure.
|
|
|
|
Provides: filesystem(merged-sbin) = 1
|
|
|
|
|
2024-04-09 10:12:55 +00:00
|
|
|
# A virtual provides that packages can use to make sure that the
|
|
|
|
# symlinks from /usr/sbin/foo to /usr/bin/foo will be automatically
|
|
|
|
# created (if /usr/sbin is not a symlink itself).
|
|
|
|
Provides: filesystem(unmerged-sbin-symlinks) = 1
|
2024-07-17 07:21:49 +00:00
|
|
|
%endif
|
2024-04-09 10:12:55 +00:00
|
|
|
|
2024-05-31 08:43:36 +00:00
|
|
|
# This is needed for rpm-4.20
|
|
|
|
%global debug_package %{nil}
|
|
|
|
|
auto-import changelog data from filesystem-2.0.7-1.src.rpm
Fri Jul 21 2000 Bill Nottingham <notting@redhat.com>
- add /usr/share/empty
Wed Jul 12 2000 Prospector <bugzilla@redhat.com>
- automatic rebuild
Wed Jun 28 2000 Preston Brown <pbrown@redhat.com>
- remove /usr/doc
Thu Jun 22 2000 Preston Brown <pbrown@redhat.com>
- remove /usr/info
Mon Jun 19 2000 Bill Nottingham <notting@redhat.com>
- remove /usr/man
Sat Jun 17 2000 Bill Nottingham <notting@redhat.com>
- /var/spool/lpd should have normal perms (#12272)
Tue Jun 06 2000 Bill Nottingham <notting@redhat.com>
- add /etc/skel
Thu Jun 01 2000 Preston Brown <pbrown@redhat.com>
- add /var/spool/lpd to filesystem, owned by user/group lp, tight
permissions
Tue May 23 2000 Trond Eivind Glomsrd <teg@redhat.com>
- Added /etc/xinetd.d
Mon May 15 2000 Preston Brown <pbrown@redhat.com>
- /etc/opt, /usr/share/{info,man/man*,misc,doc} (FHS 2.1)
- added /var/games. Data should move from /var/lib/games to there (FHS 2.1)
- bump version up to 2.0 already!
Thu Apr 13 2000 Jakub Jelinek <jakub@redhat.com>
- removed /var/state, added /var/opt, /var/mail for FHS 2.1 compliance
Sat 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>
- auto rebuild in the new build environment (release 4)
Sun Jan 17 1999 Jeff Johnson <jbj@redhat.com>
- don't carry X11R6.1 as directory on sparc.
- /var/tmp/build root (#811)
Wed Jan 13 1999 Preston Brown <pbrown@redhat.com>
- font directory didn't belong, which I previously misunderstood. removed.
Fri Nov 13 1998 Preston Brown <pbrown@redhat.com>
- /usr/share/fonts/default added.
Fri Oct 09 1998 Bill Nottingham <notting@redhat.com>
- put /mnt/cdrom back in
Wed Oct 07 1998 Bill Nottingham <notting@redhat.com>
- Changed /root to 0750
Wed Aug 05 1998 Erik Troan <ewt@redhat.com>
- added /var/db
- set attributes in the spec file; don't depend on the ones in the cpio
archive
- use a tarball instead of a cpioball
Mon Apr 27 1998 Prospector System <bugs@redhat.com>
- translations modified for de, fr, tr
Tue Sep 09 1997 Erik Troan <ewt@redhat.com>
- made a noarch package
Wed Jul 09 1997 Erik Troan <ewt@redhat.com>
- added /
Wed Apr 16 1997 Erik Troan <ewt@redhat.com>
- Changed /proc to 555
- Removed /var/spool/mqueue (which is owned by sendmail)
2004-09-09 04:42:12 +00:00
|
|
|
%description
|
2004-09-09 04:42:34 +00:00
|
|
|
The filesystem package is one of the basic packages that is installed
|
2007-05-25 15:16:13 +00:00
|
|
|
on a Linux system. Filesystem contains the basic directory layout
|
|
|
|
for a Linux operating system, including the correct permissions for
|
|
|
|
the directories.
|
auto-import changelog data from filesystem-2.0.7-1.src.rpm
Fri Jul 21 2000 Bill Nottingham <notting@redhat.com>
- add /usr/share/empty
Wed Jul 12 2000 Prospector <bugzilla@redhat.com>
- automatic rebuild
Wed Jun 28 2000 Preston Brown <pbrown@redhat.com>
- remove /usr/doc
Thu Jun 22 2000 Preston Brown <pbrown@redhat.com>
- remove /usr/info
Mon Jun 19 2000 Bill Nottingham <notting@redhat.com>
- remove /usr/man
Sat Jun 17 2000 Bill Nottingham <notting@redhat.com>
- /var/spool/lpd should have normal perms (#12272)
Tue Jun 06 2000 Bill Nottingham <notting@redhat.com>
- add /etc/skel
Thu Jun 01 2000 Preston Brown <pbrown@redhat.com>
- add /var/spool/lpd to filesystem, owned by user/group lp, tight
permissions
Tue May 23 2000 Trond Eivind Glomsrd <teg@redhat.com>
- Added /etc/xinetd.d
Mon May 15 2000 Preston Brown <pbrown@redhat.com>
- /etc/opt, /usr/share/{info,man/man*,misc,doc} (FHS 2.1)
- added /var/games. Data should move from /var/lib/games to there (FHS 2.1)
- bump version up to 2.0 already!
Thu Apr 13 2000 Jakub Jelinek <jakub@redhat.com>
- removed /var/state, added /var/opt, /var/mail for FHS 2.1 compliance
Sat 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>
- auto rebuild in the new build environment (release 4)
Sun Jan 17 1999 Jeff Johnson <jbj@redhat.com>
- don't carry X11R6.1 as directory on sparc.
- /var/tmp/build root (#811)
Wed Jan 13 1999 Preston Brown <pbrown@redhat.com>
- font directory didn't belong, which I previously misunderstood. removed.
Fri Nov 13 1998 Preston Brown <pbrown@redhat.com>
- /usr/share/fonts/default added.
Fri Oct 09 1998 Bill Nottingham <notting@redhat.com>
- put /mnt/cdrom back in
Wed Oct 07 1998 Bill Nottingham <notting@redhat.com>
- Changed /root to 0750
Wed Aug 05 1998 Erik Troan <ewt@redhat.com>
- added /var/db
- set attributes in the spec file; don't depend on the ones in the cpio
archive
- use a tarball instead of a cpioball
Mon Apr 27 1998 Prospector System <bugs@redhat.com>
- translations modified for de, fr, tr
Tue Sep 09 1997 Erik Troan <ewt@redhat.com>
- made a noarch package
Wed Jul 09 1997 Erik Troan <ewt@redhat.com>
- added /
Wed Apr 16 1997 Erik Troan <ewt@redhat.com>
- Changed /proc to 555
- Removed /var/spool/mqueue (which is owned by sendmail)
2004-09-09 04:42:12 +00:00
|
|
|
|
2017-10-05 12:08:39 +00:00
|
|
|
%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
|
|
|
|
the directories owned by the filesystem package. This can be used
|
|
|
|
during the build process instead of calling rpm -ql filesystem.
|
|
|
|
|
2024-07-13 14:31:28 +00:00
|
|
|
%package srpm-macros
|
|
|
|
Summary: Macros for the sbin-merge
|
|
|
|
License: Public Domain
|
|
|
|
|
|
|
|
%description srpm-macros
|
|
|
|
This subpackage of filesystem package contains rpm macro definitions
|
|
|
|
and an rpm attribute geneator.
|
|
|
|
|
auto-import changelog data from filesystem-2.0.7-1.src.rpm
Fri Jul 21 2000 Bill Nottingham <notting@redhat.com>
- add /usr/share/empty
Wed Jul 12 2000 Prospector <bugzilla@redhat.com>
- automatic rebuild
Wed Jun 28 2000 Preston Brown <pbrown@redhat.com>
- remove /usr/doc
Thu Jun 22 2000 Preston Brown <pbrown@redhat.com>
- remove /usr/info
Mon Jun 19 2000 Bill Nottingham <notting@redhat.com>
- remove /usr/man
Sat Jun 17 2000 Bill Nottingham <notting@redhat.com>
- /var/spool/lpd should have normal perms (#12272)
Tue Jun 06 2000 Bill Nottingham <notting@redhat.com>
- add /etc/skel
Thu Jun 01 2000 Preston Brown <pbrown@redhat.com>
- add /var/spool/lpd to filesystem, owned by user/group lp, tight
permissions
Tue May 23 2000 Trond Eivind Glomsrd <teg@redhat.com>
- Added /etc/xinetd.d
Mon May 15 2000 Preston Brown <pbrown@redhat.com>
- /etc/opt, /usr/share/{info,man/man*,misc,doc} (FHS 2.1)
- added /var/games. Data should move from /var/lib/games to there (FHS 2.1)
- bump version up to 2.0 already!
Thu Apr 13 2000 Jakub Jelinek <jakub@redhat.com>
- removed /var/state, added /var/opt, /var/mail for FHS 2.1 compliance
Sat 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>
- auto rebuild in the new build environment (release 4)
Sun Jan 17 1999 Jeff Johnson <jbj@redhat.com>
- don't carry X11R6.1 as directory on sparc.
- /var/tmp/build root (#811)
Wed Jan 13 1999 Preston Brown <pbrown@redhat.com>
- font directory didn't belong, which I previously misunderstood. removed.
Fri Nov 13 1998 Preston Brown <pbrown@redhat.com>
- /usr/share/fonts/default added.
Fri Oct 09 1998 Bill Nottingham <notting@redhat.com>
- put /mnt/cdrom back in
Wed Oct 07 1998 Bill Nottingham <notting@redhat.com>
- Changed /root to 0750
Wed Aug 05 1998 Erik Troan <ewt@redhat.com>
- added /var/db
- set attributes in the spec file; don't depend on the ones in the cpio
archive
- use a tarball instead of a cpioball
Mon Apr 27 1998 Prospector System <bugs@redhat.com>
- translations modified for de, fr, tr
Tue Sep 09 1997 Erik Troan <ewt@redhat.com>
- made a noarch package
Wed Jul 09 1997 Erik Troan <ewt@redhat.com>
- added /
Wed Apr 16 1997 Erik Troan <ewt@redhat.com>
- Changed /proc to 555
- Removed /var/spool/mqueue (which is owned by sendmail)
2004-09-09 04:42:12 +00:00
|
|
|
%prep
|
2006-10-10 22:04:19 +00:00
|
|
|
rm -f $RPM_BUILD_DIR/filelist
|
auto-import changelog data from filesystem-2.0.7-1.src.rpm
Fri Jul 21 2000 Bill Nottingham <notting@redhat.com>
- add /usr/share/empty
Wed Jul 12 2000 Prospector <bugzilla@redhat.com>
- automatic rebuild
Wed Jun 28 2000 Preston Brown <pbrown@redhat.com>
- remove /usr/doc
Thu Jun 22 2000 Preston Brown <pbrown@redhat.com>
- remove /usr/info
Mon Jun 19 2000 Bill Nottingham <notting@redhat.com>
- remove /usr/man
Sat Jun 17 2000 Bill Nottingham <notting@redhat.com>
- /var/spool/lpd should have normal perms (#12272)
Tue Jun 06 2000 Bill Nottingham <notting@redhat.com>
- add /etc/skel
Thu Jun 01 2000 Preston Brown <pbrown@redhat.com>
- add /var/spool/lpd to filesystem, owned by user/group lp, tight
permissions
Tue May 23 2000 Trond Eivind Glomsrd <teg@redhat.com>
- Added /etc/xinetd.d
Mon May 15 2000 Preston Brown <pbrown@redhat.com>
- /etc/opt, /usr/share/{info,man/man*,misc,doc} (FHS 2.1)
- added /var/games. Data should move from /var/lib/games to there (FHS 2.1)
- bump version up to 2.0 already!
Thu Apr 13 2000 Jakub Jelinek <jakub@redhat.com>
- removed /var/state, added /var/opt, /var/mail for FHS 2.1 compliance
Sat 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>
- auto rebuild in the new build environment (release 4)
Sun Jan 17 1999 Jeff Johnson <jbj@redhat.com>
- don't carry X11R6.1 as directory on sparc.
- /var/tmp/build root (#811)
Wed Jan 13 1999 Preston Brown <pbrown@redhat.com>
- font directory didn't belong, which I previously misunderstood. removed.
Fri Nov 13 1998 Preston Brown <pbrown@redhat.com>
- /usr/share/fonts/default added.
Fri Oct 09 1998 Bill Nottingham <notting@redhat.com>
- put /mnt/cdrom back in
Wed Oct 07 1998 Bill Nottingham <notting@redhat.com>
- Changed /root to 0750
Wed Aug 05 1998 Erik Troan <ewt@redhat.com>
- added /var/db
- set attributes in the spec file; don't depend on the ones in the cpio
archive
- use a tarball instead of a cpioball
Mon Apr 27 1998 Prospector System <bugs@redhat.com>
- translations modified for de, fr, tr
Tue Sep 09 1997 Erik Troan <ewt@redhat.com>
- made a noarch package
Wed Jul 09 1997 Erik Troan <ewt@redhat.com>
- added /
Wed Apr 16 1997 Erik Troan <ewt@redhat.com>
- Changed /proc to 555
- Removed /var/spool/mqueue (which is owned by sendmail)
2004-09-09 04:42:12 +00:00
|
|
|
|
2008-05-27 15:28:03 +00:00
|
|
|
%build
|
|
|
|
|
auto-import changelog data from filesystem-2.0.7-1.src.rpm
Fri Jul 21 2000 Bill Nottingham <notting@redhat.com>
- add /usr/share/empty
Wed Jul 12 2000 Prospector <bugzilla@redhat.com>
- automatic rebuild
Wed Jun 28 2000 Preston Brown <pbrown@redhat.com>
- remove /usr/doc
Thu Jun 22 2000 Preston Brown <pbrown@redhat.com>
- remove /usr/info
Mon Jun 19 2000 Bill Nottingham <notting@redhat.com>
- remove /usr/man
Sat Jun 17 2000 Bill Nottingham <notting@redhat.com>
- /var/spool/lpd should have normal perms (#12272)
Tue Jun 06 2000 Bill Nottingham <notting@redhat.com>
- add /etc/skel
Thu Jun 01 2000 Preston Brown <pbrown@redhat.com>
- add /var/spool/lpd to filesystem, owned by user/group lp, tight
permissions
Tue May 23 2000 Trond Eivind Glomsrd <teg@redhat.com>
- Added /etc/xinetd.d
Mon May 15 2000 Preston Brown <pbrown@redhat.com>
- /etc/opt, /usr/share/{info,man/man*,misc,doc} (FHS 2.1)
- added /var/games. Data should move from /var/lib/games to there (FHS 2.1)
- bump version up to 2.0 already!
Thu Apr 13 2000 Jakub Jelinek <jakub@redhat.com>
- removed /var/state, added /var/opt, /var/mail for FHS 2.1 compliance
Sat 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>
- auto rebuild in the new build environment (release 4)
Sun Jan 17 1999 Jeff Johnson <jbj@redhat.com>
- don't carry X11R6.1 as directory on sparc.
- /var/tmp/build root (#811)
Wed Jan 13 1999 Preston Brown <pbrown@redhat.com>
- font directory didn't belong, which I previously misunderstood. removed.
Fri Nov 13 1998 Preston Brown <pbrown@redhat.com>
- /usr/share/fonts/default added.
Fri Oct 09 1998 Bill Nottingham <notting@redhat.com>
- put /mnt/cdrom back in
Wed Oct 07 1998 Bill Nottingham <notting@redhat.com>
- Changed /root to 0750
Wed Aug 05 1998 Erik Troan <ewt@redhat.com>
- added /var/db
- set attributes in the spec file; don't depend on the ones in the cpio
archive
- use a tarball instead of a cpioball
Mon Apr 27 1998 Prospector System <bugs@redhat.com>
- translations modified for de, fr, tr
Tue Sep 09 1997 Erik Troan <ewt@redhat.com>
- made a noarch package
Wed Jul 09 1997 Erik Troan <ewt@redhat.com>
- added /
Wed Apr 16 1997 Erik Troan <ewt@redhat.com>
- Changed /proc to 555
- Removed /var/spool/mqueue (which is owned by sendmail)
2004-09-09 04:42:12 +00:00
|
|
|
%install
|
|
|
|
rm -rf %{buildroot}
|
2009-02-19 13:06:14 +00:00
|
|
|
mkdir %{buildroot}
|
2009-08-10 13:55:46 +00:00
|
|
|
install -p -c -m755 %SOURCE2 %{buildroot}/iso_639.sed
|
|
|
|
install -p -c -m755 %SOURCE3 %{buildroot}/iso_3166.sed
|
auto-import changelog data from filesystem-2.0.7-1.src.rpm
Fri Jul 21 2000 Bill Nottingham <notting@redhat.com>
- add /usr/share/empty
Wed Jul 12 2000 Prospector <bugzilla@redhat.com>
- automatic rebuild
Wed Jun 28 2000 Preston Brown <pbrown@redhat.com>
- remove /usr/doc
Thu Jun 22 2000 Preston Brown <pbrown@redhat.com>
- remove /usr/info
Mon Jun 19 2000 Bill Nottingham <notting@redhat.com>
- remove /usr/man
Sat Jun 17 2000 Bill Nottingham <notting@redhat.com>
- /var/spool/lpd should have normal perms (#12272)
Tue Jun 06 2000 Bill Nottingham <notting@redhat.com>
- add /etc/skel
Thu Jun 01 2000 Preston Brown <pbrown@redhat.com>
- add /var/spool/lpd to filesystem, owned by user/group lp, tight
permissions
Tue May 23 2000 Trond Eivind Glomsrd <teg@redhat.com>
- Added /etc/xinetd.d
Mon May 15 2000 Preston Brown <pbrown@redhat.com>
- /etc/opt, /usr/share/{info,man/man*,misc,doc} (FHS 2.1)
- added /var/games. Data should move from /var/lib/games to there (FHS 2.1)
- bump version up to 2.0 already!
Thu Apr 13 2000 Jakub Jelinek <jakub@redhat.com>
- removed /var/state, added /var/opt, /var/mail for FHS 2.1 compliance
Sat 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>
- auto rebuild in the new build environment (release 4)
Sun Jan 17 1999 Jeff Johnson <jbj@redhat.com>
- don't carry X11R6.1 as directory on sparc.
- /var/tmp/build root (#811)
Wed Jan 13 1999 Preston Brown <pbrown@redhat.com>
- font directory didn't belong, which I previously misunderstood. removed.
Fri Nov 13 1998 Preston Brown <pbrown@redhat.com>
- /usr/share/fonts/default added.
Fri Oct 09 1998 Bill Nottingham <notting@redhat.com>
- put /mnt/cdrom back in
Wed Oct 07 1998 Bill Nottingham <notting@redhat.com>
- Changed /root to 0750
Wed Aug 05 1998 Erik Troan <ewt@redhat.com>
- added /var/db
- set attributes in the spec file; don't depend on the ones in the cpio
archive
- use a tarball instead of a cpioball
Mon Apr 27 1998 Prospector System <bugs@redhat.com>
- translations modified for de, fr, tr
Tue Sep 09 1997 Erik Troan <ewt@redhat.com>
- made a noarch package
Wed Jul 09 1997 Erik Troan <ewt@redhat.com>
- added /
Wed Apr 16 1997 Erik Troan <ewt@redhat.com>
- Changed /proc to 555
- Removed /var/spool/mqueue (which is owned by sendmail)
2004-09-09 04:42:12 +00:00
|
|
|
|
|
|
|
cd %{buildroot}
|
2004-09-09 04:43:09 +00:00
|
|
|
|
2022-08-03 12:59:32 +00:00
|
|
|
Paths=(
|
|
|
|
afs boot dev \
|
2024-06-24 06:35:08 +00:00
|
|
|
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} \
|
2020-08-07 07:58:37 +00:00
|
|
|
home media mnt opt root run srv tmp \
|
Merge /usr/sbin and /usr/bin
https://fedoraproject.org/wiki/Changes/Unify_bin_and_sbin
/usr/sbin is now created via a scriptlet. In a pristine installation, we'll end
up with merged sbin. On upgrades, symlink creation will fail and the existing
/usr/sbin directory will remain.
The updated package means that if we build packages, they'll see merged sbin in
the filesystem. If additionally rpm defines %{_sbindir} as /usr/sbin, those
packages will get files in the merged location. A separate pull request will be
filed for rpm.
For building rpms, the change in rpm is more important, because what really
matters is the path specified in %files, so even if the buildroot has
merged-sbin, if %_sbindir says otherwise, package will use the unmerged path.
For installation on disk, the change here is more important, because even if
packages specify unmerged paths, if the directory on disk is a symlink, that
symlink will be followed, so the installation will end up with merged sbin.
We want to build packages in a chroot where /usr/sbin is a symlink to /usr/bin,
so that packages get files in the merged location. But on user systems,
especially when the transition is in progress, we will have packages with files
in /usr/sbin, so we accept that /usr/sbin in a separate directory.
2024-04-07 15:33:09 +00:00
|
|
|
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,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,},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,modulefiles,omf,pixmaps,sounds,themes,xsessions,X11/fonts,wayland-sessions,zsh/site-functions},src,src/kernels,src/debug} \
|
2019-12-18 14:23:15 +00:00
|
|
|
var/{adm,empty,ftp,lib/{games,misc,rpm-state},local,log,nis,preserve,spool/{mail,lpd},tmp,db,cache/bpf,opt,games,yp}
|
2022-08-03 12:59:32 +00:00
|
|
|
)
|
|
|
|
for i in "${Paths[@]}"; do
|
|
|
|
mkdir -p "$i"
|
|
|
|
done
|
2004-09-09 04:43:09 +00:00
|
|
|
|
|
|
|
ln -snf ../var/tmp usr/tmp
|
|
|
|
ln -snf spool/mail var/mail
|
install everything in /usr
This patch is needed for the /usr-move feature
https://fedoraproject.org/wiki/Features/UsrMove
This package requires now 'filesystem' >= 3, which is only installable
on a system which has /bin, /sbin, /lib, /lib64 as symlinks to /usr and
not regular directories. The 'filesystem' package acts as a guard, to
prevent *this* package to be installed on old unconverted systems.
New installations will have the 'filesystem' >=3 layout right away, old
installations need to be converted with anaconda or dracut first; only
after that, the 'filesystem' package, and also *this* package can be
installed.
Packages *should* not install files in /bin, /sbin, /lib, /lib64, but
only in the corresponding directories in /usr. Packages *must* not
install conflicting files with the same names in the corresponding
directories in / and /usr. Especially compatibilty symlinks must not be
installed.
Feel free to modify any of the changes to the spec file, but keep the
above in mind.
2012-01-25 13:48:35 +00:00
|
|
|
ln -snf usr/bin bin
|
|
|
|
ln -snf usr/sbin sbin
|
|
|
|
ln -snf usr/lib lib
|
|
|
|
ln -snf usr/%{_lib} %{_lib}
|
2013-06-19 12:09:56 +00:00
|
|
|
ln -snf ../run var/run
|
|
|
|
ln -snf ../run/lock var/lock
|
2013-11-18 09:56:42 +00:00
|
|
|
ln -snf usr/bin usr/lib/debug/bin
|
|
|
|
ln -snf usr/lib usr/lib/debug/lib
|
|
|
|
ln -snf usr/%{_lib} usr/lib/debug/%{_lib}
|
|
|
|
ln -snf ../.dwz usr/lib/debug/usr/.dwz
|
|
|
|
ln -snf usr/sbin usr/lib/debug/sbin
|
2024-07-17 07:21:49 +00:00
|
|
|
|
|
|
|
%if %{with merged_sbin}
|
|
|
|
ln -snf bin usr/sbin
|
Merge /usr/sbin and /usr/bin
https://fedoraproject.org/wiki/Changes/Unify_bin_and_sbin
/usr/sbin is now created via a scriptlet. In a pristine installation, we'll end
up with merged sbin. On upgrades, symlink creation will fail and the existing
/usr/sbin directory will remain.
The updated package means that if we build packages, they'll see merged sbin in
the filesystem. If additionally rpm defines %{_sbindir} as /usr/sbin, those
packages will get files in the merged location. A separate pull request will be
filed for rpm.
For building rpms, the change in rpm is more important, because what really
matters is the path specified in %files, so even if the buildroot has
merged-sbin, if %_sbindir says otherwise, package will use the unmerged path.
For installation on disk, the change here is more important, because even if
packages specify unmerged paths, if the directory on disk is a symlink, that
symlink will be followed, so the installation will end up with merged sbin.
We want to build packages in a chroot where /usr/sbin is a symlink to /usr/bin,
so that packages get files in the merged location. But on user systems,
especially when the transition is in progress, we will have packages with files
in /usr/sbin, so we accept that /usr/sbin in a separate directory.
2024-04-07 15:33:09 +00:00
|
|
|
ln -snf bin usr/local/sbin
|
2024-07-17 07:21:49 +00:00
|
|
|
%else
|
|
|
|
mkdir -p usr/sbin
|
|
|
|
mkdir -p usr/local/sbin
|
|
|
|
%endif
|
2004-09-09 04:42:23 +00:00
|
|
|
|
2009-08-10 13:55:46 +00:00
|
|
|
sed -n -f %{buildroot}/iso_639.sed /usr/share/xml/iso-codes/iso_639.xml \
|
|
|
|
>%{buildroot}/iso_639.tab
|
|
|
|
sed -n -f %{buildroot}/iso_3166.sed /usr/share/xml/iso-codes/iso_3166.xml \
|
|
|
|
>%{buildroot}/iso_3166.tab
|
|
|
|
|
|
|
|
grep -v "^$" %{buildroot}/iso_639.tab | grep -v "^#" | while read a b c d ; do
|
2008-05-27 15:28:03 +00:00
|
|
|
[[ "$d" =~ "^Reserved" ]] && continue
|
|
|
|
[[ "$d" =~ "^No linguistic" ]] && continue
|
|
|
|
|
|
|
|
locale=$c
|
|
|
|
if [ "$locale" = "XX" ]; then
|
|
|
|
locale=$b
|
|
|
|
fi
|
|
|
|
echo "%lang(${locale}) /usr/share/locale/${locale}" >> $RPM_BUILD_DIR/filelist
|
2009-08-03 08:43:51 +00:00
|
|
|
echo "%lang(${locale}) %ghost %config(missingok) /usr/share/man/${locale}" >>$RPM_BUILD_DIR/filelist
|
2006-10-10 22:04:19 +00:00
|
|
|
done
|
|
|
|
cat %{SOURCE1} | grep -v "^#" | grep -v "^$" | while read loc ; do
|
2008-05-27 15:28:03 +00:00
|
|
|
locale=$loc
|
|
|
|
locality=
|
2009-07-08 12:24:52 +00:00
|
|
|
special=
|
install everything in /usr
This patch is needed for the /usr-move feature
https://fedoraproject.org/wiki/Features/UsrMove
This package requires now 'filesystem' >= 3, which is only installable
on a system which has /bin, /sbin, /lib, /lib64 as symlinks to /usr and
not regular directories. The 'filesystem' package acts as a guard, to
prevent *this* package to be installed on old unconverted systems.
New installations will have the 'filesystem' >=3 layout right away, old
installations need to be converted with anaconda or dracut first; only
after that, the 'filesystem' package, and also *this* package can be
installed.
Packages *should* not install files in /bin, /sbin, /lib, /lib64, but
only in the corresponding directories in /usr. Packages *must* not
install conflicting files with the same names in the corresponding
directories in / and /usr. Especially compatibilty symlinks must not be
installed.
Feel free to modify any of the changes to the spec file, but keep the
above in mind.
2012-01-25 13:48:35 +00:00
|
|
|
[[ "$locale" =~ "@" ]] && locale=${locale%%%%@*}
|
2008-05-27 15:28:03 +00:00
|
|
|
[[ "$locale" =~ "_" ]] && locality=${locale##*_}
|
install everything in /usr
This patch is needed for the /usr-move feature
https://fedoraproject.org/wiki/Features/UsrMove
This package requires now 'filesystem' >= 3, which is only installable
on a system which has /bin, /sbin, /lib, /lib64 as symlinks to /usr and
not regular directories. The 'filesystem' package acts as a guard, to
prevent *this* package to be installed on old unconverted systems.
New installations will have the 'filesystem' >=3 layout right away, old
installations need to be converted with anaconda or dracut first; only
after that, the 'filesystem' package, and also *this* package can be
installed.
Packages *should* not install files in /bin, /sbin, /lib, /lib64, but
only in the corresponding directories in /usr. Packages *must* not
install conflicting files with the same names in the corresponding
directories in / and /usr. Especially compatibilty symlinks must not be
installed.
Feel free to modify any of the changes to the spec file, but keep the
above in mind.
2012-01-25 13:48:35 +00:00
|
|
|
[[ "$locality" =~ "." ]] && locality=${locality%%%%.*}
|
2009-07-08 12:24:52 +00:00
|
|
|
[[ "$loc" =~ "_" ]] || [[ "$loc" =~ "@" ]] || special=$loc
|
2008-05-27 15:28:03 +00:00
|
|
|
|
|
|
|
# If the locality is not official, skip it
|
|
|
|
if [ -n "$locality" ]; then
|
2009-08-10 13:55:46 +00:00
|
|
|
grep -q "^$locality" %{buildroot}/iso_3166.tab || continue
|
2008-05-27 15:28:03 +00:00
|
|
|
fi
|
2009-07-08 12:24:52 +00:00
|
|
|
# If the locale is not official and not special, skip it
|
|
|
|
if [ -z "$special" ]; then
|
install everything in /usr
This patch is needed for the /usr-move feature
https://fedoraproject.org/wiki/Features/UsrMove
This package requires now 'filesystem' >= 3, which is only installable
on a system which has /bin, /sbin, /lib, /lib64 as symlinks to /usr and
not regular directories. The 'filesystem' package acts as a guard, to
prevent *this* package to be installed on old unconverted systems.
New installations will have the 'filesystem' >=3 layout right away, old
installations need to be converted with anaconda or dracut first; only
after that, the 'filesystem' package, and also *this* package can be
installed.
Packages *should* not install files in /bin, /sbin, /lib, /lib64, but
only in the corresponding directories in /usr. Packages *must* not
install conflicting files with the same names in the corresponding
directories in / and /usr. Especially compatibilty symlinks must not be
installed.
Feel free to modify any of the changes to the spec file, but keep the
above in mind.
2012-01-25 13:48:35 +00:00
|
|
|
egrep -q "[[:space:]]${locale%%_*}[[:space:]]" \
|
2009-08-10 13:55:46 +00:00
|
|
|
%{buildroot}/iso_639.tab || continue
|
2009-07-08 12:24:52 +00:00
|
|
|
fi
|
2008-05-27 15:28:03 +00:00
|
|
|
echo "%lang(${locale}) /usr/share/locale/${loc}" >> $RPM_BUILD_DIR/filelist
|
2009-08-03 08:43:51 +00:00
|
|
|
echo "%lang(${locale}) %ghost %config(missingok) /usr/share/man/${loc}" >> $RPM_BUILD_DIR/filelist
|
2006-10-10 22:04:19 +00:00
|
|
|
done
|
|
|
|
|
2009-08-10 13:55:46 +00:00
|
|
|
rm -f %{buildroot}/iso_639.tab
|
|
|
|
rm -f %{buildroot}/iso_639.sed
|
|
|
|
rm -f %{buildroot}/iso_3166.tab
|
|
|
|
rm -f %{buildroot}/iso_3166.sed
|
2006-10-10 22:04:19 +00:00
|
|
|
|
2009-08-03 08:43:51 +00:00
|
|
|
cat $RPM_BUILD_DIR/filelist | grep "locale" | while read a b ; do
|
2008-05-27 15:28:03 +00:00
|
|
|
mkdir -p -m 755 %{buildroot}/$b/LC_MESSAGES
|
2006-10-10 22:04:19 +00:00
|
|
|
done
|
|
|
|
|
2009-08-03 08:43:51 +00:00
|
|
|
cat $RPM_BUILD_DIR/filelist | grep "/share/man" | while read a b c d; do
|
2009-08-05 10:12:20 +00:00
|
|
|
mkdir -p -m 755 %{buildroot}/$d/man{1,2,3,4,5,6,7,8,9,n,1x,2x,3x,4x,5x,6x,7x,8x,9x,0p,1p,3p}
|
2009-08-03 08:43:51 +00:00
|
|
|
done
|
|
|
|
|
2011-03-31 15:11:58 +00:00
|
|
|
for i in man{1,2,3,4,5,6,7,8,9,n,1x,2x,3x,4x,5x,6x,7x,8x,9x,0p,1p,3p}; do
|
2009-08-03 08:43:51 +00:00
|
|
|
echo "/usr/share/man/$i" >>$RPM_BUILD_DIR/filelist
|
|
|
|
done
|
|
|
|
|
2024-07-13 14:31:28 +00:00
|
|
|
mkdir -p %{buildroot}%{_datadir}/filesystem
|
2017-10-05 12:08:39 +00:00
|
|
|
#find all dirs in the buildroot owned by filesystem and store them
|
2017-12-14 17:11:53 +00:00
|
|
|
find %{buildroot} -mindepth 0 | sed -e 's|%{buildroot}|/|' -e 's|//|/|' \
|
|
|
|
| LC_ALL=C sort | grep -v filesystem >%{buildroot}%{_datadir}/filesystem/paths
|
2017-10-05 12:08:39 +00:00
|
|
|
|
2024-07-13 14:31:28 +00:00
|
|
|
cp -p %{SOURCE4} %{buildroot}%{_datadir}/filesystem/sbin-filenames
|
|
|
|
|
|
|
|
mkdir -p %{buildroot}%{_fileattrsdir} %{buildroot}%{_rpmconfigdir} %{buildroot}%{rpmmacrodir}
|
|
|
|
cp -p %{SOURCE5} %{buildroot}%{_fileattrsdir}/filesystem.attr
|
|
|
|
cp -p %{SOURCE6} %{buildroot}%{_rpmconfigdir}/filesystem.req
|
|
|
|
cp -p %{SOURCE7} %{buildroot}%{rpmmacrodir}/macros.filesystem
|
|
|
|
|
install everything in /usr
This patch is needed for the /usr-move feature
https://fedoraproject.org/wiki/Features/UsrMove
This package requires now 'filesystem' >= 3, which is only installable
on a system which has /bin, /sbin, /lib, /lib64 as symlinks to /usr and
not regular directories. The 'filesystem' package acts as a guard, to
prevent *this* package to be installed on old unconverted systems.
New installations will have the 'filesystem' >=3 layout right away, old
installations need to be converted with anaconda or dracut first; only
after that, the 'filesystem' package, and also *this* package can be
installed.
Packages *should* not install files in /bin, /sbin, /lib, /lib64, but
only in the corresponding directories in /usr. Packages *must* not
install conflicting files with the same names in the corresponding
directories in / and /usr. Especially compatibilty symlinks must not be
installed.
Feel free to modify any of the changes to the spec file, but keep the
above in mind.
2012-01-25 13:48:35 +00:00
|
|
|
%pretrans -p <lua>
|
2013-06-19 12:09:56 +00:00
|
|
|
--# If we are running in pretrans in a fresh root, there is no /usr and
|
|
|
|
--# symlinks. We cannot be sure, to be the very first rpm in the
|
|
|
|
--# transaction list. Let's create the needed base directories and symlinks
|
|
|
|
--# here, to place the files from other packages in the right locations.
|
|
|
|
--# When our rpm is unpacked by cpio, it will set all permissions and modes
|
|
|
|
--# later.
|
|
|
|
posix.mkdir("/usr")
|
|
|
|
posix.mkdir("/usr/bin")
|
|
|
|
posix.mkdir("/usr/lib")
|
|
|
|
posix.mkdir("/usr/lib/debug")
|
2013-06-30 21:31:00 +00:00
|
|
|
posix.mkdir("/usr/lib/debug/usr/")
|
2015-05-25 07:59:52 +00:00
|
|
|
posix.mkdir("/usr/lib/debug/usr/bin")
|
|
|
|
posix.mkdir("/usr/lib/debug/usr/lib")
|
|
|
|
posix.mkdir("/usr/lib/debug/usr/%{_lib}")
|
2013-06-19 12:09:56 +00:00
|
|
|
posix.mkdir("/usr/%{_lib}")
|
|
|
|
posix.symlink("usr/bin", "/bin")
|
|
|
|
posix.symlink("usr/sbin", "/sbin")
|
|
|
|
posix.symlink("usr/lib", "/lib")
|
|
|
|
posix.symlink("usr/bin", "/usr/lib/debug/bin")
|
|
|
|
posix.symlink("usr/lib", "/usr/lib/debug/lib")
|
|
|
|
posix.symlink("usr/%{_lib}", "/usr/lib/debug/%{_lib}")
|
2013-06-30 21:31:00 +00:00
|
|
|
posix.symlink("../.dwz", "/usr/lib/debug/usr/.dwz")
|
2013-06-19 12:09:56 +00:00
|
|
|
posix.symlink("usr/sbin", "/usr/lib/debug/sbin")
|
|
|
|
posix.symlink("usr/%{_lib}", "/%{_lib}")
|
|
|
|
posix.mkdir("/run")
|
2020-08-07 07:58:37 +00:00
|
|
|
posix.mkdir("/proc")
|
|
|
|
posix.mkdir("/sys")
|
|
|
|
posix.chmod("/proc", 0555)
|
|
|
|
posix.chmod("/sys", 0555)
|
2014-08-14 14:08:05 +00:00
|
|
|
st = posix.stat("/media")
|
|
|
|
if st and st.type == "link" then
|
|
|
|
os.remove("/media")
|
2014-07-29 13:16:34 +00:00
|
|
|
end
|
2014-08-14 14:08:05 +00:00
|
|
|
posix.mkdir("/var")
|
2013-04-08 16:12:05 +00:00
|
|
|
posix.symlink("../run", "/var/run")
|
|
|
|
posix.symlink("../run/lock", "/var/lock")
|
|
|
|
|
2024-07-17 07:21:49 +00:00
|
|
|
%if %{with merged_sbin}
|
|
|
|
posix.symlink("bin", "/usr/sbin")
|
|
|
|
posix.symlink("bin", "/usr/lib/debug/usr/sbin")
|
|
|
|
posix.symlink("bin", "/usr/local/sbin")
|
|
|
|
%else
|
|
|
|
posix.mkdir("/usr/sbin")
|
|
|
|
posix.mkdir("/usr/lib/debug/usr/sbin")
|
|
|
|
%endif
|
|
|
|
|
|
|
|
%if %{with merged_sbin}
|
2024-04-09 10:12:55 +00:00
|
|
|
%global sbin_filenames %{lua:
|
|
|
|
print('{\\n')
|
2024-07-13 10:04:42 +00:00
|
|
|
io.input(sources[4])
|
|
|
|
for v in io.lines() do
|
2024-04-09 10:12:55 +00:00
|
|
|
print(' ["'..v..'"] = true,\\n')
|
|
|
|
end
|
|
|
|
print('}')
|
|
|
|
}
|
|
|
|
|
|
|
|
%filetriggerin -p <lua> -- /usr/bin
|
|
|
|
--# This implements filesystem(unmerged-sbin-symlinks) feature.
|
|
|
|
st = posix.stat("/usr/sbin")
|
|
|
|
if not st or st.type == "link" then
|
|
|
|
return
|
|
|
|
end
|
|
|
|
|
|
|
|
filenames = %sbin_filenames
|
|
|
|
|
|
|
|
a = rpm.next_file()
|
|
|
|
while a do
|
|
|
|
name = a:match("^.+/(.+)$")
|
|
|
|
if filenames[name] then
|
|
|
|
b = "/usr/sbin/"..name
|
|
|
|
sta = posix.stat(a)
|
|
|
|
stb = posix.stat(b)
|
|
|
|
print(a, sta, b, stb)
|
|
|
|
|
|
|
|
if sta and not stb then
|
|
|
|
print('Symlinking /usr/sbin/'..name..'->/usr/bin/'..name)
|
|
|
|
posix.symlink("../bin/"..name, "/usr/sbin/"..name)
|
|
|
|
end
|
|
|
|
end
|
|
|
|
|
|
|
|
a = rpm.next_file()
|
|
|
|
end
|
|
|
|
|
|
|
|
%filetriggerpostun -p <lua> -- /usr/bin
|
|
|
|
--# This implements filesystem(unmerged-sbin-symlinks) feature.
|
|
|
|
st = posix.stat("/usr/sbin")
|
|
|
|
if not st or st.type == "link" then
|
|
|
|
return
|
|
|
|
end
|
|
|
|
|
|
|
|
filenames = %sbin_filenames
|
|
|
|
|
|
|
|
a = rpm.next_file()
|
|
|
|
while a do
|
|
|
|
name = a:match("^.+/(.+)$")
|
|
|
|
if filenames[name] then
|
|
|
|
b = "/usr/sbin/"..name
|
|
|
|
sta = posix.stat(a)
|
|
|
|
stb = posix.stat(b)
|
|
|
|
print(a, sta, b, stb)
|
|
|
|
|
|
|
|
if sta and not stb then
|
|
|
|
print('Symlinking '..b..'->/usr/bin/'..name)
|
|
|
|
posix.symlink("../bin/"..name, b)
|
|
|
|
elseif not sta and stb and stb.type == "link" then
|
|
|
|
target = posix.readlink(b)
|
|
|
|
if target == "../bin/"..name then
|
|
|
|
print('Removing', b)
|
|
|
|
os.remove(b)
|
|
|
|
else
|
|
|
|
print('Not touching '..b..' -> '..target)
|
|
|
|
end
|
|
|
|
end
|
|
|
|
end
|
|
|
|
|
|
|
|
a = rpm.next_file()
|
|
|
|
end
|
|
|
|
|
|
|
|
%filetriggerpostun -p <lua> -- /sbin /usr/sbin
|
|
|
|
--# This implements filesystem(unmerged-sbin-symlinks) feature.
|
|
|
|
st = posix.stat("/usr/sbin")
|
|
|
|
if not st or st.type == "link" then
|
|
|
|
return
|
|
|
|
end
|
|
|
|
|
|
|
|
filenames = %sbin_filenames
|
|
|
|
|
|
|
|
b = rpm.next_file()
|
|
|
|
while b do
|
|
|
|
name = b:match("^.+/(.+)$")
|
|
|
|
print('filetriggerpostun', b)
|
|
|
|
|
|
|
|
if filenames[name] then
|
|
|
|
a = "/usr/bin/"..name
|
|
|
|
sta = posix.stat(a)
|
|
|
|
stb = posix.stat(b)
|
|
|
|
|
|
|
|
if sta and not stb then
|
|
|
|
print('Symlinking /usr/sbin/'..name..'->'..a)
|
|
|
|
posix.symlink("../bin/"..name, "/usr/sbin/"..name)
|
|
|
|
end
|
|
|
|
end
|
|
|
|
|
|
|
|
b = rpm.next_file()
|
|
|
|
end
|
2024-04-09 12:00:08 +00:00
|
|
|
|
|
|
|
%global merge_scriptlet %{expand:
|
|
|
|
--# Symlink /usr/sbin→/usr/bin and /usr/local/sbin→/usr/local/bin if possible
|
|
|
|
|
|
|
|
for _,path in pairs({"/usr/sbin", "/usr/local/sbin"}) do
|
|
|
|
st = posix.stat(path)
|
|
|
|
if st and st.type ~= "link" then
|
|
|
|
good = true
|
|
|
|
|
|
|
|
items = rpm.glob(path.."/*")
|
|
|
|
for _,v in pairs(items) do
|
|
|
|
--# rpm.glob() returns the original pattern if match fails :(((
|
|
|
|
if v ~= path.."/*" then
|
|
|
|
st = posix.stat(v)
|
|
|
|
|
|
|
|
if not st then
|
|
|
|
print("Could not stat "..v)
|
|
|
|
else
|
|
|
|
if st.type ~= "link" then
|
|
|
|
print("/usr/sbin cannot be merged, found "..v)
|
|
|
|
good = false
|
|
|
|
break
|
|
|
|
end
|
|
|
|
|
|
|
|
target = posix.readlink(v)
|
|
|
|
name = v:match("^.+/(.+)$")
|
|
|
|
if target ~= "../bin/"..name then
|
|
|
|
print("/usr/sbin cannot be merged, "..v.." points to "..target)
|
|
|
|
good = false
|
|
|
|
break
|
|
|
|
end
|
|
|
|
end
|
|
|
|
end
|
|
|
|
end
|
|
|
|
|
|
|
|
if good then
|
|
|
|
print("All files under "..path.." are symlinks; linking to ./bin...")
|
|
|
|
|
|
|
|
for _,v in pairs(items) do
|
|
|
|
os.remove(v)
|
|
|
|
end
|
|
|
|
os.remove(path)
|
|
|
|
posix.symlink("bin", path)
|
|
|
|
print("...done")
|
|
|
|
end
|
|
|
|
end
|
|
|
|
end
|
|
|
|
}
|
2024-07-17 07:21:49 +00:00
|
|
|
%endif
|
2024-04-09 12:00:08 +00:00
|
|
|
|
2022-08-03 12:59:32 +00:00
|
|
|
%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
|
2022-08-09 13:22:29 +00:00
|
|
|
rpm.execute("/usr/sbin/restorecon", "/var", "/var/run", "/var/lock", "/sys", "/boot", "/dev", "/media", "/afs")
|
|
|
|
rpm.execute("/usr/sbin/restorecon", "-r", "/usr/lib/debug")
|
2022-08-03 12:59:32 +00:00
|
|
|
end
|
2019-06-20 13:54:13 +00:00
|
|
|
|
2024-07-17 07:21:49 +00:00
|
|
|
%if %{with merged_sbin}
|
2024-04-09 12:00:08 +00:00
|
|
|
%merge_scriptlet
|
|
|
|
|
|
|
|
%transfiletriggerpostun -p <lua> -- /sbin /usr/sbin
|
|
|
|
%merge_scriptlet
|
2024-07-17 07:21:49 +00:00
|
|
|
%endif
|
2024-04-09 12:00:08 +00:00
|
|
|
|
2017-10-05 12:08:39 +00:00
|
|
|
%files content
|
|
|
|
%dir %{_datadir}/filesystem
|
|
|
|
%{_datadir}/filesystem/paths
|
|
|
|
|
2024-07-13 14:31:28 +00:00
|
|
|
%files srpm-macros
|
|
|
|
%{_datadir}/filesystem/sbin-filenames
|
|
|
|
%{_fileattrsdir}/filesystem.attr
|
|
|
|
%{_rpmconfigdir}/filesystem.req
|
|
|
|
%{rpmmacrodir}/macros.filesystem
|
|
|
|
|
2006-10-10 22:04:19 +00:00
|
|
|
%files -f filelist
|
2017-10-05 12:08:39 +00:00
|
|
|
%defattr(0755,root,root,0755)
|
2009-08-17 13:10:44 +00:00
|
|
|
%dir %attr(555,root,root) /
|
install everything in /usr
This patch is needed for the /usr-move feature
https://fedoraproject.org/wiki/Features/UsrMove
This package requires now 'filesystem' >= 3, which is only installable
on a system which has /bin, /sbin, /lib, /lib64 as symlinks to /usr and
not regular directories. The 'filesystem' package acts as a guard, to
prevent *this* package to be installed on old unconverted systems.
New installations will have the 'filesystem' >=3 layout right away, old
installations need to be converted with anaconda or dracut first; only
after that, the 'filesystem' package, and also *this* package can be
installed.
Packages *should* not install files in /bin, /sbin, /lib, /lib64, but
only in the corresponding directories in /usr. Packages *must* not
install conflicting files with the same names in the corresponding
directories in / and /usr. Especially compatibilty symlinks must not be
installed.
Feel free to modify any of the changes to the spec file, but keep the
above in mind.
2012-01-25 13:48:35 +00:00
|
|
|
/bin
|
Merge /usr/sbin and /usr/bin
https://fedoraproject.org/wiki/Changes/Unify_bin_and_sbin
/usr/sbin is now created via a scriptlet. In a pristine installation, we'll end
up with merged sbin. On upgrades, symlink creation will fail and the existing
/usr/sbin directory will remain.
The updated package means that if we build packages, they'll see merged sbin in
the filesystem. If additionally rpm defines %{_sbindir} as /usr/sbin, those
packages will get files in the merged location. A separate pull request will be
filed for rpm.
For building rpms, the change in rpm is more important, because what really
matters is the path specified in %files, so even if the buildroot has
merged-sbin, if %_sbindir says otherwise, package will use the unmerged path.
For installation on disk, the change here is more important, because even if
packages specify unmerged paths, if the directory on disk is a symlink, that
symlink will be followed, so the installation will end up with merged sbin.
We want to build packages in a chroot where /usr/sbin is a symlink to /usr/bin,
so that packages get files in the merged location. But on user systems,
especially when the transition is in progress, we will have packages with files
in /usr/sbin, so we accept that /usr/sbin in a separate directory.
2024-04-07 15:33:09 +00:00
|
|
|
/sbin
|
2009-08-17 13:10:44 +00:00
|
|
|
%attr(555,root,root) /boot
|
2021-09-22 09:44:27 +00:00
|
|
|
%attr(555,root,root) /afs
|
2006-06-28 11:11:40 +00:00
|
|
|
/dev
|
2011-02-25 16:04:51 +00:00
|
|
|
%dir /etc
|
|
|
|
/etc/X11
|
|
|
|
/etc/xdg
|
|
|
|
/etc/opt
|
|
|
|
/etc/pm
|
|
|
|
/etc/skel
|
|
|
|
/etc/sysconfig
|
2023-07-21 15:24:58 +00:00
|
|
|
/etc/keys
|
2011-02-25 16:04:51 +00:00
|
|
|
/etc/pki
|
2012-10-27 13:58:54 +00:00
|
|
|
/etc/bash_completion.d/
|
2024-06-24 06:35:08 +00:00
|
|
|
%dir /etc/default
|
2018-06-21 13:35:35 +00:00
|
|
|
%dir /etc/rwtab.d
|
|
|
|
%dir /etc/statetab.d
|
auto-import changelog data from filesystem-2.0.7-1.src.rpm
Fri Jul 21 2000 Bill Nottingham <notting@redhat.com>
- add /usr/share/empty
Wed Jul 12 2000 Prospector <bugzilla@redhat.com>
- automatic rebuild
Wed Jun 28 2000 Preston Brown <pbrown@redhat.com>
- remove /usr/doc
Thu Jun 22 2000 Preston Brown <pbrown@redhat.com>
- remove /usr/info
Mon Jun 19 2000 Bill Nottingham <notting@redhat.com>
- remove /usr/man
Sat Jun 17 2000 Bill Nottingham <notting@redhat.com>
- /var/spool/lpd should have normal perms (#12272)
Tue Jun 06 2000 Bill Nottingham <notting@redhat.com>
- add /etc/skel
Thu Jun 01 2000 Preston Brown <pbrown@redhat.com>
- add /var/spool/lpd to filesystem, owned by user/group lp, tight
permissions
Tue May 23 2000 Trond Eivind Glomsrd <teg@redhat.com>
- Added /etc/xinetd.d
Mon May 15 2000 Preston Brown <pbrown@redhat.com>
- /etc/opt, /usr/share/{info,man/man*,misc,doc} (FHS 2.1)
- added /var/games. Data should move from /var/lib/games to there (FHS 2.1)
- bump version up to 2.0 already!
Thu Apr 13 2000 Jakub Jelinek <jakub@redhat.com>
- removed /var/state, added /var/opt, /var/mail for FHS 2.1 compliance
Sat 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>
- auto rebuild in the new build environment (release 4)
Sun Jan 17 1999 Jeff Johnson <jbj@redhat.com>
- don't carry X11R6.1 as directory on sparc.
- /var/tmp/build root (#811)
Wed Jan 13 1999 Preston Brown <pbrown@redhat.com>
- font directory didn't belong, which I previously misunderstood. removed.
Fri Nov 13 1998 Preston Brown <pbrown@redhat.com>
- /usr/share/fonts/default added.
Fri Oct 09 1998 Bill Nottingham <notting@redhat.com>
- put /mnt/cdrom back in
Wed Oct 07 1998 Bill Nottingham <notting@redhat.com>
- Changed /root to 0750
Wed Aug 05 1998 Erik Troan <ewt@redhat.com>
- added /var/db
- set attributes in the spec file; don't depend on the ones in the cpio
archive
- use a tarball instead of a cpioball
Mon Apr 27 1998 Prospector System <bugs@redhat.com>
- translations modified for de, fr, tr
Tue Sep 09 1997 Erik Troan <ewt@redhat.com>
- made a noarch package
Wed Jul 09 1997 Erik Troan <ewt@redhat.com>
- added /
Wed Apr 16 1997 Erik Troan <ewt@redhat.com>
- Changed /proc to 555
- Removed /var/spool/mqueue (which is owned by sendmail)
2004-09-09 04:42:12 +00:00
|
|
|
/home
|
install everything in /usr
This patch is needed for the /usr-move feature
https://fedoraproject.org/wiki/Features/UsrMove
This package requires now 'filesystem' >= 3, which is only installable
on a system which has /bin, /sbin, /lib, /lib64 as symlinks to /usr and
not regular directories. The 'filesystem' package acts as a guard, to
prevent *this* package to be installed on old unconverted systems.
New installations will have the 'filesystem' >=3 layout right away, old
installations need to be converted with anaconda or dracut first; only
after that, the 'filesystem' package, and also *this* package can be
installed.
Packages *should* not install files in /bin, /sbin, /lib, /lib64, but
only in the corresponding directories in /usr. Packages *must* not
install conflicting files with the same names in the corresponding
directories in / and /usr. Especially compatibilty symlinks must not be
installed.
Feel free to modify any of the changes to the spec file, but keep the
above in mind.
2012-01-25 13:48:35 +00:00
|
|
|
/lib
|
2016-10-11 06:55:15 +00:00
|
|
|
%ifarch x86_64 ppc64 sparc64 s390x aarch64 ppc64le mips64 mips64el riscv64
|
install everything in /usr
This patch is needed for the /usr-move feature
https://fedoraproject.org/wiki/Features/UsrMove
This package requires now 'filesystem' >= 3, which is only installable
on a system which has /bin, /sbin, /lib, /lib64 as symlinks to /usr and
not regular directories. The 'filesystem' package acts as a guard, to
prevent *this* package to be installed on old unconverted systems.
New installations will have the 'filesystem' >=3 layout right away, old
installations need to be converted with anaconda or dracut first; only
after that, the 'filesystem' package, and also *this* package can be
installed.
Packages *should* not install files in /bin, /sbin, /lib, /lib64, but
only in the corresponding directories in /usr. Packages *must* not
install conflicting files with the same names in the corresponding
directories in / and /usr. Especially compatibilty symlinks must not be
installed.
Feel free to modify any of the changes to the spec file, but keep the
above in mind.
2012-01-25 13:48:35 +00:00
|
|
|
/%{_lib}
|
2004-09-09 04:43:09 +00:00
|
|
|
%endif
|
2004-09-09 04:44:37 +00:00
|
|
|
/media
|
auto-import changelog data from filesystem-2.0.7-1.src.rpm
Fri Jul 21 2000 Bill Nottingham <notting@redhat.com>
- add /usr/share/empty
Wed Jul 12 2000 Prospector <bugzilla@redhat.com>
- automatic rebuild
Wed Jun 28 2000 Preston Brown <pbrown@redhat.com>
- remove /usr/doc
Thu Jun 22 2000 Preston Brown <pbrown@redhat.com>
- remove /usr/info
Mon Jun 19 2000 Bill Nottingham <notting@redhat.com>
- remove /usr/man
Sat Jun 17 2000 Bill Nottingham <notting@redhat.com>
- /var/spool/lpd should have normal perms (#12272)
Tue Jun 06 2000 Bill Nottingham <notting@redhat.com>
- add /etc/skel
Thu Jun 01 2000 Preston Brown <pbrown@redhat.com>
- add /var/spool/lpd to filesystem, owned by user/group lp, tight
permissions
Tue May 23 2000 Trond Eivind Glomsrd <teg@redhat.com>
- Added /etc/xinetd.d
Mon May 15 2000 Preston Brown <pbrown@redhat.com>
- /etc/opt, /usr/share/{info,man/man*,misc,doc} (FHS 2.1)
- added /var/games. Data should move from /var/lib/games to there (FHS 2.1)
- bump version up to 2.0 already!
Thu Apr 13 2000 Jakub Jelinek <jakub@redhat.com>
- removed /var/state, added /var/opt, /var/mail for FHS 2.1 compliance
Sat 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>
- auto rebuild in the new build environment (release 4)
Sun Jan 17 1999 Jeff Johnson <jbj@redhat.com>
- don't carry X11R6.1 as directory on sparc.
- /var/tmp/build root (#811)
Wed Jan 13 1999 Preston Brown <pbrown@redhat.com>
- font directory didn't belong, which I previously misunderstood. removed.
Fri Nov 13 1998 Preston Brown <pbrown@redhat.com>
- /usr/share/fonts/default added.
Fri Oct 09 1998 Bill Nottingham <notting@redhat.com>
- put /mnt/cdrom back in
Wed Oct 07 1998 Bill Nottingham <notting@redhat.com>
- Changed /root to 0750
Wed Aug 05 1998 Erik Troan <ewt@redhat.com>
- added /var/db
- set attributes in the spec file; don't depend on the ones in the cpio
archive
- use a tarball instead of a cpioball
Mon Apr 27 1998 Prospector System <bugs@redhat.com>
- translations modified for de, fr, tr
Tue Sep 09 1997 Erik Troan <ewt@redhat.com>
- made a noarch package
Wed Jul 09 1997 Erik Troan <ewt@redhat.com>
- added /
Wed Apr 16 1997 Erik Troan <ewt@redhat.com>
- Changed /proc to 555
- Removed /var/spool/mqueue (which is owned by sendmail)
2004-09-09 04:42:12 +00:00
|
|
|
%dir /mnt
|
|
|
|
%dir /opt
|
2020-08-07 07:58:37 +00:00
|
|
|
%ghost %attr(555,root,root) /proc
|
2009-08-17 13:10:44 +00:00
|
|
|
%attr(550,root,root) /root
|
2014-08-14 14:08:05 +00:00
|
|
|
/run
|
2004-09-09 04:44:37 +00:00
|
|
|
/srv
|
2020-08-07 07:58:37 +00:00
|
|
|
%ghost %attr(555,root,root) /sys
|
auto-import changelog data from filesystem-2.0.7-1.src.rpm
Fri Jul 21 2000 Bill Nottingham <notting@redhat.com>
- add /usr/share/empty
Wed Jul 12 2000 Prospector <bugzilla@redhat.com>
- automatic rebuild
Wed Jun 28 2000 Preston Brown <pbrown@redhat.com>
- remove /usr/doc
Thu Jun 22 2000 Preston Brown <pbrown@redhat.com>
- remove /usr/info
Mon Jun 19 2000 Bill Nottingham <notting@redhat.com>
- remove /usr/man
Sat Jun 17 2000 Bill Nottingham <notting@redhat.com>
- /var/spool/lpd should have normal perms (#12272)
Tue Jun 06 2000 Bill Nottingham <notting@redhat.com>
- add /etc/skel
Thu Jun 01 2000 Preston Brown <pbrown@redhat.com>
- add /var/spool/lpd to filesystem, owned by user/group lp, tight
permissions
Tue May 23 2000 Trond Eivind Glomsrd <teg@redhat.com>
- Added /etc/xinetd.d
Mon May 15 2000 Preston Brown <pbrown@redhat.com>
- /etc/opt, /usr/share/{info,man/man*,misc,doc} (FHS 2.1)
- added /var/games. Data should move from /var/lib/games to there (FHS 2.1)
- bump version up to 2.0 already!
Thu Apr 13 2000 Jakub Jelinek <jakub@redhat.com>
- removed /var/state, added /var/opt, /var/mail for FHS 2.1 compliance
Sat 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>
- auto rebuild in the new build environment (release 4)
Sun Jan 17 1999 Jeff Johnson <jbj@redhat.com>
- don't carry X11R6.1 as directory on sparc.
- /var/tmp/build root (#811)
Wed Jan 13 1999 Preston Brown <pbrown@redhat.com>
- font directory didn't belong, which I previously misunderstood. removed.
Fri Nov 13 1998 Preston Brown <pbrown@redhat.com>
- /usr/share/fonts/default added.
Fri Oct 09 1998 Bill Nottingham <notting@redhat.com>
- put /mnt/cdrom back in
Wed Oct 07 1998 Bill Nottingham <notting@redhat.com>
- Changed /root to 0750
Wed Aug 05 1998 Erik Troan <ewt@redhat.com>
- added /var/db
- set attributes in the spec file; don't depend on the ones in the cpio
archive
- use a tarball instead of a cpioball
Mon Apr 27 1998 Prospector System <bugs@redhat.com>
- translations modified for de, fr, tr
Tue Sep 09 1997 Erik Troan <ewt@redhat.com>
- made a noarch package
Wed Jul 09 1997 Erik Troan <ewt@redhat.com>
- added /
Wed Apr 16 1997 Erik Troan <ewt@redhat.com>
- Changed /proc to 555
- Removed /var/spool/mqueue (which is owned by sendmail)
2004-09-09 04:42:12 +00:00
|
|
|
%attr(1777,root,root) /tmp
|
|
|
|
%dir /usr
|
2009-08-17 13:10:44 +00:00
|
|
|
%attr(555,root,root) /usr/bin
|
2024-07-17 07:21:49 +00:00
|
|
|
%if %{with merged_sbin}
|
Merge /usr/sbin and /usr/bin
https://fedoraproject.org/wiki/Changes/Unify_bin_and_sbin
/usr/sbin is now created via a scriptlet. In a pristine installation, we'll end
up with merged sbin. On upgrades, symlink creation will fail and the existing
/usr/sbin directory will remain.
The updated package means that if we build packages, they'll see merged sbin in
the filesystem. If additionally rpm defines %{_sbindir} as /usr/sbin, those
packages will get files in the merged location. A separate pull request will be
filed for rpm.
For building rpms, the change in rpm is more important, because what really
matters is the path specified in %files, so even if the buildroot has
merged-sbin, if %_sbindir says otherwise, package will use the unmerged path.
For installation on disk, the change here is more important, because even if
packages specify unmerged paths, if the directory on disk is a symlink, that
symlink will be followed, so the installation will end up with merged sbin.
We want to build packages in a chroot where /usr/sbin is a symlink to /usr/bin,
so that packages get files in the merged location. But on user systems,
especially when the transition is in progress, we will have packages with files
in /usr/sbin, so we accept that /usr/sbin in a separate directory.
2024-04-07 15:33:09 +00:00
|
|
|
%ghost /usr/sbin
|
2024-07-17 07:21:49 +00:00
|
|
|
%else
|
|
|
|
%attr(555,root,root) /usr/sbin
|
|
|
|
%endif
|
2009-08-17 13:10:44 +00:00
|
|
|
/usr/games
|
|
|
|
/usr/include
|
2013-02-21 15:27:41 +00:00
|
|
|
%dir %attr(555,root,root) /usr/lib
|
2017-12-12 14:41:33 +00:00
|
|
|
%dir /usr/lib/sysimage
|
2022-08-03 12:59:32 +00:00
|
|
|
%dir /usr/lib/systemd
|
|
|
|
/usr/lib/systemd/system
|
|
|
|
/usr/lib/systemd/user
|
|
|
|
%dir /usr/lib/sysusers.d
|
|
|
|
%dir /usr/lib/tmpfiles.d
|
2017-12-14 17:11:53 +00:00
|
|
|
%dir /usr/lib/locale
|
|
|
|
%dir /usr/lib/modules
|
2013-11-18 09:56:42 +00:00
|
|
|
%dir /usr/lib/debug
|
2017-11-20 17:34:22 +00:00
|
|
|
%dir /usr/lib/debug/.dwz
|
2013-11-18 09:56:42 +00:00
|
|
|
%ghost /usr/lib/debug/bin
|
|
|
|
%ghost /usr/lib/debug/lib
|
|
|
|
%ghost /usr/lib/debug/%{_lib}
|
2022-08-03 12:59:32 +00:00
|
|
|
%ghost %dir /usr/lib/debug/usr
|
2015-05-25 07:59:52 +00:00
|
|
|
%ghost /usr/lib/debug/usr/bin
|
|
|
|
%ghost /usr/lib/debug/usr/sbin
|
|
|
|
%ghost /usr/lib/debug/usr/lib
|
|
|
|
%ghost /usr/lib/debug/usr/%{_lib}
|
2013-11-18 09:56:42 +00:00
|
|
|
%ghost /usr/lib/debug/usr/.dwz
|
|
|
|
%ghost /usr/lib/debug/sbin
|
2013-02-21 15:27:41 +00:00
|
|
|
%attr(555,root,root) /usr/lib/games
|
2016-10-11 06:55:15 +00:00
|
|
|
%ifarch x86_64 ppc64 sparc64 s390x aarch64 ppc64le mips64 mips64el riscv64
|
2013-02-21 16:03:07 +00:00
|
|
|
%attr(555,root,root) /usr/%{_lib}
|
|
|
|
%else
|
2019-12-18 14:23:15 +00:00
|
|
|
%attr(555,root,root) /usr/lib/bpf
|
2013-02-21 15:27:41 +00:00
|
|
|
%attr(555,root,root) /usr/lib/X11
|
|
|
|
%attr(555,root,root) /usr/lib/pm-utils
|
2009-08-17 13:10:44 +00:00
|
|
|
%endif
|
|
|
|
/usr/libexec
|
Merge /usr/sbin and /usr/bin
https://fedoraproject.org/wiki/Changes/Unify_bin_and_sbin
/usr/sbin is now created via a scriptlet. In a pristine installation, we'll end
up with merged sbin. On upgrades, symlink creation will fail and the existing
/usr/sbin directory will remain.
The updated package means that if we build packages, they'll see merged sbin in
the filesystem. If additionally rpm defines %{_sbindir} as /usr/sbin, those
packages will get files in the merged location. A separate pull request will be
filed for rpm.
For building rpms, the change in rpm is more important, because what really
matters is the path specified in %files, so even if the buildroot has
merged-sbin, if %_sbindir says otherwise, package will use the unmerged path.
For installation on disk, the change here is more important, because even if
packages specify unmerged paths, if the directory on disk is a symlink, that
symlink will be followed, so the installation will end up with merged sbin.
We want to build packages in a chroot where /usr/sbin is a symlink to /usr/bin,
so that packages get files in the merged location. But on user systems,
especially when the transition is in progress, we will have packages with files
in /usr/sbin, so we accept that /usr/sbin in a separate directory.
2024-04-07 15:33:09 +00:00
|
|
|
%dir /usr/local
|
2024-07-17 07:21:49 +00:00
|
|
|
%if %{with merged_sbin}
|
Merge /usr/sbin and /usr/bin
https://fedoraproject.org/wiki/Changes/Unify_bin_and_sbin
/usr/sbin is now created via a scriptlet. In a pristine installation, we'll end
up with merged sbin. On upgrades, symlink creation will fail and the existing
/usr/sbin directory will remain.
The updated package means that if we build packages, they'll see merged sbin in
the filesystem. If additionally rpm defines %{_sbindir} as /usr/sbin, those
packages will get files in the merged location. A separate pull request will be
filed for rpm.
For building rpms, the change in rpm is more important, because what really
matters is the path specified in %files, so even if the buildroot has
merged-sbin, if %_sbindir says otherwise, package will use the unmerged path.
For installation on disk, the change here is more important, because even if
packages specify unmerged paths, if the directory on disk is a symlink, that
symlink will be followed, so the installation will end up with merged sbin.
We want to build packages in a chroot where /usr/sbin is a symlink to /usr/bin,
so that packages get files in the merged location. But on user systems,
especially when the transition is in progress, we will have packages with files
in /usr/sbin, so we accept that /usr/sbin in a separate directory.
2024-04-07 15:33:09 +00:00
|
|
|
%ghost /usr/local/sbin
|
2024-07-17 07:21:49 +00:00
|
|
|
%else
|
|
|
|
/usr/local/sbin
|
|
|
|
%endif
|
Merge /usr/sbin and /usr/bin
https://fedoraproject.org/wiki/Changes/Unify_bin_and_sbin
/usr/sbin is now created via a scriptlet. In a pristine installation, we'll end
up with merged sbin. On upgrades, symlink creation will fail and the existing
/usr/sbin directory will remain.
The updated package means that if we build packages, they'll see merged sbin in
the filesystem. If additionally rpm defines %{_sbindir} as /usr/sbin, those
packages will get files in the merged location. A separate pull request will be
filed for rpm.
For building rpms, the change in rpm is more important, because what really
matters is the path specified in %files, so even if the buildroot has
merged-sbin, if %_sbindir says otherwise, package will use the unmerged path.
For installation on disk, the change here is more important, because even if
packages specify unmerged paths, if the directory on disk is a symlink, that
symlink will be followed, so the installation will end up with merged sbin.
We want to build packages in a chroot where /usr/sbin is a symlink to /usr/bin,
so that packages get files in the merged location. But on user systems,
especially when the transition is in progress, we will have packages with files
in /usr/sbin, so we accept that /usr/sbin in a separate directory.
2024-04-07 15:33:09 +00:00
|
|
|
/usr/local/etc
|
2024-07-17 07:03:17 +00:00
|
|
|
/usr/local/bin
|
Merge /usr/sbin and /usr/bin
https://fedoraproject.org/wiki/Changes/Unify_bin_and_sbin
/usr/sbin is now created via a scriptlet. In a pristine installation, we'll end
up with merged sbin. On upgrades, symlink creation will fail and the existing
/usr/sbin directory will remain.
The updated package means that if we build packages, they'll see merged sbin in
the filesystem. If additionally rpm defines %{_sbindir} as /usr/sbin, those
packages will get files in the merged location. A separate pull request will be
filed for rpm.
For building rpms, the change in rpm is more important, because what really
matters is the path specified in %files, so even if the buildroot has
merged-sbin, if %_sbindir says otherwise, package will use the unmerged path.
For installation on disk, the change here is more important, because even if
packages specify unmerged paths, if the directory on disk is a symlink, that
symlink will be followed, so the installation will end up with merged sbin.
We want to build packages in a chroot where /usr/sbin is a symlink to /usr/bin,
so that packages get files in the merged location. But on user systems,
especially when the transition is in progress, we will have packages with files
in /usr/sbin, so we accept that /usr/sbin in a separate directory.
2024-04-07 15:33:09 +00:00
|
|
|
/usr/local/games
|
|
|
|
/usr/local/include
|
|
|
|
/usr/local/lib*
|
|
|
|
/usr/local/share
|
|
|
|
/usr/local/src
|
auto-import changelog data from filesystem-2.0.7-1.src.rpm
Fri Jul 21 2000 Bill Nottingham <notting@redhat.com>
- add /usr/share/empty
Wed Jul 12 2000 Prospector <bugzilla@redhat.com>
- automatic rebuild
Wed Jun 28 2000 Preston Brown <pbrown@redhat.com>
- remove /usr/doc
Thu Jun 22 2000 Preston Brown <pbrown@redhat.com>
- remove /usr/info
Mon Jun 19 2000 Bill Nottingham <notting@redhat.com>
- remove /usr/man
Sat Jun 17 2000 Bill Nottingham <notting@redhat.com>
- /var/spool/lpd should have normal perms (#12272)
Tue Jun 06 2000 Bill Nottingham <notting@redhat.com>
- add /etc/skel
Thu Jun 01 2000 Preston Brown <pbrown@redhat.com>
- add /var/spool/lpd to filesystem, owned by user/group lp, tight
permissions
Tue May 23 2000 Trond Eivind Glomsrd <teg@redhat.com>
- Added /etc/xinetd.d
Mon May 15 2000 Preston Brown <pbrown@redhat.com>
- /etc/opt, /usr/share/{info,man/man*,misc,doc} (FHS 2.1)
- added /var/games. Data should move from /var/lib/games to there (FHS 2.1)
- bump version up to 2.0 already!
Thu Apr 13 2000 Jakub Jelinek <jakub@redhat.com>
- removed /var/state, added /var/opt, /var/mail for FHS 2.1 compliance
Sat 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>
- auto rebuild in the new build environment (release 4)
Sun Jan 17 1999 Jeff Johnson <jbj@redhat.com>
- don't carry X11R6.1 as directory on sparc.
- /var/tmp/build root (#811)
Wed Jan 13 1999 Preston Brown <pbrown@redhat.com>
- font directory didn't belong, which I previously misunderstood. removed.
Fri Nov 13 1998 Preston Brown <pbrown@redhat.com>
- /usr/share/fonts/default added.
Fri Oct 09 1998 Bill Nottingham <notting@redhat.com>
- put /mnt/cdrom back in
Wed Oct 07 1998 Bill Nottingham <notting@redhat.com>
- Changed /root to 0750
Wed Aug 05 1998 Erik Troan <ewt@redhat.com>
- added /var/db
- set attributes in the spec file; don't depend on the ones in the cpio
archive
- use a tarball instead of a cpioball
Mon Apr 27 1998 Prospector System <bugs@redhat.com>
- translations modified for de, fr, tr
Tue Sep 09 1997 Erik Troan <ewt@redhat.com>
- made a noarch package
Wed Jul 09 1997 Erik Troan <ewt@redhat.com>
- added /
Wed Apr 16 1997 Erik Troan <ewt@redhat.com>
- Changed /proc to 555
- Removed /var/spool/mqueue (which is owned by sendmail)
2004-09-09 04:42:12 +00:00
|
|
|
%dir /usr/share
|
2010-03-04 15:06:10 +00:00
|
|
|
/usr/share/aclocal
|
2013-09-11 08:12:14 +00:00
|
|
|
/usr/share/appdata
|
2004-09-09 04:43:09 +00:00
|
|
|
/usr/share/applications
|
2008-09-06 09:54:05 +00:00
|
|
|
/usr/share/augeas
|
2009-03-04 13:09:45 +00:00
|
|
|
/usr/share/backgrounds
|
2017-11-20 17:34:22 +00:00
|
|
|
%dir /usr/share/bash-completion
|
|
|
|
/usr/share/bash-completion/completions
|
|
|
|
/usr/share/bash-completion/helpers
|
2007-04-17 12:44:11 +00:00
|
|
|
/usr/share/desktop-directories
|
2004-09-09 04:43:58 +00:00
|
|
|
/usr/share/dict
|
2007-04-17 12:44:11 +00:00
|
|
|
/usr/share/doc
|
auto-import changelog data from filesystem-2.0.7-1.src.rpm
Fri Jul 21 2000 Bill Nottingham <notting@redhat.com>
- add /usr/share/empty
Wed Jul 12 2000 Prospector <bugzilla@redhat.com>
- automatic rebuild
Wed Jun 28 2000 Preston Brown <pbrown@redhat.com>
- remove /usr/doc
Thu Jun 22 2000 Preston Brown <pbrown@redhat.com>
- remove /usr/info
Mon Jun 19 2000 Bill Nottingham <notting@redhat.com>
- remove /usr/man
Sat Jun 17 2000 Bill Nottingham <notting@redhat.com>
- /var/spool/lpd should have normal perms (#12272)
Tue Jun 06 2000 Bill Nottingham <notting@redhat.com>
- add /etc/skel
Thu Jun 01 2000 Preston Brown <pbrown@redhat.com>
- add /var/spool/lpd to filesystem, owned by user/group lp, tight
permissions
Tue May 23 2000 Trond Eivind Glomsrd <teg@redhat.com>
- Added /etc/xinetd.d
Mon May 15 2000 Preston Brown <pbrown@redhat.com>
- /etc/opt, /usr/share/{info,man/man*,misc,doc} (FHS 2.1)
- added /var/games. Data should move from /var/lib/games to there (FHS 2.1)
- bump version up to 2.0 already!
Thu Apr 13 2000 Jakub Jelinek <jakub@redhat.com>
- removed /var/state, added /var/opt, /var/mail for FHS 2.1 compliance
Sat 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>
- auto rebuild in the new build environment (release 4)
Sun Jan 17 1999 Jeff Johnson <jbj@redhat.com>
- don't carry X11R6.1 as directory on sparc.
- /var/tmp/build root (#811)
Wed Jan 13 1999 Preston Brown <pbrown@redhat.com>
- font directory didn't belong, which I previously misunderstood. removed.
Fri Nov 13 1998 Preston Brown <pbrown@redhat.com>
- /usr/share/fonts/default added.
Fri Oct 09 1998 Bill Nottingham <notting@redhat.com>
- put /mnt/cdrom back in
Wed Oct 07 1998 Bill Nottingham <notting@redhat.com>
- Changed /root to 0750
Wed Aug 05 1998 Erik Troan <ewt@redhat.com>
- added /var/db
- set attributes in the spec file; don't depend on the ones in the cpio
archive
- use a tarball instead of a cpioball
Mon Apr 27 1998 Prospector System <bugs@redhat.com>
- translations modified for de, fr, tr
Tue Sep 09 1997 Erik Troan <ewt@redhat.com>
- made a noarch package
Wed Jul 09 1997 Erik Troan <ewt@redhat.com>
- added /
Wed Apr 16 1997 Erik Troan <ewt@redhat.com>
- Changed /proc to 555
- Removed /var/spool/mqueue (which is owned by sendmail)
2004-09-09 04:42:12 +00:00
|
|
|
%attr(555,root,root) %dir /usr/share/empty
|
2022-08-03 12:59:32 +00:00
|
|
|
/usr/share/fish
|
2007-04-17 12:44:11 +00:00
|
|
|
/usr/share/games
|
2007-07-18 16:13:55 +00:00
|
|
|
/usr/share/gnome
|
2017-01-02 10:46:03 +00:00
|
|
|
/usr/share/help
|
2007-04-17 12:44:11 +00:00
|
|
|
/usr/share/icons
|
2009-07-08 12:24:52 +00:00
|
|
|
/usr/share/idl
|
auto-import changelog data from filesystem-2.0.7-1.src.rpm
Fri Jul 21 2000 Bill Nottingham <notting@redhat.com>
- add /usr/share/empty
Wed Jul 12 2000 Prospector <bugzilla@redhat.com>
- automatic rebuild
Wed Jun 28 2000 Preston Brown <pbrown@redhat.com>
- remove /usr/doc
Thu Jun 22 2000 Preston Brown <pbrown@redhat.com>
- remove /usr/info
Mon Jun 19 2000 Bill Nottingham <notting@redhat.com>
- remove /usr/man
Sat Jun 17 2000 Bill Nottingham <notting@redhat.com>
- /var/spool/lpd should have normal perms (#12272)
Tue Jun 06 2000 Bill Nottingham <notting@redhat.com>
- add /etc/skel
Thu Jun 01 2000 Preston Brown <pbrown@redhat.com>
- add /var/spool/lpd to filesystem, owned by user/group lp, tight
permissions
Tue May 23 2000 Trond Eivind Glomsrd <teg@redhat.com>
- Added /etc/xinetd.d
Mon May 15 2000 Preston Brown <pbrown@redhat.com>
- /etc/opt, /usr/share/{info,man/man*,misc,doc} (FHS 2.1)
- added /var/games. Data should move from /var/lib/games to there (FHS 2.1)
- bump version up to 2.0 already!
Thu Apr 13 2000 Jakub Jelinek <jakub@redhat.com>
- removed /var/state, added /var/opt, /var/mail for FHS 2.1 compliance
Sat 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>
- auto rebuild in the new build environment (release 4)
Sun Jan 17 1999 Jeff Johnson <jbj@redhat.com>
- don't carry X11R6.1 as directory on sparc.
- /var/tmp/build root (#811)
Wed Jan 13 1999 Preston Brown <pbrown@redhat.com>
- font directory didn't belong, which I previously misunderstood. removed.
Fri Nov 13 1998 Preston Brown <pbrown@redhat.com>
- /usr/share/fonts/default added.
Fri Oct 09 1998 Bill Nottingham <notting@redhat.com>
- put /mnt/cdrom back in
Wed Oct 07 1998 Bill Nottingham <notting@redhat.com>
- Changed /root to 0750
Wed Aug 05 1998 Erik Troan <ewt@redhat.com>
- added /var/db
- set attributes in the spec file; don't depend on the ones in the cpio
archive
- use a tarball instead of a cpioball
Mon Apr 27 1998 Prospector System <bugs@redhat.com>
- translations modified for de, fr, tr
Tue Sep 09 1997 Erik Troan <ewt@redhat.com>
- made a noarch package
Wed Jul 09 1997 Erik Troan <ewt@redhat.com>
- added /
Wed Apr 16 1997 Erik Troan <ewt@redhat.com>
- Changed /proc to 555
- Removed /var/spool/mqueue (which is owned by sendmail)
2004-09-09 04:42:12 +00:00
|
|
|
/usr/share/info
|
2014-07-28 13:31:13 +00:00
|
|
|
%dir /usr/share/licenses
|
2006-10-10 22:04:19 +00:00
|
|
|
%dir /usr/share/locale
|
2009-08-03 08:43:51 +00:00
|
|
|
%dir /usr/share/man
|
2017-03-21 12:02:37 +00:00
|
|
|
/usr/share/metainfo
|
2007-02-12 14:34:40 +00:00
|
|
|
/usr/share/mime-info
|
auto-import changelog data from filesystem-2.0.7-1.src.rpm
Fri Jul 21 2000 Bill Nottingham <notting@redhat.com>
- add /usr/share/empty
Wed Jul 12 2000 Prospector <bugzilla@redhat.com>
- automatic rebuild
Wed Jun 28 2000 Preston Brown <pbrown@redhat.com>
- remove /usr/doc
Thu Jun 22 2000 Preston Brown <pbrown@redhat.com>
- remove /usr/info
Mon Jun 19 2000 Bill Nottingham <notting@redhat.com>
- remove /usr/man
Sat Jun 17 2000 Bill Nottingham <notting@redhat.com>
- /var/spool/lpd should have normal perms (#12272)
Tue Jun 06 2000 Bill Nottingham <notting@redhat.com>
- add /etc/skel
Thu Jun 01 2000 Preston Brown <pbrown@redhat.com>
- add /var/spool/lpd to filesystem, owned by user/group lp, tight
permissions
Tue May 23 2000 Trond Eivind Glomsrd <teg@redhat.com>
- Added /etc/xinetd.d
Mon May 15 2000 Preston Brown <pbrown@redhat.com>
- /etc/opt, /usr/share/{info,man/man*,misc,doc} (FHS 2.1)
- added /var/games. Data should move from /var/lib/games to there (FHS 2.1)
- bump version up to 2.0 already!
Thu Apr 13 2000 Jakub Jelinek <jakub@redhat.com>
- removed /var/state, added /var/opt, /var/mail for FHS 2.1 compliance
Sat 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>
- auto rebuild in the new build environment (release 4)
Sun Jan 17 1999 Jeff Johnson <jbj@redhat.com>
- don't carry X11R6.1 as directory on sparc.
- /var/tmp/build root (#811)
Wed Jan 13 1999 Preston Brown <pbrown@redhat.com>
- font directory didn't belong, which I previously misunderstood. removed.
Fri Nov 13 1998 Preston Brown <pbrown@redhat.com>
- /usr/share/fonts/default added.
Fri Oct 09 1998 Bill Nottingham <notting@redhat.com>
- put /mnt/cdrom back in
Wed Oct 07 1998 Bill Nottingham <notting@redhat.com>
- Changed /root to 0750
Wed Aug 05 1998 Erik Troan <ewt@redhat.com>
- added /var/db
- set attributes in the spec file; don't depend on the ones in the cpio
archive
- use a tarball instead of a cpioball
Mon Apr 27 1998 Prospector System <bugs@redhat.com>
- translations modified for de, fr, tr
Tue Sep 09 1997 Erik Troan <ewt@redhat.com>
- made a noarch package
Wed Jul 09 1997 Erik Troan <ewt@redhat.com>
- added /
Wed Apr 16 1997 Erik Troan <ewt@redhat.com>
- Changed /proc to 555
- Removed /var/spool/mqueue (which is owned by sendmail)
2004-09-09 04:42:12 +00:00
|
|
|
/usr/share/misc
|
2024-01-12 17:57:35 +00:00
|
|
|
%dir /usr/share/modulefiles
|
2007-04-17 12:44:11 +00:00
|
|
|
/usr/share/omf
|
2007-05-25 15:16:13 +00:00
|
|
|
/usr/share/pixmaps
|
2009-08-05 10:12:20 +00:00
|
|
|
/usr/share/sounds
|
2007-05-25 15:16:13 +00:00
|
|
|
/usr/share/themes
|
2004-09-09 04:43:52 +00:00
|
|
|
/usr/share/xsessions
|
2022-08-03 12:59:32 +00:00
|
|
|
%dir /usr/share/X11
|
|
|
|
/usr/share/X11/fonts
|
2014-07-14 12:14:10 +00:00
|
|
|
/usr/share/wayland-sessions
|
2022-08-03 12:59:32 +00:00
|
|
|
/usr/share/zsh
|
auto-import changelog data from filesystem-2.0.7-1.src.rpm
Fri Jul 21 2000 Bill Nottingham <notting@redhat.com>
- add /usr/share/empty
Wed Jul 12 2000 Prospector <bugzilla@redhat.com>
- automatic rebuild
Wed Jun 28 2000 Preston Brown <pbrown@redhat.com>
- remove /usr/doc
Thu Jun 22 2000 Preston Brown <pbrown@redhat.com>
- remove /usr/info
Mon Jun 19 2000 Bill Nottingham <notting@redhat.com>
- remove /usr/man
Sat Jun 17 2000 Bill Nottingham <notting@redhat.com>
- /var/spool/lpd should have normal perms (#12272)
Tue Jun 06 2000 Bill Nottingham <notting@redhat.com>
- add /etc/skel
Thu Jun 01 2000 Preston Brown <pbrown@redhat.com>
- add /var/spool/lpd to filesystem, owned by user/group lp, tight
permissions
Tue May 23 2000 Trond Eivind Glomsrd <teg@redhat.com>
- Added /etc/xinetd.d
Mon May 15 2000 Preston Brown <pbrown@redhat.com>
- /etc/opt, /usr/share/{info,man/man*,misc,doc} (FHS 2.1)
- added /var/games. Data should move from /var/lib/games to there (FHS 2.1)
- bump version up to 2.0 already!
Thu Apr 13 2000 Jakub Jelinek <jakub@redhat.com>
- removed /var/state, added /var/opt, /var/mail for FHS 2.1 compliance
Sat 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>
- auto rebuild in the new build environment (release 4)
Sun Jan 17 1999 Jeff Johnson <jbj@redhat.com>
- don't carry X11R6.1 as directory on sparc.
- /var/tmp/build root (#811)
Wed Jan 13 1999 Preston Brown <pbrown@redhat.com>
- font directory didn't belong, which I previously misunderstood. removed.
Fri Nov 13 1998 Preston Brown <pbrown@redhat.com>
- /usr/share/fonts/default added.
Fri Oct 09 1998 Bill Nottingham <notting@redhat.com>
- put /mnt/cdrom back in
Wed Oct 07 1998 Bill Nottingham <notting@redhat.com>
- Changed /root to 0750
Wed Aug 05 1998 Erik Troan <ewt@redhat.com>
- added /var/db
- set attributes in the spec file; don't depend on the ones in the cpio
archive
- use a tarball instead of a cpioball
Mon Apr 27 1998 Prospector System <bugs@redhat.com>
- translations modified for de, fr, tr
Tue Sep 09 1997 Erik Troan <ewt@redhat.com>
- made a noarch package
Wed Jul 09 1997 Erik Troan <ewt@redhat.com>
- added /
Wed Apr 16 1997 Erik Troan <ewt@redhat.com>
- Changed /proc to 555
- Removed /var/spool/mqueue (which is owned by sendmail)
2004-09-09 04:42:12 +00:00
|
|
|
/usr/src
|
2009-08-17 13:10:44 +00:00
|
|
|
/usr/tmp
|
auto-import changelog data from filesystem-2.0.7-1.src.rpm
Fri Jul 21 2000 Bill Nottingham <notting@redhat.com>
- add /usr/share/empty
Wed Jul 12 2000 Prospector <bugzilla@redhat.com>
- automatic rebuild
Wed Jun 28 2000 Preston Brown <pbrown@redhat.com>
- remove /usr/doc
Thu Jun 22 2000 Preston Brown <pbrown@redhat.com>
- remove /usr/info
Mon Jun 19 2000 Bill Nottingham <notting@redhat.com>
- remove /usr/man
Sat Jun 17 2000 Bill Nottingham <notting@redhat.com>
- /var/spool/lpd should have normal perms (#12272)
Tue Jun 06 2000 Bill Nottingham <notting@redhat.com>
- add /etc/skel
Thu Jun 01 2000 Preston Brown <pbrown@redhat.com>
- add /var/spool/lpd to filesystem, owned by user/group lp, tight
permissions
Tue May 23 2000 Trond Eivind Glomsrd <teg@redhat.com>
- Added /etc/xinetd.d
Mon May 15 2000 Preston Brown <pbrown@redhat.com>
- /etc/opt, /usr/share/{info,man/man*,misc,doc} (FHS 2.1)
- added /var/games. Data should move from /var/lib/games to there (FHS 2.1)
- bump version up to 2.0 already!
Thu Apr 13 2000 Jakub Jelinek <jakub@redhat.com>
- removed /var/state, added /var/opt, /var/mail for FHS 2.1 compliance
Sat 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>
- auto rebuild in the new build environment (release 4)
Sun Jan 17 1999 Jeff Johnson <jbj@redhat.com>
- don't carry X11R6.1 as directory on sparc.
- /var/tmp/build root (#811)
Wed Jan 13 1999 Preston Brown <pbrown@redhat.com>
- font directory didn't belong, which I previously misunderstood. removed.
Fri Nov 13 1998 Preston Brown <pbrown@redhat.com>
- /usr/share/fonts/default added.
Fri Oct 09 1998 Bill Nottingham <notting@redhat.com>
- put /mnt/cdrom back in
Wed Oct 07 1998 Bill Nottingham <notting@redhat.com>
- Changed /root to 0750
Wed Aug 05 1998 Erik Troan <ewt@redhat.com>
- added /var/db
- set attributes in the spec file; don't depend on the ones in the cpio
archive
- use a tarball instead of a cpioball
Mon Apr 27 1998 Prospector System <bugs@redhat.com>
- translations modified for de, fr, tr
Tue Sep 09 1997 Erik Troan <ewt@redhat.com>
- made a noarch package
Wed Jul 09 1997 Erik Troan <ewt@redhat.com>
- added /
Wed Apr 16 1997 Erik Troan <ewt@redhat.com>
- Changed /proc to 555
- Removed /var/spool/mqueue (which is owned by sendmail)
2004-09-09 04:42:12 +00:00
|
|
|
%dir /var
|
2011-11-11 12:49:57 +00:00
|
|
|
/var/adm
|
2019-12-18 14:23:15 +00:00
|
|
|
%dir /var/cache
|
|
|
|
/var/cache/bpf
|
auto-import changelog data from filesystem-2.0.7-1.src.rpm
Fri Jul 21 2000 Bill Nottingham <notting@redhat.com>
- add /usr/share/empty
Wed Jul 12 2000 Prospector <bugzilla@redhat.com>
- automatic rebuild
Wed Jun 28 2000 Preston Brown <pbrown@redhat.com>
- remove /usr/doc
Thu Jun 22 2000 Preston Brown <pbrown@redhat.com>
- remove /usr/info
Mon Jun 19 2000 Bill Nottingham <notting@redhat.com>
- remove /usr/man
Sat Jun 17 2000 Bill Nottingham <notting@redhat.com>
- /var/spool/lpd should have normal perms (#12272)
Tue Jun 06 2000 Bill Nottingham <notting@redhat.com>
- add /etc/skel
Thu Jun 01 2000 Preston Brown <pbrown@redhat.com>
- add /var/spool/lpd to filesystem, owned by user/group lp, tight
permissions
Tue May 23 2000 Trond Eivind Glomsrd <teg@redhat.com>
- Added /etc/xinetd.d
Mon May 15 2000 Preston Brown <pbrown@redhat.com>
- /etc/opt, /usr/share/{info,man/man*,misc,doc} (FHS 2.1)
- added /var/games. Data should move from /var/lib/games to there (FHS 2.1)
- bump version up to 2.0 already!
Thu Apr 13 2000 Jakub Jelinek <jakub@redhat.com>
- removed /var/state, added /var/opt, /var/mail for FHS 2.1 compliance
Sat 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>
- auto rebuild in the new build environment (release 4)
Sun Jan 17 1999 Jeff Johnson <jbj@redhat.com>
- don't carry X11R6.1 as directory on sparc.
- /var/tmp/build root (#811)
Wed Jan 13 1999 Preston Brown <pbrown@redhat.com>
- font directory didn't belong, which I previously misunderstood. removed.
Fri Nov 13 1998 Preston Brown <pbrown@redhat.com>
- /usr/share/fonts/default added.
Fri Oct 09 1998 Bill Nottingham <notting@redhat.com>
- put /mnt/cdrom back in
Wed Oct 07 1998 Bill Nottingham <notting@redhat.com>
- Changed /root to 0750
Wed Aug 05 1998 Erik Troan <ewt@redhat.com>
- added /var/db
- set attributes in the spec file; don't depend on the ones in the cpio
archive
- use a tarball instead of a cpioball
Mon Apr 27 1998 Prospector System <bugs@redhat.com>
- translations modified for de, fr, tr
Tue Sep 09 1997 Erik Troan <ewt@redhat.com>
- made a noarch package
Wed Jul 09 1997 Erik Troan <ewt@redhat.com>
- added /
Wed Apr 16 1997 Erik Troan <ewt@redhat.com>
- Changed /proc to 555
- Removed /var/spool/mqueue (which is owned by sendmail)
2004-09-09 04:42:12 +00:00
|
|
|
/var/db
|
2011-03-31 15:11:58 +00:00
|
|
|
/var/empty
|
2016-01-29 16:28:56 +00:00
|
|
|
/var/ftp
|
2006-06-28 11:11:40 +00:00
|
|
|
/var/games
|
auto-import changelog data from filesystem-2.0.7-1.src.rpm
Fri Jul 21 2000 Bill Nottingham <notting@redhat.com>
- add /usr/share/empty
Wed Jul 12 2000 Prospector <bugzilla@redhat.com>
- automatic rebuild
Wed Jun 28 2000 Preston Brown <pbrown@redhat.com>
- remove /usr/doc
Thu Jun 22 2000 Preston Brown <pbrown@redhat.com>
- remove /usr/info
Mon Jun 19 2000 Bill Nottingham <notting@redhat.com>
- remove /usr/man
Sat Jun 17 2000 Bill Nottingham <notting@redhat.com>
- /var/spool/lpd should have normal perms (#12272)
Tue Jun 06 2000 Bill Nottingham <notting@redhat.com>
- add /etc/skel
Thu Jun 01 2000 Preston Brown <pbrown@redhat.com>
- add /var/spool/lpd to filesystem, owned by user/group lp, tight
permissions
Tue May 23 2000 Trond Eivind Glomsrd <teg@redhat.com>
- Added /etc/xinetd.d
Mon May 15 2000 Preston Brown <pbrown@redhat.com>
- /etc/opt, /usr/share/{info,man/man*,misc,doc} (FHS 2.1)
- added /var/games. Data should move from /var/lib/games to there (FHS 2.1)
- bump version up to 2.0 already!
Thu Apr 13 2000 Jakub Jelinek <jakub@redhat.com>
- removed /var/state, added /var/opt, /var/mail for FHS 2.1 compliance
Sat 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>
- auto rebuild in the new build environment (release 4)
Sun Jan 17 1999 Jeff Johnson <jbj@redhat.com>
- don't carry X11R6.1 as directory on sparc.
- /var/tmp/build root (#811)
Wed Jan 13 1999 Preston Brown <pbrown@redhat.com>
- font directory didn't belong, which I previously misunderstood. removed.
Fri Nov 13 1998 Preston Brown <pbrown@redhat.com>
- /usr/share/fonts/default added.
Fri Oct 09 1998 Bill Nottingham <notting@redhat.com>
- put /mnt/cdrom back in
Wed Oct 07 1998 Bill Nottingham <notting@redhat.com>
- Changed /root to 0750
Wed Aug 05 1998 Erik Troan <ewt@redhat.com>
- added /var/db
- set attributes in the spec file; don't depend on the ones in the cpio
archive
- use a tarball instead of a cpioball
Mon Apr 27 1998 Prospector System <bugs@redhat.com>
- translations modified for de, fr, tr
Tue Sep 09 1997 Erik Troan <ewt@redhat.com>
- made a noarch package
Wed Jul 09 1997 Erik Troan <ewt@redhat.com>
- added /
Wed Apr 16 1997 Erik Troan <ewt@redhat.com>
- Changed /proc to 555
- Removed /var/spool/mqueue (which is owned by sendmail)
2004-09-09 04:42:12 +00:00
|
|
|
/var/lib
|
|
|
|
/var/local
|
2013-06-19 15:53:45 +00:00
|
|
|
%ghost /var/lock
|
auto-import changelog data from filesystem-2.0.7-1.src.rpm
Fri Jul 21 2000 Bill Nottingham <notting@redhat.com>
- add /usr/share/empty
Wed Jul 12 2000 Prospector <bugzilla@redhat.com>
- automatic rebuild
Wed Jun 28 2000 Preston Brown <pbrown@redhat.com>
- remove /usr/doc
Thu Jun 22 2000 Preston Brown <pbrown@redhat.com>
- remove /usr/info
Mon Jun 19 2000 Bill Nottingham <notting@redhat.com>
- remove /usr/man
Sat Jun 17 2000 Bill Nottingham <notting@redhat.com>
- /var/spool/lpd should have normal perms (#12272)
Tue Jun 06 2000 Bill Nottingham <notting@redhat.com>
- add /etc/skel
Thu Jun 01 2000 Preston Brown <pbrown@redhat.com>
- add /var/spool/lpd to filesystem, owned by user/group lp, tight
permissions
Tue May 23 2000 Trond Eivind Glomsrd <teg@redhat.com>
- Added /etc/xinetd.d
Mon May 15 2000 Preston Brown <pbrown@redhat.com>
- /etc/opt, /usr/share/{info,man/man*,misc,doc} (FHS 2.1)
- added /var/games. Data should move from /var/lib/games to there (FHS 2.1)
- bump version up to 2.0 already!
Thu Apr 13 2000 Jakub Jelinek <jakub@redhat.com>
- removed /var/state, added /var/opt, /var/mail for FHS 2.1 compliance
Sat 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>
- auto rebuild in the new build environment (release 4)
Sun Jan 17 1999 Jeff Johnson <jbj@redhat.com>
- don't carry X11R6.1 as directory on sparc.
- /var/tmp/build root (#811)
Wed Jan 13 1999 Preston Brown <pbrown@redhat.com>
- font directory didn't belong, which I previously misunderstood. removed.
Fri Nov 13 1998 Preston Brown <pbrown@redhat.com>
- /usr/share/fonts/default added.
Fri Oct 09 1998 Bill Nottingham <notting@redhat.com>
- put /mnt/cdrom back in
Wed Oct 07 1998 Bill Nottingham <notting@redhat.com>
- Changed /root to 0750
Wed Aug 05 1998 Erik Troan <ewt@redhat.com>
- added /var/db
- set attributes in the spec file; don't depend on the ones in the cpio
archive
- use a tarball instead of a cpioball
Mon Apr 27 1998 Prospector System <bugs@redhat.com>
- translations modified for de, fr, tr
Tue Sep 09 1997 Erik Troan <ewt@redhat.com>
- made a noarch package
Wed Jul 09 1997 Erik Troan <ewt@redhat.com>
- added /
Wed Apr 16 1997 Erik Troan <ewt@redhat.com>
- Changed /proc to 555
- Removed /var/spool/mqueue (which is owned by sendmail)
2004-09-09 04:42:12 +00:00
|
|
|
/var/log
|
|
|
|
/var/mail
|
|
|
|
/var/nis
|
|
|
|
/var/opt
|
|
|
|
/var/preserve
|
2013-06-19 15:53:45 +00:00
|
|
|
%ghost /var/run
|
auto-import changelog data from filesystem-2.0.7-1.src.rpm
Fri Jul 21 2000 Bill Nottingham <notting@redhat.com>
- add /usr/share/empty
Wed Jul 12 2000 Prospector <bugzilla@redhat.com>
- automatic rebuild
Wed Jun 28 2000 Preston Brown <pbrown@redhat.com>
- remove /usr/doc
Thu Jun 22 2000 Preston Brown <pbrown@redhat.com>
- remove /usr/info
Mon Jun 19 2000 Bill Nottingham <notting@redhat.com>
- remove /usr/man
Sat Jun 17 2000 Bill Nottingham <notting@redhat.com>
- /var/spool/lpd should have normal perms (#12272)
Tue Jun 06 2000 Bill Nottingham <notting@redhat.com>
- add /etc/skel
Thu Jun 01 2000 Preston Brown <pbrown@redhat.com>
- add /var/spool/lpd to filesystem, owned by user/group lp, tight
permissions
Tue May 23 2000 Trond Eivind Glomsrd <teg@redhat.com>
- Added /etc/xinetd.d
Mon May 15 2000 Preston Brown <pbrown@redhat.com>
- /etc/opt, /usr/share/{info,man/man*,misc,doc} (FHS 2.1)
- added /var/games. Data should move from /var/lib/games to there (FHS 2.1)
- bump version up to 2.0 already!
Thu Apr 13 2000 Jakub Jelinek <jakub@redhat.com>
- removed /var/state, added /var/opt, /var/mail for FHS 2.1 compliance
Sat 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>
- auto rebuild in the new build environment (release 4)
Sun Jan 17 1999 Jeff Johnson <jbj@redhat.com>
- don't carry X11R6.1 as directory on sparc.
- /var/tmp/build root (#811)
Wed Jan 13 1999 Preston Brown <pbrown@redhat.com>
- font directory didn't belong, which I previously misunderstood. removed.
Fri Nov 13 1998 Preston Brown <pbrown@redhat.com>
- /usr/share/fonts/default added.
Fri Oct 09 1998 Bill Nottingham <notting@redhat.com>
- put /mnt/cdrom back in
Wed Oct 07 1998 Bill Nottingham <notting@redhat.com>
- Changed /root to 0750
Wed Aug 05 1998 Erik Troan <ewt@redhat.com>
- added /var/db
- set attributes in the spec file; don't depend on the ones in the cpio
archive
- use a tarball instead of a cpioball
Mon Apr 27 1998 Prospector System <bugs@redhat.com>
- translations modified for de, fr, tr
Tue Sep 09 1997 Erik Troan <ewt@redhat.com>
- made a noarch package
Wed Jul 09 1997 Erik Troan <ewt@redhat.com>
- added /
Wed Apr 16 1997 Erik Troan <ewt@redhat.com>
- Changed /proc to 555
- Removed /var/spool/mqueue (which is owned by sendmail)
2004-09-09 04:42:12 +00:00
|
|
|
%dir /var/spool
|
|
|
|
%attr(755,root,root) /var/spool/lpd
|
|
|
|
%attr(775,root,mail) /var/spool/mail
|
|
|
|
%attr(1777,root,root) /var/tmp
|
2004-09-09 04:42:34 +00:00
|
|
|
/var/yp
|
auto-import changelog data from filesystem-2.0.7-1.src.rpm
Fri Jul 21 2000 Bill Nottingham <notting@redhat.com>
- add /usr/share/empty
Wed Jul 12 2000 Prospector <bugzilla@redhat.com>
- automatic rebuild
Wed Jun 28 2000 Preston Brown <pbrown@redhat.com>
- remove /usr/doc
Thu Jun 22 2000 Preston Brown <pbrown@redhat.com>
- remove /usr/info
Mon Jun 19 2000 Bill Nottingham <notting@redhat.com>
- remove /usr/man
Sat Jun 17 2000 Bill Nottingham <notting@redhat.com>
- /var/spool/lpd should have normal perms (#12272)
Tue Jun 06 2000 Bill Nottingham <notting@redhat.com>
- add /etc/skel
Thu Jun 01 2000 Preston Brown <pbrown@redhat.com>
- add /var/spool/lpd to filesystem, owned by user/group lp, tight
permissions
Tue May 23 2000 Trond Eivind Glomsrd <teg@redhat.com>
- Added /etc/xinetd.d
Mon May 15 2000 Preston Brown <pbrown@redhat.com>
- /etc/opt, /usr/share/{info,man/man*,misc,doc} (FHS 2.1)
- added /var/games. Data should move from /var/lib/games to there (FHS 2.1)
- bump version up to 2.0 already!
Thu Apr 13 2000 Jakub Jelinek <jakub@redhat.com>
- removed /var/state, added /var/opt, /var/mail for FHS 2.1 compliance
Sat 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>
- auto rebuild in the new build environment (release 4)
Sun Jan 17 1999 Jeff Johnson <jbj@redhat.com>
- don't carry X11R6.1 as directory on sparc.
- /var/tmp/build root (#811)
Wed Jan 13 1999 Preston Brown <pbrown@redhat.com>
- font directory didn't belong, which I previously misunderstood. removed.
Fri Nov 13 1998 Preston Brown <pbrown@redhat.com>
- /usr/share/fonts/default added.
Fri Oct 09 1998 Bill Nottingham <notting@redhat.com>
- put /mnt/cdrom back in
Wed Oct 07 1998 Bill Nottingham <notting@redhat.com>
- Changed /root to 0750
Wed Aug 05 1998 Erik Troan <ewt@redhat.com>
- added /var/db
- set attributes in the spec file; don't depend on the ones in the cpio
archive
- use a tarball instead of a cpioball
Mon Apr 27 1998 Prospector System <bugs@redhat.com>
- translations modified for de, fr, tr
Tue Sep 09 1997 Erik Troan <ewt@redhat.com>
- made a noarch package
Wed Jul 09 1997 Erik Troan <ewt@redhat.com>
- added /
Wed Apr 16 1997 Erik Troan <ewt@redhat.com>
- Changed /proc to 555
- Removed /var/spool/mqueue (which is owned by sendmail)
2004-09-09 04:42:12 +00:00
|
|
|
|
|
|
|
%changelog
|
2024-06-19 08:55:55 +00:00
|
|
|
%autochangelog
|