Rebase to 3.75| Use devtoolset-9 on EPEL7
This commit is contained in:
parent
e91f851572
commit
c6cef9fa22
@ -1,3 +1,7 @@
|
||||
%if 0%{?el7}
|
||||
%global dts devtoolset-9-
|
||||
%endif
|
||||
|
||||
Name: pstoedit
|
||||
Version: 3.75
|
||||
Release: 1%{?dist}
|
||||
@ -13,7 +17,7 @@ BuildRequires: gd-devel
|
||||
BuildRequires: dos2unix
|
||||
BuildRequires: ghostscript
|
||||
BuildRequires: plotutils-devel
|
||||
BuildRequires: gcc-c++, gcc
|
||||
BuildRequires: %{?dts}gcc-c++, %{?dts}gcc
|
||||
BuildRequires: libzip-devel
|
||||
BuildRequires: ImageMagick-c++-devel
|
||||
%if 0%{?fedora} || 0%{?rhel} > 7
|
||||
@ -46,6 +50,10 @@ applications
|
||||
dos2unix doc/*.htm doc/readme.txt
|
||||
|
||||
%build
|
||||
%if 0%{?el7}
|
||||
%{?dts:source /opt/rh/devtoolset-9/enable}
|
||||
%endif
|
||||
|
||||
%configure --disable-static --enable-docs=no --with-libzip-include=%{_includedir} \
|
||||
%if 0%{?rhel} == 7
|
||||
--without-emf
|
||||
|
Loading…
Reference in New Issue
Block a user