Accepting request 562513 from Publishing:TeXLive

- If zypper way of posttrans scripts are disabled do use the rpm
  %posttrans scriptlets (boo#1074128)

OBS-URL: https://build.opensuse.org/request/show/562513
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/texlive?expand=0&rev=43
This commit is contained in:
Dominique Leuenberger 2018-01-13 20:36:31 +00:00 committed by Git OBS Bridge
commit dd4108e9f5
2 changed files with 10 additions and 2 deletions

View File

@ -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

View File

@ -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