improve the content file creation
This commit is contained in:
parent
cfe0ceb227
commit
db4074f618
@ -1,6 +1,6 @@
|
||||
Summary: The basic directory layout for a Linux system
|
||||
Name: filesystem
|
||||
Version: 3.4
|
||||
Version: 3.5
|
||||
Release: 1%{?dist}
|
||||
License: Public Domain
|
||||
URL: https://pagure.io/filesystem
|
||||
@ -119,7 +119,8 @@ done
|
||||
|
||||
mkdir -p %{buildroot}/usr/share/filesystem
|
||||
#find all dirs in the buildroot owned by filesystem and store them
|
||||
find %{buildroot} -type d | sed -e 's|%{buildroot}||g' >>%{buildroot}%{_datadir}/filesystem/paths
|
||||
find %{buildroot} -mindepth 1 -type d | sed -e 's|%{buildroot}||' \
|
||||
| LC_ALL=C sort >%{buildroot}%{_datadir}/filesystem/paths
|
||||
|
||||
%clean
|
||||
rm -rf %{buildroot}
|
||||
@ -292,6 +293,9 @@ restorecon /media 2>/dev/null >/dev/null || :
|
||||
/var/yp
|
||||
|
||||
%changelog
|
||||
* Thu Oct 12 2017 Ondrej Vasik <ovasik@redhat.com> - 3.5-1
|
||||
- improve the content file creation
|
||||
|
||||
* Thu Oct 05 2017 Ondrej Vasik <ovasik@redhat.com> - 3.4-1
|
||||
- create and own file with the content of filesystem package
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user