Version 2.0.3.

- Drop unneeded libev-devel BR.
- Relink the stublib with $RPM_LD_FLAGS.
This commit is contained in:
Jerry James 2020-04-16 15:33:08 -06:00
parent ba30836a8e
commit c44515b25a
3 changed files with 16 additions and 10 deletions

7
.gitignore vendored
View File

@ -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

View File

@ -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 <loganjerry@gmail.com> - 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 <rjones@redhat.com> - 2.0.2-4
- Update all OCaml dependencies for RPM 4.16.

View File

@ -1 +1 @@
SHA512 (lambda-term-2.0.2.tar.gz) = e4018a7584eff8ffabeca73ebf3636fd91651aeef780172a149fc1073471932ee5f9be023f23928b9e6d97b59b2a06ee190e651fc851679031abd84502875874
SHA512 (lambda-term-2.0.3.tar.gz) = 9dd78982eee114538a837a513d8970f064c2c83d81a6a0b66ff1dd9348f3a97601bbd6671c47dc37ab6b3b0bcf19791504eda7447afc7fc4b04e8fd9d2e88f9d