diff --git a/filesystem.spec b/filesystem.spec index bedf13f..ce6451d 100644 --- a/filesystem.spec +++ b/filesystem.spec @@ -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 - 3.5-1 +- improve the content file creation + * Thu Oct 05 2017 Ondrej Vasik - 3.4-1 - create and own file with the content of filesystem package