summaryrefslogtreecommitdiffstats
path: root/vips.spec
diff options
context:
space:
mode:
authorRemi Collet <remi@remirepo.net>2022-06-20 14:48:40 +0200
committerRemi Collet <remi@php.net>2022-06-20 14:48:40 +0200
commit28fca96593becfd3fa58d8b0cb6c5e707bf40c44 (patch)
tree8801e02fddf4a424a4449e0c29ed3df4ef20759d /vips.spec
parent997e463117269cb2f99d11275464644b441d4055 (diff)
fix EL-7 build using upstream fix
Diffstat (limited to 'vips.spec')
-rw-r--r--vips.spec10
1 files changed, 9 insertions, 1 deletions
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 <remi@remirepo.net> - 8.13.0~rc1-2
+- fix EL-7 build using upstream fix
+
* Mon Jun 20 2022 Remi Collet <remi@remirepo.net> - 8.13.0~rc1-1
- update to 8.13.0rc1
- Enable openjpeg2 usage on RHEL >= 9