From a9d98a7b5e202053749fad2ec24a440f8074c7cc Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Ond=C5=99ej=20Va=C5=A1=C3=ADk?= Date: Thu, 14 Dec 2017 18:11:53 +0100 Subject: [PATCH] own /usr/share/locale and /usr/lib/modules, improve filesystem content file to include symlinks and rootdir --- filesystem.spec | 13 ++++++++++--- 1 file changed, 10 insertions(+), 3 deletions(-) diff --git a/filesystem.spec b/filesystem.spec index 3ed2203..1db686d 100644 --- a/filesystem.spec +++ b/filesystem.spec @@ -1,6 +1,6 @@ Summary: The basic directory layout for a Linux system Name: filesystem -Version: 3.6 +Version: 3.7 Release: 1%{?dist} License: Public Domain URL: https://pagure.io/filesystem @@ -119,8 +119,8 @@ done mkdir -p %{buildroot}/usr/share/filesystem #find all dirs in the buildroot owned by filesystem and store them -find %{buildroot} -mindepth 1 -type d | sed -e 's|%{buildroot}||' \ - | LC_ALL=C sort >%{buildroot}%{_datadir}/filesystem/paths +find %{buildroot} -mindepth 0 | sed -e 's|%{buildroot}|/|' -e 's|//|/|' \ + | LC_ALL=C sort | grep -v filesystem >%{buildroot}%{_datadir}/filesystem/paths %clean rm -rf %{buildroot} @@ -215,6 +215,8 @@ restorecon /media 2>/dev/null >/dev/null || : /usr/include %dir %attr(555,root,root) /usr/lib %dir /usr/lib/sysimage +%dir /usr/lib/locale +%dir /usr/lib/modules %dir /usr/lib/debug %dir /usr/lib/debug/.dwz %ghost /usr/lib/debug/bin @@ -298,6 +300,11 @@ restorecon /media 2>/dev/null >/dev/null || : /var/yp %changelog +* Thu Dec 14 2017 Ondrej Vasik - 3.7-1 +- own /usr/share/locale and /usr/lib/modules +- own /usr/lib/sysimage +- improve filesystem content file to include symlinks and rootdir + * Mon Nov 20 2017 Ondrej Vasik - 3.6-1 - own /usr/share/bash-completion{,/completions,/helpers} (#1504616) - create and own /usr/lib/debug/.dwz dir to prevent