Version 1.3.0.

This commit is contained in:
Jerry James 2021-02-20 10:38:19 -07:00
parent 0de36dd2d3
commit 2d40dd04a7
3 changed files with 15 additions and 12 deletions

5
.gitignore vendored
View File

@ -1,5 +1,2 @@
/alcotest-*.tbz
/alcotest-1.1.0.tar.gz
/alcotest-1.2.1.tar.gz
/alcotest-1.2.2.tar.gz
/alcotest-1.2.3.tar.gz
/alcotest-*.tar.gz

View File

@ -4,15 +4,11 @@
# or indirectly. Therefore, we will only be able to build the other two in
# non-bootstrap mode.
%ifnarch %{ocaml_native_compiler}
%global debug_package %{nil}
%endif
%global srcname alcotest
Name: ocaml-%{srcname}
Version: 1.2.3
Release: 4%{?dist}
Version: 1.3.0
Release: 1%{?dist}
Summary: Lightweight and colorful test framework for OCaml
License: ISC
@ -67,6 +63,12 @@ developing applications that use %{name}.
# to generate the documentation.
dune build %{?_smp_mflags} -p alcotest
# Relink the stublibs with $RPM_LD_FLAGS.
cd _build/default/src
ocamlmklib -g -ldopt '%{build_ldflags}' -o alcotest_stubs \
$(ar t libalcotest_stubs.a)
cd -
%install
# For non-bootstrap builds, omit the "alcotest" on the end.
dune install --destdir=%{buildroot} alcotest
@ -98,12 +100,13 @@ dune runtest -j 1 -p alcotest
%{_libdir}/ocaml/%{srcname}/%{srcname}*.cmxs
%{_libdir}/ocaml/%{srcname}/engine/%{srcname}_engine*.cmxs
%endif
%{_libdir}/ocaml/stublibs/dllalcotest_stubs.so
%files devel
%{_libdir}/ocaml/%{srcname}/dune-package
%{_libdir}/ocaml/%{srcname}/opam
%ifarch %{ocaml_native_compiler}
%{_libdir}/ocaml/%{srcname}/%{srcname}*.a
%{_libdir}/ocaml/%{srcname}/*.a
%{_libdir}/ocaml/%{srcname}/%{srcname}*.cmx
%{_libdir}/ocaml/%{srcname}/%{srcname}*.cmxa
%{_libdir}/ocaml/%{srcname}/engine/%{srcname}_engine*.a
@ -118,6 +121,9 @@ dune runtest -j 1 -p alcotest
%{_libdir}/ocaml/%{srcname}/engine/*.mli
%changelog
* Tue Feb 16 2021 Jerry James <loganjerry@gmail.com> - 1.3.0-1
- Version 1.3.0
* Tue Feb 2 2021 Richard W.M. Jones <rjones@redhat.com> - 1.2.3-4
- Bump and rebuild for updated ocaml-camomile dep (RHBZ#1923853).

View File

@ -1 +1 @@
SHA512 (alcotest-1.2.3.tar.gz) = 0f3e2a5f56a17b6ddf5173d490b8a1aa2b23382bd0535d9d8be09fb8d4dd02dd1b92f9d00b957b11843d671262469e28b3be4f987538e373eb5e1f30c3a406a3
SHA512 (alcotest-1.3.0.tar.gz) = 0fe983b847332d3749b66e1f08661c3321cbaceb11f324496aaf44d4ff8c23b0ecc91a112cfb255dd011514e6d7e25cbb17f8470d89d16887670ae6055120c65