Version 2.9.0.

This commit is contained in:
Jerry James 2021-07-17 13:08:20 -06:00
parent e65929cbc6
commit 7d172c2d75
2 changed files with 11 additions and 9 deletions

View File

@ -5,8 +5,8 @@
%bcond_without menhir
Name: ocaml-%{libname}
Version: 2.8.5
Release: 2%{?dist}
Version: 2.9.0
Release: 1%{?dist}
Summary: A composable build system for OCaml
# Dune itself is MIT. Some bundled libraries have a different license:
@ -94,7 +94,11 @@ system, a mode to edit dune files, and flymake support for dune files.
%autosetup -n %{libname}-%{version} -p1
%build
./configure --libdir %{_libdir}/ocaml --mandir %{_mandir}
# Also set --docdir when we are ready to migrate all ocaml packages
./configure \
--etcdir %{_sysconfdir} \
--libdir %{_libdir}/ocaml \
--mandir %{_mandir}
# This command fails, because ppx_bench, ppx_expect, and core_bench are missing.
# However, it is only tests that fail, not the actual build, so ignore the
@ -116,11 +120,6 @@ cd -
# "make install" only installs the binary. We want the libraries, too.
./dune.exe install --destdir %{buildroot}
%ifarch %{ocaml_native_compiler}
# Add missing executable bits
find %{buildroot}%{_libdir}/ocaml -name \*.cmxs -exec chmod 0755 {} \+
%endif
# Byte compile the Emacs files
cd %{buildroot}%{_emacs_sitelispdir}
%_emacs_bytecompile dune.el dune-flymake.el
@ -210,6 +209,9 @@ cp -ar README.md CHANGES.md MIGRATION.md doc/_build/* %{buildroot}%{_pkgdocdir}/
%{_emacs_sitelispdir}/dune*
%changelog
* Sat Jul 17 2021 Jerry James <loganjerry@gmail.com> - 2.9.0-1
- Version 2.9.0
* Tue Mar 30 2021 Richard W.M. Jones <rjones@redhat.com> - 2.8.5-2
- Bump and rebuild for ELN.

View File

@ -1 +1 @@
SHA512 (dune-2.8.5.tar.gz) = 4d0d8611aeb945afdff4319d7195e3b84e1896e64010a2809ca59d3e0721eded3e7c560cf28ea19c93f5a82b1843d97165751060a6b2425c8db9a7cfc17d6e32
SHA512 (dune-2.9.0.tar.gz) = 1c3b64746b00215cd97b36c0f1c6e2416c9d15c795265634240e9da37e2c2fce02ab3c309a0cb967f9f20a5c6df14e943c3c2942c1a8f4743c3a19c699f4eb24