Require the exact jbig2dec version to avoid a mismatch between header files and library

This commit is contained in:
Anna Khaitovich 2020-05-20 17:59:39 +02:00
parent 60b9b20330
commit 97e7bcb8ef

View File

@ -43,7 +43,7 @@
Name: ghostscript
Summary: Interpreter for PostScript language & PDF
Version: 9.52
Release: 2%{?dist}
Release: 3%{?dist}
License: AGPLv3+
@ -51,6 +51,7 @@ URL: https://ghostscript.com/
Source: https://github.com/ArtifexSoftware/ghostpdl-downloads/releases/download/gs%{version_short}/ghostscript-%{version}.tar.xz
Requires: libgs%{?_isa} = %{version}-%{release}
Requires: jbig2dec-libs >= 0.18
# Auxiliary build requirements:
BuildRequires: automake
@ -68,7 +69,7 @@ BuildRequires: cups-devel
BuildRequires: dbus-devel
BuildRequires: fontconfig-devel
BuildRequires: freetype-devel
BuildRequires: jbig2dec-devel = 0.18
BuildRequires: jbig2dec-devel
BuildRequires: lcms2-devel
BuildRequires: libidn-devel
BuildRequires: libijs-devel
@ -459,6 +460,9 @@ done
# =============================================================================
%changelog
* Wed May 20 2020 Anna Khaitovich <akhaitov@redhat.com> - 9.52-3
- Require the exact jbig2dec version to avoid a mismatch between header files and library
* Mon May 18 2020 Anna Khaitovich <akhaitov@redhat.com> - 9.52-2
- Require the exact jbig2dec-devel version