From 1b05fa7553926f91b433a16e62a950b6b21cdeaa Mon Sep 17 00:00:00 2001 From: Remi Collet Date: Tue, 21 Apr 2020 11:59:58 +0200 Subject: build against ImageMagick on EL-7 --- vips.spec | 11 +++++++---- 1 file changed, 7 insertions(+), 4 deletions(-) (limited to 'vips.spec') diff --git a/vips.spec b/vips.spec index d333b35..5635951 100644 --- a/vips.spec +++ b/vips.spec @@ -31,10 +31,10 @@ %if %{with_libheif} Name: vips-full # Keep vips-full release > vips release -Release: 2%{?dist} +Release: 4%{?dist} %else Name: vips -Release: 1%{?dist} +Release: 3%{?dist} %endif Version: %{vips_version}%{?vips_prever:~%{vips_prever}} Summary: C/C++ library for processing large images @@ -46,7 +46,7 @@ Source0: https://github.com/libvips/libvips/releases/download/v%{vips_version}%{ BuildRequires: pkgconfig(glib-2.0) BuildRequires: pkgconfig(expat) BuildRequires: pkgconfig(fftw3) -%if 0%{?fedora} >= 30 || 0%{?rhel} >= 8 +%if 0%{?fedora} >= 30 || 0%{?rhel} >= 7 BuildRequires: ImageMagick-devel %else # Ensure we use version 6 (same as imagick ext). @@ -108,7 +108,7 @@ Requires: %{name}%{?_isa} = %{version}-%{release} Conflicts: vips-devel < %{version}-%{release} %endif # for consistency, same version at buildtime and runtime -%if 0%{?fedora} >= 30 || 0%{?rhel} >= 8 +%if 0%{?fedora} >= 30 || 0%{?rhel} >= 7 Requires: ImageMagick-devel %else # Ensure we use version 6 (same as imagick ext). @@ -228,6 +228,9 @@ sed -e 's:/usr/bin/python:%{_bindir}/python3:' -i %{buildroot}/%{_bindir}/vipspr %changelog +* Tue Apr 21 2020 Remi Collet - 8.9.1-3 +- build against ImageMagick on EL-7 + * Tue Jan 28 2020 Remi Collet - 8.9.1-1 - update to 8.9.1 - ensure vips-devel pull right ImageMagick-devel version -- cgit