From 25259a4d9069dd95269f0cffb48ac18200d5ac0cb1304f8a9b2acf414d2c78b8 Mon Sep 17 00:00:00 2001 From: "Dr. Werner Fink" Date: Mon, 8 Jan 2018 13:06:31 +0000 Subject: [PATCH] boo#1074128 OBS-URL: https://build.opensuse.org/package/show/Publishing:TeXLive/texlive?expand=0&rev=267 --- texlive.changes | 6 ++++++ texlive.spec | 6 ++++-- 2 files changed, 10 insertions(+), 2 deletions(-) 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