own and create /var/lib/rpm-state (#771713)

This commit is contained in:
Ondřej Vašík 2012-01-12 15:15:55 +01:00
parent 5be6c73e7b
commit ff762fcf65

View File

@ -1,6 +1,6 @@
Summary: The basic directory layout for a Linux system
Name: filesystem
Version: 2.4.45
Version: 2.4.46
Release: 1%{?dist}
License: Public Domain
URL: https://fedorahosted.org/filesystem
@ -35,7 +35,7 @@ mkdir -p bin boot dev \
etc/{X11/{applnk,fontpath.d},xdg/autostart,opt,pm/{config.d,power.d,sleep.d},xinetd.d,skel,sysconfig,pki} \
home lib/modules %{_lib}/tls media mnt opt proc root run/lock sbin srv sys tmp \
usr/{bin,etc,games,include,%{_lib}/{games,sse2,tls,X11,pm-utils/{module.d,power.d,sleep.d}},lib/{games,locale,sse2},libexec,local/{bin,etc,games,lib,%{_lib},sbin,src,share/{applications,man/man{1,2,3,4,5,6,7,8,9,n,1x,2x,3x,4x,5x,6x,7x,8x,9x},info},libexec,include,},sbin,share/{aclocal,applications,augeas/lenses,backgrounds,desktop-directories,dict,doc,empty,games,ghostscript/conf.d,gnome,icons,idl,info,man/man{1,2,3,4,5,6,7,8,9,n,1x,2x,3x,4x,5x,6x,7x,8x,9x,0p,1p,3p},mime-info,misc,omf,pixmaps,sounds,themes,xsessions,X11},src,src/kernels,src/debug} \
var/{adm,empty,gopher,lib/{games,misc},local,lock/subsys,log,nis,preserve,run,spool/{mail,lpd,uucp},tmp,db,cache,opt,games,yp}
var/{adm,empty,gopher,lib/{games,misc,rpm-state},local,lock/subsys,log,nis,preserve,run,spool/{mail,lpd,uucp},tmp,db,cache,opt,games,yp}
ln -snf ../var/tmp usr/tmp
ln -snf spool/mail var/mail
@ -196,6 +196,9 @@ posix.symlink("../run/lock", "/var/lock")
/var/yp
%changelog
* Thu Jan 12 2012 Ondrej Vasik <ovasik@redhat.com> 2.4.46-1
- own and create /var/lib/rpm-state (#771713)
* Fri Nov 11 2011 Ondrej Vasik <ovasik@redhat.com> 2.4.45-1
- own and create /var/adm, /var/gopher and /var/spool/uucp
as these are homedirs for default legacy system accounts