Require the exact jbig2dec version in both build and runtime dependencies

This commit is contained in:
Anna Khaitovich 2020-06-24 12:39:15 +02:00
parent a40c7ab1af
commit 673c823e42

View File

@ -49,7 +49,7 @@
Name: ghostscript
Summary: Interpreter for PostScript language & PDF
Version: 9.52
Release: 4%{?dist}
Release: 5%{?dist}
License: AGPLv3+
@ -57,6 +57,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-devel >= %{jbig2dec_version}
Requires: jbig2dec-libs >= %{jbig2dec_version}
# Auxiliary build requirements:
@ -76,6 +77,7 @@ BuildRequires: dbus-devel
BuildRequires: fontconfig-devel
BuildRequires: freetype-devel
BuildRequires: jbig2dec-devel >= %{jbig2dec_version}
BuildRequires: jbig2dec-libs >= %{jbig2dec_version}
BuildRequires: lcms2-devel
BuildRequires: libidn-devel
BuildRequires: libijs-devel
@ -466,6 +468,9 @@ done
# =============================================================================
%changelog
* Wed Jun 24 2020 Anna Khaitovich <akhaitov@redhat.com> - 9.52-5
- Require the exact jbig2dec version in both build and runtime dependencies
* Thu May 21 2020 Anna Khaitovich <akhaitov@redhat.com> - 9.52-4
- Define %%{jbig2dec_version} global macro