Don't build with ImageMagick on EL
EL doesn't support ImageMagick
This commit is contained in:
parent
c2e4e5eafa
commit
659ecd1c9c
@ -14,7 +14,9 @@ Patch5: autotrace-0.31.1-multilib-fix.patch
|
||||
Patch6: autotrace-0.31.1-pstoedit-detection-fix.patch
|
||||
Patch7: autotrace-0.31.1-CVE-2016-7392.patch
|
||||
BuildRequires: gcc-c++
|
||||
%if ! 0%{?rhel}
|
||||
BuildRequires: ImageMagick-devel
|
||||
%endif
|
||||
BuildRequires: libpng-devel > 2:1.2
|
||||
BuildRequires: libexif-devel
|
||||
BuildRequires: libtiff-devel
|
||||
@ -41,7 +43,9 @@ Postscript, SVG, xfig, SWF, and others.
|
||||
Summary: Header files for autotrace
|
||||
Requires: %{name}%{?_isa} = %{version}-%{release}
|
||||
Requires: pkgconfig
|
||||
%if ! 0%{?rhel}
|
||||
Requires: ImageMagick-devel
|
||||
%endif
|
||||
Requires: pstoedit-devel
|
||||
|
||||
|
||||
@ -61,7 +65,11 @@ This package contains header files and development libraries for autotrace.
|
||||
autoreconf -ivf
|
||||
|
||||
%build
|
||||
%if ! 0%{?rhel}
|
||||
%configure
|
||||
%else
|
||||
%configure --without-magick
|
||||
%endif
|
||||
|
||||
# remove rpaths
|
||||
sed -i 's|^hardcode_libdir_flag_spec=.*|hardcode_libdir_flag_spec=""|g' libtool
|
||||
|
Loading…
Reference in New Issue
Block a user