diff --git a/.gitignore b/.gitignore index 0511c6e..b62b49a 100644 --- a/.gitignore +++ b/.gitignore @@ -1,6 +1,3 @@ /results_ocaml-lambda-term/ -*.rpm -/lambda-term-1.12.0.tar.gz -/lambda-term-1.13.tar.gz -/lambda-term-2.0.1.tar.gz -/lambda-term-2.0.2.tar.gz +/*.rpm +/lambda-term-*.tar.gz diff --git a/ocaml-lambda-term.spec b/ocaml-lambda-term.spec index e0b0a82..3f4cc26 100644 --- a/ocaml-lambda-term.spec +++ b/ocaml-lambda-term.spec @@ -1,6 +1,6 @@ Name: ocaml-lambda-term -Version: 2.0.2 -Release: 4%{?dist} +Version: 2.0.3 +Release: 1%{?dist} Summary: Terminal manipulation library for OCaml %global libname %(echo %{name} | sed -e 's/^ocaml-//') @@ -23,8 +23,6 @@ BuildRequires: ocaml-charinfo-width-devel BuildRequires: ocaml-ocplib-endian-devel BuildRequires: ocaml-bisect-ppx-devel -BuildRequires: libev-devel - BuildRequires: ocaml-dune %description @@ -56,6 +54,12 @@ dune build \ --for-release-of-packages=%{libname} \ %{?_smp_mflags} +# Relink the stublib with RPM_LD_FLAGS +cd _build/default/src +ocamlmklib -g -ldopt "$RPM_LD_FLAGS" -o lambda_term_stubs \ + $(ar t liblambda_term_stubs.a) +cd - + %install dune install \ --verbose \ @@ -100,6 +104,11 @@ make test %changelog +* Thu Apr 16 2020 Jerry James - 2.0.3-1 +- Version 2.0.3 +- Drop unneeded libev-devel BR +- Relink the stublib with $RPM_LD_FLAGS + * Sat Apr 04 2020 Richard W.M. Jones - 2.0.2-4 - Update all OCaml dependencies for RPM 4.16. diff --git a/sources b/sources index 09a798b..a95266b 100644 --- a/sources +++ b/sources @@ -1 +1 @@ -SHA512 (lambda-term-2.0.2.tar.gz) = e4018a7584eff8ffabeca73ebf3636fd91651aeef780172a149fc1073471932ee5f9be023f23928b9e6d97b59b2a06ee190e651fc851679031abd84502875874 +SHA512 (lambda-term-2.0.3.tar.gz) = 9dd78982eee114538a837a513d8970f064c2c83d81a6a0b66ff1dd9348f3a97601bbd6671c47dc37ab6b3b0bcf19791504eda7447afc7fc4b04e8fd9d2e88f9d