From e9467766854b2b09570ea22a868b3f9283a21ac5 Mon Sep 17 00:00:00 2001 From: Rex Dieter Date: Wed, 9 Mar 2016 09:03:28 -0600 Subject: [PATCH] lcms2 is no longer optional --- GraphicsMagick.spec | 8 +------- 1 file changed, 1 insertion(+), 7 deletions(-) diff --git a/GraphicsMagick.spec b/GraphicsMagick.spec index edbc85b..70edbdd 100644 --- a/GraphicsMagick.spec +++ b/GraphicsMagick.spec @@ -4,10 +4,6 @@ %global _with_quantum_depth --with-quantum-depth=16 %endif -%if 0%{?fedora} || 0%{?rhel} > 5 -%global lcms2 --with-lcms2 -%endif - %if 0%{?fedora} || 0%{?rhel} > 6 %global _enable_quantum_library_names --enable-quantum-library-names %global libQ -Q16 @@ -55,9 +51,7 @@ Patch50: GraphicsMagick-1.3.14-perl_linkage.patch BuildRequires: bzip2-devel BuildRequires: freetype-devel BuildRequires: jasper-devel -%if 0%{?lcms2:1} BuildRequires: lcms2-devel -%endif BuildRequires: libjpeg-devel BuildRequires: libpng-devel BuildRequires: librsvg2-devel @@ -181,7 +175,7 @@ sed -i.rpath -e 's|"/lib /usr/lib|"/%{_lib} %{_libdir}|' configure %build %configure --enable-shared --disable-static \ --docdir=%{_pkgdocdir} \ - %{?lcms2} \ + --with-lcms2 \ --with-magick_plus_plus \ --with-modules \ --with-perl \