make gf2c fedora only (for now)
This commit is contained in:
parent
e4f4a131bd
commit
6510d38834
9
ntl.spec
9
ntl.spec
@ -4,6 +4,11 @@
|
||||
# define include static lib (else undef)
|
||||
#define static 1
|
||||
|
||||
# no gf2x in rhel/epel, yet -- rex
|
||||
%if 0%{?fedora}
|
||||
%define gf2x 1
|
||||
%endif
|
||||
|
||||
Summary: High-performance algorithms for vectors, matrices, and polynomials
|
||||
Name: ntl
|
||||
Version: 6.2.1
|
||||
@ -19,7 +24,9 @@ Source1: multilib_template.h
|
||||
# Apply sagemath patch to let sagemath handle NTL errors.
|
||||
Patch0: %{name}-sagemath.patch
|
||||
|
||||
%if 0%{?gf2x}
|
||||
BuildRequires: gf2x-devel
|
||||
%endif
|
||||
BuildRequires: gmp-devel
|
||||
BuildRequires: libtool
|
||||
|
||||
@ -86,7 +93,7 @@ pushd src
|
||||
INCLUDEDIR=%{_includedir} \
|
||||
LIBDIR=%{_libdir} \
|
||||
NTL_GMP_LIP=on \
|
||||
NTL_GF2X_LIB=on \
|
||||
%{?gf2x:NTL_GF2X_LIB=on} \
|
||||
SHARED=on
|
||||
popd
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user