From c5bdcc96b6acc3fe43f97ec018ee84de471f6db6 Mon Sep 17 00:00:00 2001 From: Pavel Zhukov Date: Wed, 7 Jul 2021 11:50:34 +0200 Subject: [PATCH] Do not add /afs into content subpackage --- filesystem.spec | 10 ++++++++-- 1 file changed, 8 insertions(+), 2 deletions(-) diff --git a/filesystem.spec b/filesystem.spec index 9efb831..a84c469 100644 --- a/filesystem.spec +++ b/filesystem.spec @@ -1,7 +1,7 @@ Summary: The basic directory layout for a Linux system Name: filesystem Version: 3.14 -Release: 5%{?dist} +Release: 6%{?dist} License: Public Domain URL: https://pagure.io/filesystem Group: System Environment/Base @@ -48,7 +48,7 @@ install -p -c -m755 %SOURCE3 %{buildroot}/iso_3166.sed cd %{buildroot} -mkdir -p afs boot dev \ +mkdir -p boot dev \ etc/{X11/{applnk,fontpath.d,xinit/{xinitrc,xinput}.d},xdg/autostart,opt,pm/{config.d,power.d,sleep.d},skel,sysconfig,pki,bash_completion.d,rwtab.d,statetab.d} \ home media mnt opt root run srv tmp \ usr/{bin,games,include,%{_lib}/{bpf,games,X11,pm-utils/{module.d,power.d,sleep.d}},lib/{debug/{.dwz,usr},games,locale,modules,sysimage},libexec,local/{bin,etc,games,lib,%{_lib}/bpf,sbin,src,share/{applications,man/man{1,2,3,4,5,6,7,8,9,n,1x,2x,3x,4x,5x,6x,7x,8x,9x},info},libexec,include,},sbin,share/{aclocal,appdata,applications,augeas/lenses,backgrounds,bash-completion{,/completions,/helpers},desktop-directories,dict,doc,empty,games,gnome,help,icons,idl,info,licenses,man/man{1,2,3,4,5,6,7,8,9,n,1x,2x,3x,4x,5x,6x,7x,8x,9x,0p,1p,3p},metainfo,mime-info,misc,omf,pixmaps,sounds,themes,xsessions,X11,wayland-sessions},src,src/kernels,src/debug} \ @@ -130,6 +130,9 @@ mkdir -p %{buildroot}/usr/share/filesystem find %{buildroot} -mindepth 0 | sed -e 's|%{buildroot}|/|' -e 's|//|/|' \ | LC_ALL=C sort | grep -v filesystem >%{buildroot}%{_datadir}/filesystem/paths +mkdir -p afs + + %pretrans -p --# 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 @@ -313,6 +316,9 @@ restorecon /afs 2>/dev/null >/dev/null || : /var/yp %changelog +* Wed Jul 7 2021 Pavel Zhukov - 3.14-6 +- Do not add /afs into content + * Tue Jan 26 2021 Fedora Release Engineering - 3.14-5 - Rebuilt for https://fedoraproject.org/wiki/Fedora_34_Mass_Rebuild