From f34269df2977d0258fe4876195a7014d250f98c0 Mon Sep 17 00:00:00 2001 From: =?utf8?q?Jan=20R=C4=99korajski?= Date: Sun, 21 Mar 2021 22:16:24 +0100 Subject: [PATCH] - up to 1.12 --- ocaml-zarith-x32.patch | 15 --------------- ocaml-zarith.spec | 9 +++------ 2 files changed, 3 insertions(+), 21 deletions(-) delete mode 100644 ocaml-zarith-x32.patch diff --git a/ocaml-zarith-x32.patch b/ocaml-zarith-x32.patch deleted file mode 100644 index a0f65c0..0000000 --- a/ocaml-zarith-x32.patch +++ /dev/null @@ -1,15 +0,0 @@ ---- Zarith-release-1.9.1/configure.orig 2019-08-28 16:17:04.000000000 +0200 -+++ Zarith-release-1.9.1/configure 2019-12-28 15:42:01.220520989 +0100 -@@ -323,7 +323,11 @@ - arch='x86_64' - fi - ;; -- i486-*linux-gnu|i686-*linux-gnu|i486-kfreebsd-gnu) -+ x86_64-*linux-gnux32) -+ ccdef="-DZ_ELF -DZ_DOT_LABEL_PREFIX $ccdef" -+ arch='x86_64' -+ ;; -+ i[456]86-*linux-gnu|iathlon-*linux-gnu|i486-kfreebsd-gnu) - ccdef="-DZ_ELF -DZ_DOT_LABEL_PREFIX $ccdef" - arch='i686';; - i686-*cygwin) diff --git a/ocaml-zarith.spec b/ocaml-zarith.spec index bf7d764..50c222b 100644 --- a/ocaml-zarith.spec +++ b/ocaml-zarith.spec @@ -11,14 +11,13 @@ Summary: Zarith: arbitrary-precision integers Summary(pl.UTF-8): Zarith - liczby całkowite dowolnej precyzji Name: ocaml-zarith -Version: 1.9.1 -Release: 2 +Version: 1.12 +Release: 1 License: LGPL v2 with linking exception Group: Applications/Math #Source0Download: https://github.com/ocaml/Zarith/releases Source0: https://github.com/ocaml/Zarith/archive/release-%{version}/Zarith-%{version}.tar.gz -# Source0-md5: af41b7534a4c91a8f774f04e307c1c66 -Patch0: %{name}-x32.patch +# Source0-md5: bf368f3d9e20b6b446d54681afc05a04 URL: http://github.com/ocaml/Zarith BuildRequires: bash BuildRequires: gmp-devel @@ -58,13 +57,11 @@ przy użyciu biblioteki Zarith. %prep %setup -q -n Zarith-release-%{version} -%patch0 -p1 %build CC="%{__cc}" \ CFLAGS="%{rpmcflags}" \ ./configure \ - -host %{_target_platform} \ -installdir $RPM_BUILD_ROOT%{_libdir}/ocaml \ -gmp -- 2.43.0