From 28fca96593becfd3fa58d8b0cb6c5e707bf40c44 Mon Sep 17 00:00:00 2001 From: Remi Collet Date: Mon, 20 Jun 2022 14:48:40 +0200 Subject: fix EL-7 build using upstream fix --- vips.spec | 10 +++++++++- 1 file changed, 9 insertions(+), 1 deletion(-) diff --git a/vips.spec b/vips.spec index 4b0eeb0..37d740d 100644 --- a/vips.spec +++ b/vips.spec @@ -68,7 +68,7 @@ %endif Name: vips -Release: 1%{?dist} +Release: 2%{?dist} Version: %{vips_version}%{?vips_prever:~%{vips_prever}} Summary: C/C++ library for processing large images @@ -76,11 +76,15 @@ License: LGPLv2+ URL: https://libvips.github.io/libvips/ Source0: https://github.com/libvips/libvips/releases/download/v%{vips_tarver}/vips-%{vips_tarver}.tar.gz +Patch0: %{name}-upstream.patch + BuildRequires: make BuildRequires: gcc BuildRequires: gcc-c++ BuildRequires: pkgconfig BuildRequires: gettext +# bc command used in test suite +BuildRequires: bc BuildRequires: pkgconfig(glib-2.0) BuildRequires: pkgconfig(expat) BuildRequires: pkgconfig(fftw3) @@ -303,6 +307,7 @@ exit 1 %endif %setup -q -n vips-%{vips_version} +%patch0 -p1 # make the version string consistent for multiarch export FAKE_BUILD_DATE=$(date -r %{SOURCE0}) @@ -455,6 +460,9 @@ make check %changelog +* Mon Jun 20 2022 Remi Collet - 8.13.0~rc1-2 +- fix EL-7 build using upstream fix + * Mon Jun 20 2022 Remi Collet - 8.13.0~rc1-1 - update to 8.13.0rc1 - Enable openjpeg2 usage on RHEL >= 9 -- cgit