own /usr/share/locale and /usr/lib/modules, improve filesystem content file to include symlinks and rootdir
This commit is contained in:
parent
d9f4a11aa4
commit
a9d98a7b5e
@ -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 <ovasik@redhat.com> - 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 <ovasik@redhat.com> - 3.6-1
|
||||
- own /usr/share/bash-completion{,/completions,/helpers} (#1504616)
|
||||
- create and own /usr/lib/debug/.dwz dir to prevent
|
||||
|
Loading…
Reference in New Issue
Block a user