Hello community, here is the log from the commit of package texlive-filesystem for openSUSE:Factory checked in at 2017-10-26 18:39:52 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/texlive-filesystem (Old) and /work/SRC/openSUSE:Factory/.texlive-filesystem.new (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Package is "texlive-filesystem" Thu Oct 26 18:39:52 2017 rev:25 rq:535953 version:unknown Changes: -------- --- /work/SRC/openSUSE:Factory/texlive-filesystem/texlive-filesystem.changes 2017-08-22 11:06:16.932652655 +0200 +++ /work/SRC/openSUSE:Factory/.texlive-filesystem.new/texlive-filesystem.changes 2017-10-26 18:39:54.272493055 +0200 @@ -1,0 +2,5 @@ +Mon Oct 23 09:52:35 UTC 2017 - werner@suse.de + +- Avoid overwriting ls-R files + +------------------------------------------------------------------- ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ texlive-filesystem.spec ++++++ --- /var/tmp/diff_new_pack.7dmHXI/_old 2017-10-26 18:39:57.900323796 +0200 +++ /var/tmp/diff_new_pack.7dmHXI/_new 2017-10-26 18:39:57.920322863 +0200 @@ -13819,10 +13819,10 @@ (cat > %{buildroot}%{_sysconfdir}/permissions.d/texlive.texlive) <<-EOF %{_libexecdir}/mktex/public root:%{texgrp} 2755 %{_texmfconfdir}/ls-R root:%{texgrp} 0664 + %{_fontcache}/ls-R root:%{texgrp} 0664 %{_texmfvardir}/ls-R root:%{texgrp} 0664 %{_texmfvardir}/dist/ls-R root:%{texgrp} 0664 %{_texmfvardir}/main/ls-R root:%{texgrp} 0664 - %{_fontcache}/ls-R root:%{texgrp} 0664 %{_texmfvardir}/ root:root 1755 %{_texmfvardir}/dist/ root:root 1755 %{_texmfvardir}/main/ root:root 1755 @@ -13839,10 +13839,10 @@ (cat > %{buildroot}%{_sysconfdir}/permissions.d/texlive) <<-EOF %{_libexecdir}/mktex/public root:%{texgrp} 0755 %{_texmfconfdir}/ls-R root:%{texgrp} 0664 + %{_fontcache}/ls-R root:%{texgrp} 0664 %{_texmfvardir}/ls-R root:%{texgrp} 0664 %{_texmfvardir}/dist/ls-R root:%{texgrp} 0664 %{_texmfvardir}/main/ls-R root:%{texgrp} 0664 - %{_fontcache}/ls-R root:%{texgrp} 0664 %{_texmfvardir}/ root:root 1755 %{_texmfvardir}/dist/ root:root 1755 %{_texmfvardir}/main/ root:root 1755 @@ -13915,6 +13915,19 @@ %post %fillup_only -n texlive +# the ls-R file (empty at package time) +for dir in %{_texmfconfdir} \ + %{_fontcache} \ + %{_texmfvardir} \ + %{_texmfvardir}/dist \ + %{_texmfvardir}/main +do + test ! -e ${dir}/ls-R || continue + echo '%% ls-R -- filename database for kpathsea; do not change this line.' > \ + ${dir}/ls-R + chown root:%{texgrp} ${dir}/ls-R + chmod 0664 ${dir}/ls-R +done %if %{defined set_permissions} %set_permissions %{_texmfconfdir}/ls-R %set_permissions %{_texmfvardir}/ @@ -24170,11 +24183,11 @@ %dir %{_texmfvardir}/md5 %verify(link) %{_texmfmaindir}/ls-R %verify(link) %{_texmfdistdir}/ls-R -%attr(0664,root,%{texgrp}) %verify(not md5 size mtime mode) %{_texmfconfdir}/ls-R -%attr(0664,root,%{texgrp}) %verify(not md5 size mtime mode) %{_fontcache}/ls-R -%attr(0664,root,%{texgrp}) %verify(not md5 size mtime mode) %{_texmfvardir}/ls-R -%attr(0664,root,%{texgrp}) %verify(not md5 size mtime mode) %{_texmfvardir}/dist/ls-R -%attr(0664,root,%{texgrp}) %verify(not md5 size mtime mode) %{_texmfvardir}/main/ls-R +%ghost %config(noreplace) %attr(0664,root,%{texgrp}) %verify(not md5 size mtime mode) %{_texmfconfdir}/ls-R +%ghost %config(noreplace) %attr(0664,root,%{texgrp}) %verify(not md5 size mtime mode) %{_fontcache}/ls-R +%ghost %config(noreplace) %attr(0664,root,%{texgrp}) %verify(not md5 size mtime mode) %{_texmfvardir}/ls-R +%ghost %config(noreplace) %attr(0664,root,%{texgrp}) %verify(not md5 size mtime mode) %{_texmfvardir}/dist/ls-R +%ghost %config(noreplace) %attr(0664,root,%{texgrp}) %verify(not md5 size mtime mode) %{_texmfvardir}/main/ls-R %{_localstatedir}/adm/fillup-templates/sysconfig.texlive /var/adm/update-scripts/%{name}-%{version}-%{release}-zypper