Define %{jbig2dec_version} global macro
This commit is contained in:
parent
97e7bcb8ef
commit
a40c7ab1af
@ -38,12 +38,18 @@
|
||||
# Obtain the location of Google Droid fonts directory:
|
||||
%global google_droid_fontpath %%(dirname $(fc-list : file | grep "DroidSansFallback"))
|
||||
|
||||
# Desired jbig2dec header files and library version
|
||||
# Oldest possible, will be used in Requires and in configure script to check
|
||||
# if the correct header files and libraries are installed
|
||||
# Please update if needed.
|
||||
%global jbig2dec_version 0.18
|
||||
|
||||
# =============================================================================
|
||||
|
||||
Name: ghostscript
|
||||
Summary: Interpreter for PostScript language & PDF
|
||||
Version: 9.52
|
||||
Release: 3%{?dist}
|
||||
Release: 4%{?dist}
|
||||
|
||||
License: AGPLv3+
|
||||
|
||||
@ -51,7 +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-libs >= 0.18
|
||||
Requires: jbig2dec-libs >= %{jbig2dec_version}
|
||||
|
||||
# Auxiliary build requirements:
|
||||
BuildRequires: automake
|
||||
@ -69,7 +75,7 @@ BuildRequires: cups-devel
|
||||
BuildRequires: dbus-devel
|
||||
BuildRequires: fontconfig-devel
|
||||
BuildRequires: freetype-devel
|
||||
BuildRequires: jbig2dec-devel
|
||||
BuildRequires: jbig2dec-devel >= %{jbig2dec_version}
|
||||
BuildRequires: lcms2-devel
|
||||
BuildRequires: libidn-devel
|
||||
BuildRequires: libijs-devel
|
||||
@ -460,6 +466,9 @@ done
|
||||
# =============================================================================
|
||||
|
||||
%changelog
|
||||
* Thu May 21 2020 Anna Khaitovich <akhaitov@redhat.com> - 9.52-4
|
||||
- Define %%{jbig2dec_version} global macro
|
||||
|
||||
* 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
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user