diff --git a/texlive-filesystem.changes b/texlive-filesystem.changes index a7138e2..687a9ba 100644 --- a/texlive-filesystem.changes +++ b/texlive-filesystem.changes @@ -1,3 +1,10 @@ +------------------------------------------------------------------- +Fri Nov 24 12:46:53 UTC 2017 - werner@suse.de + +- Disable by a build conditions using zypper way of posttrans scripts + as we already use %posttrans. Nevertheless correct naming scheme + (boo#1069445) + ------------------------------------------------------------------- Thu Nov 23 13:51:29 UTC 2017 - rbrown@suse.com diff --git a/texlive-filesystem.spec b/texlive-filesystem.spec index 105814b..c2ca1f3 100644 --- a/texlive-filesystem.spec +++ b/texlive-filesystem.spec @@ -31,6 +31,8 @@ %define __os_install_post /usr/lib/rpm/brp-compress \\\ %(ls /usr/lib/rpm/brp-suse.d/* 2> /dev/null | grep -vE 'symlink|desktop') %{nil} +%bcond_with zypper_posttrans + Name: texlive-filesystem Version: %{texlive_version}.%{texlive_noarch} Release: 0 @@ -13862,10 +13864,12 @@ popd %{_fontcache}/tfm/ root:%{texgrp} 1775 EOF +%if %{with zypper_posttrans} sed -r 's@%%\{_texmfdistdir\}@%{_texmfdistdir}@' < %{S:42} > %{buildroot}%{_texmfdistdir}/texconfig/zypper.py mkdir -p %{buildroot}/var/adm/update-scripts ln -sf %{_texmfdistdir}/texconfig/zypper.py \ %{buildroot}/var/adm/update-scripts/%{name}-%{version}-%{release}-zypper +%endif # enviroment mkdir -p %{buildroot}%{_sysconfdir}/profile.d @@ -14030,7 +14034,9 @@ rm -f /var/run/texlive/run-update %dir %{_texmfdistdir}/xdvi/pixmap %dir %{_texmfdistdir}/texconfig %attr(0755,root,root) %{_texmfdistdir}/texconfig/update +%if %{with zypper_posttrans} %attr(0755,root,root) %{_texmfdistdir}/texconfig/zypper.py +%endif %dir %{_texmfdistdir}/asymptote %dir %{_texmfdistdir}/asymptote/GUI %dir %{_texmfdistdir} @@ -24194,7 +24200,9 @@ rm -f /var/run/texlive/run-update %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 %{_fillupdir}/sysconfig.texlive +%if %{with zypper_posttrans} /var/adm/update-scripts/%{name}-%{version}-%{release}-zypper +%endif %files -n texlive-scheme-basic %defattr(-,root,root,755)