# Conditional build:
%bcond_without tex # TeX documentation
#
-# note: latest perl Math::Pari (2.030518) doesn't know of pari >= 2.12
-# 2.13.1 with updated Math-Pari diff patch + Math-Pari 2.030518 with update patch:
-# Failed 19/243 test programs. 176/1476 subtests failed.
-# compared to 2.11.4 with Math-Pari 2.11-diff-all patch:
-# Failed 20/229 test programs. 173/1477 subtests failed.
%define pari_version 2.13.4
%define gp2c_version 0.0.12pl1
# because of previous 2.x versions with 8 minor digits, keep trailing zeros in package Version
BuildRequires: texlive-dvips
BuildRequires: texlive-fonts-cm
BuildRequires: texlive-format-pdflatex
+BuildRequires: texlive-latex-ams
BuildRequires: texlive-plain
BuildRequires: texlive-pdftex
BuildRequires: texlive-tex-babel
echo '#define DL_DFLT_NAME NULL' >>libPARI/paricfg.h
%{__perl} Makefile.PL \
- INSTALLDIRS=vendor
+ INSTALLDIRS=vendor \
+%ifarch x32
+ machine=none
+%endif
%{__make} \
OPTIMIZE="%{rpmcflags} -I$(pwd)/../Olinux-%{_target_cpu}"