Remove unused directories 00/87200/3 tizen_3.0 accepted/tizen/3.0/base/20161028.102948 accepted/tizen/3.0/base/20161209.121446 accepted/tizen/base/20160923.170129 submit/tizen_3.0_base/20161028.062323 submit/tizen_3.0_base/20161209.121136 submit/tizen_base/20160909.003108
authorSunmin Lee <sunm.lee@samsung.com>
Wed, 7 Sep 2016 01:55:11 +0000 (10:55 +0900)
committerSunmin Lee <sunm.lee@samsung.com>
Wed, 7 Sep 2016 04:03:23 +0000 (13:03 +0900)
Compare to Tizen 2.4, the new directories added in Tizen 3.0
but not used is removed.

Change-Id: I9811a785ef87e902f430bd9385e20a6eaffe0e05
Signed-off-by: Sunmin Lee <sunm.lee@samsung.com>
packaging/filesystem.spec

index 5f661fc..12f9f78 100644 (file)
@@ -55,7 +55,7 @@ mkdir -p boot dev \
         home mnt proc root run/lock srv sys tmp \
         opt/{home,media,usr/{home,data,dbspace,media,apps},share,dbspace,data,etc,var} \
         usr/{bin,etc,games,include,%{_lib}/{pkgconfig,games,sse2,tls,X11,pm-utils/{module.d,power.d,sleep.d}},lib/{games,locale,modules,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/{help/C,aclocal,applications,augeas/lenses,backgrounds,desktop-directories,dict,doc,empty,games,ghostscript/conf.d,gnome,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,upgrade/{data,scripts}},src,src/kernels,src/debug} \
-        var/{adm,empty,gopher,lib/{empty,games,misc,rpm-state},local,lock/subsys,log,nis,preserve,run,spool/{mail,lpd,uucp},tmp,db,cache,opt,games,yp}
+        var/{lib/{empty,misc},local,lock/subsys,log,nis,preserve,run,spool/{mail,lpd},tmp,db,cache,opt,games}
 
 ln -snf opt/media media
 ln -snf ../var/tmp usr/tmp
@@ -192,12 +192,9 @@ posix.symlink("/run/lock", "/var/lock")
 /usr/tmp
 /opt/var
 %dir /var
-%{_localstatedir}/adm
 %{_localstatedir}/cache
 %{_localstatedir}/db
-%{_localstatedir}/empty
 %{_localstatedir}/games
-%{_localstatedir}/gopher
 %{_localstatedir}/lib
 %{_localstatedir}/local
 %ghost %dir %attr(755,root,root) %{_localstatedir}/lock
@@ -211,8 +208,6 @@ posix.symlink("/run/lock", "/var/lock")
 %dir %{_localstatedir}/spool
 %attr(755,root,root) %{_localstatedir}/spool/lpd
 %attr(775,root,mail) %{_localstatedir}/spool/mail
-%attr(755,uucp,uucp) %{_localstatedir}/spool/uucp
 %attr(1777,root,root) %{_localstatedir}/tmp
-%{_localstatedir}/yp
 
 %changelog