diff --git a/sagemath.spec b/sagemath.spec index 98c9f8b..8b5d8f4 100644 --- a/sagemath.spec +++ b/sagemath.spec @@ -108,13 +108,11 @@ Patch1: %{name}-gmp.patch # Set of patches to work with system wide packages Patch2: %{name}-scripts.patch -# *** Apply patch3, not patch4, this patch for fedora <= 19 # Do not mandate a patched ntl. It was requested to ntl upstream to # provide an api to match what sagemath expects. # http://shoup.net/pipermail/ntl_shoup.net/2012-April/000033.html Patch3: %{name}-unpatched_ntl.patch -# *** Apply patch4, not patch3, this patch for fedora > 19 # Adapt to ntl 6.0.0. Patch4: %{name}-ntl6.patch @@ -632,7 +630,7 @@ popd %patch0 -p1 %patch1 -p1 %patch2 -p1 -%if 0%{?fedora} <= 19 +%if 0%{?fedora} < 19 %patch3 -p1 %else %patch4 -p1