SHA256
1
0
forked from pool/ghostscript
Dominique Leuenberger 2020-02-06 12:06:57 +00:00 committed by Git OBS Bridge
commit 59356870bf
3 changed files with 13 additions and 3 deletions

View File

@ -1,7 +1,7 @@
# #
# spec file for package ghostscript-mini # spec file for package ghostscript-mini
# #
# Copyright (c) 2019 SUSE LINUX GmbH, Nuernberg, Germany. # Copyright (c) 2020 SUSE LLC
# #
# All modifications and additions to the file contributed by third parties # All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed # remain the property of their copyright owners, unless otherwise agreed

View File

@ -1,3 +1,8 @@
-------------------------------------------------------------------
Fri Jan 31 17:26:37 UTC 2020 - Stefan Brüns <stefan.bruens@rwth-aachen.de>
- Use system openjpeg2 on Tumbleweed/Factory.
------------------------------------------------------------------- -------------------------------------------------------------------
Mon Sep 23 08:24:49 UTC 2019 - Johannes Segitz <jsegitz@suse.de> Mon Sep 23 08:24:49 UTC 2019 - Johannes Segitz <jsegitz@suse.de>

View File

@ -1,7 +1,7 @@
# #
# spec file for package ghostscript # spec file for package ghostscript
# #
# Copyright (c) 2019 SUSE LINUX GmbH, Nuernberg, Germany. # Copyright (c) 2020 SUSE LLC
# #
# All modifications and additions to the file contributed by third parties # All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed # remain the property of their copyright owners, unless otherwise agreed
@ -47,7 +47,9 @@ BuildRequires: xorg-x11-devel
BuildRequires: xorg-x11-fonts BuildRequires: xorg-x11-fonts
BuildRequires: zlib-devel BuildRequires: zlib-devel
# Always check if latest version of penjpeg becomes compatible with ghostscript # Always check if latest version of penjpeg becomes compatible with ghostscript
#BuildRequires: pkgconfig(libopenjp2) %if 0%{?suse_version} >= 1550
BuildRequires: pkgconfig(libopenjp2) >= 2.3.1
%endif
%if 0%{?suse_version} >= 1500 %if 0%{?suse_version} >= 1500
BuildRequires: apparmor-abstractions BuildRequires: apparmor-abstractions
BuildRequires: apparmor-rpm-macros BuildRequires: apparmor-rpm-macros
@ -322,6 +324,9 @@ rm -rf jpeg libpng tiff
%else %else
rm -rf freetype jpeg libpng tiff rm -rf freetype jpeg libpng tiff
%endif %endif
%if 0%{?suse_version} >= 1550
rm -rf openjpeg
%endif
# In contrast to the above we use lcms2 from SUSE since Ghostscript 9.23rc1 # In contrast to the above we use lcms2 from SUSE since Ghostscript 9.23rc1
# because that is what Ghostscript upstream recommends according to # because that is what Ghostscript upstream recommends according to
# https://ghostscript.com/pipermail/gs-devel/2018-March/010061.html # https://ghostscript.com/pipermail/gs-devel/2018-March/010061.html