Accepting request 756076 from home:mgorse:factory

- Add  source-poppler0.83.0.patch: support poppler 0.83.

OBS-URL: https://build.opensuse.org/request/show/756076
OBS-URL: https://build.opensuse.org/package/show/Publishing:TeXLive/texlive?expand=0&rev=336
This commit is contained in:
2019-12-12 14:30:53 +00:00
committed by Git OBS Bridge
parent a056176453
commit 2533f588d2
3 changed files with 65 additions and 1 deletions

View File

@@ -1,7 +1,7 @@
#
# spec file for package texlive
#
# Copyright (c) 2019 SUSE LLC.
# Copyright (c) 2019 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
@@ -277,6 +277,8 @@ Patch58: source-poppler0.79.0.patch
Patch59: 0001-Updated-tests-after-U-C-upgrade-changed-sortinit-hashes.patch
# PATCH-FIX-UPSTREAM Bug bsc#1155411 - (CVE-2019-18604) VUL-1: CVE-2019-18604: texlive: improper use of sprintf
Patch60: source-fix-axohelp.patch
# PATCH-FIX-TEXLIVE
Patch61: source-poppler0.83.0.patch
Prefix: %{_bindir}
Provides: pdfjam = %{version}
Obsoletes: pdfjam < %{version}
@@ -3678,6 +3680,9 @@ popd
%if %{?pkg_vcmp:%{pkg_vcmp libpoppler-devel >= 0.73.0}}%{!?pkg_vcmp:0}
%patch58 -p1 -b .poppler75
%endif
%if %{?pkg_vcmp:%{pkg_vcmp libpoppler-devel >= 0.83.0}}%{!?pkg_vcmp:0}
%patch61 -p1 -b .poppler79
%endif
pver=$(pkg-config --modversion poppler)
%if %{?pkg_vcmp:%{pkg_vcmp libpoppler-devel >= 0.79.0}}%{!?pkg_vcmp:0}
cp ./texk/web2c/pdftexdir/pdftoepdf-poppler0.75.0.cc ./texk/web2c/pdftexdir/pdftoepdf-poppler${pver}.cc