Fix EPEL builds
This commit is contained in:
parent
6bd7c9097f
commit
b12363c2ff
@ -14,10 +14,14 @@ BuildRequires: dos2unix
|
||||
BuildRequires: ghostscript
|
||||
BuildRequires: plotutils-devel
|
||||
BuildRequires: gcc-c++, gcc
|
||||
BuildRequires: libEMF-devel
|
||||
BuildRequires: libzip-devel
|
||||
BuildRequires: ImageMagick-c++-devel
|
||||
%if 0%{?fedora} || 0%{?rhel} > 7
|
||||
BuildRequires: libEMF-devel
|
||||
%endif
|
||||
%if 0%{?fedora}
|
||||
BuildRequires: ming-devel
|
||||
%endif
|
||||
Requires: ghostscript%{?_isa}
|
||||
|
||||
%description
|
||||
@ -43,13 +47,10 @@ dos2unix doc/*.htm doc/readme.txt
|
||||
|
||||
%build
|
||||
# Buildling without ImageMagick support, to work around bug 507035
|
||||
%configure --disable-static --with-emf \
|
||||
--enable-docs=no --with-libzip-include=%{_includedir}
|
||||
|
||||
# http://fedoraproject.org/wiki/Packaging/Guidelines#Removing_Rpath
|
||||
#sed -i 's|^hardcode_libdir_flag_spec=.*|hardcode_libdir_flag_spec=""|g' libtool
|
||||
#sed -i 's|^runpath_var=LD_RUN_PATH|runpath_var=DIE_RPATH_DIE|g' libtool
|
||||
|
||||
%configure --disable-static --enable-docs=no --with-libzip-include=%{_includedir} \
|
||||
%if 0%{?rhel} == 7
|
||||
--without-emf
|
||||
%endif
|
||||
%make_build
|
||||
|
||||
%install
|
||||
|
Loading…
Reference in New Issue
Block a user