diff --git a/texlive.changes b/texlive.changes index 6673866..fd43aa7 100644 --- a/texlive.changes +++ b/texlive.changes @@ -1,3 +1,9 @@ +------------------------------------------------------------------- +Mon Jan 8 12:55:08 UTC 2018 - werner@suse.de + +- If zypper way of posttrans scripts are disabled do use the rpm + %posttrans scriptlets (boo#1074128) + ------------------------------------------------------------------- Tue Dec 12 17:36:08 UTC 2017 - dimstar@opensuse.org diff --git a/texlive.spec b/texlive.spec index f46117c..2588867 100644 --- a/texlive.spec +++ b/texlive.spec @@ -1,7 +1,7 @@ # # spec file for package texlive # -# Copyright (c) 2017 SUSE LINUX GmbH, Nuernberg, Germany. +# Copyright (c) 2018 SUSE LINUX GmbH, Nuernberg, Germany. # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed @@ -19,7 +19,7 @@ %define texlive_version 2017 %define texlive_previous 2016 %define texlive_release 20170520 -%define texlive_noarch 132 +%define texlive_noarch 133 %define texlive_source texlive-20170520-source %define __perl_requires %{nil} @@ -4048,7 +4048,9 @@ fi %posttrans test -f /var/run/texlive/run-update || exit 0 +%if %{with zypper_posttrans} test -z "$ZYPP_IS_RUNNING" || exit 0 +%endif VERBOSE=false %{_texmfdistdir}/texconfig/update || : rm -f /var/run/texlive/run-update