Olaf Hering
d0d41eff08
TL;DR: Required by opam2-rc2 - Update to version 1.0+beta20: * Add a documentation stanza. This stanza allows one to attach .mld files to opam packages. (#570 @rgrinberg) * Execute all actions (defined using (action ..)) in the context's environment. (#623 @rgrinberg) * Add a (universe) special dependency to specify that an action depend on everything in the universe. Jbuilder cannot cache the result of an action that depend on the universe (#603, fixes #255 @diml) * Add a (package <package>) dependency specification to indicate dependency on a whole package. Rules depending on whole package will be executed in an environment similar to the one we get once the package is installed (#624, @rgrinberg and @diml) * Display documentation in alphabetical order. This is relevant to packages, libraries, and modules. (#647, fixes #606 @rgrinberg). * Missing asm in ocaml -config on bytecode only architecture is no longer fatal. The same kind of fix is preemptively applied to C compilers being absent. (#646, fixes $637 @rgrinberg) * Use the host's PATH variable when running actions during cross compilation (#649, fixes #625 @rgrinberg) * Fix incorrect include (-I) flags being passed to odoc. These flags should be directories that include .odoc files, rather than the include flags of the libraries. (#652 fixes #651 @rgrinberg) * Fix a regression introduced by beta19 where the generated merlin files didn't include the right -ppx flags in some cases (#658 fixes #657 @diml) * Fix error message when a public library is defined twice. Before jbuilder would raise an uncaught exception (Fixes #661, @diml) * Fix several cases where external-lib-deps was returning too little dependencies (#667, fixes #644 @diml) * Place module list on own line in generated entry point mld (#670 @antron) * Cosmetic improvements to generated entry point mld (#653 @trefis) - Changes from previous releases: * See https://github.com/ocaml/dune/releases. OBS-URL: https://build.opensuse.org/request/show/613516 OBS-URL: https://build.opensuse.org/package/show/devel:languages:ocaml/ocaml-dune?expand=0&rev=7
59 lines
1.7 KiB
RPMSpec
59 lines
1.7 KiB
RPMSpec
#
|
|
# spec file for package ocaml-dune
|
|
#
|
|
# Copyright (c) 2018 SUSE LINUX GmbH, Nuernberg, Germany.
|
|
#
|
|
# All modifications and additions to the file contributed by third parties
|
|
# remain the property of their copyright owners, unless otherwise agreed
|
|
# upon. The license for this file, and modifications and additions to the
|
|
# file, is the same license as for the pristine package itself (unless the
|
|
# license for the pristine package is not an Open Source License, in which
|
|
# case the license is the MIT License). An "Open Source License" is a
|
|
# license that conforms to the Open Source Definition (Version 1.9)
|
|
# published by the Open Source Initiative.
|
|
|
|
# Please submit bugfixes or comments via http://bugs.opensuse.org/
|
|
#
|
|
|
|
|
|
Name: ocaml-dune
|
|
Version: 1.0+beta20
|
|
Release: 0
|
|
%{?ocaml_preserve_bytecode}
|
|
Summary: A composable build system for OCaml
|
|
License: Apache-2.0
|
|
Group: Development/Languages/OCaml
|
|
Url: https://github.com/ocaml/dune
|
|
Conflicts: ocaml-jbuilder
|
|
Conflicts: ocaml-jbuilder-debuginfo
|
|
Conflicts: ocaml-jbuilder-debugsource
|
|
Source: %{name}-%{version}.tar.xz
|
|
BuildRequires: ocaml
|
|
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
|
|
|
%description
|
|
A composable build system for OCaml
|
|
|
|
%prep
|
|
%setup -q
|
|
|
|
%build
|
|
sed -i~ s/ocamlopt/ocamlxxx/ bootstrap.ml
|
|
diff -u bootstrap.ml~ bootstrap.ml || : diff
|
|
make %{?_smp_mflags} PREFIX=%{_prefix}
|
|
|
|
%install
|
|
mkdir -p %{buildroot}%{_bindir}
|
|
mkdir -p %{buildroot}%{_mandir}/man1
|
|
cp -av _build/default/bin/main.exe %{buildroot}%{_bindir}/dune
|
|
ln -sfvbn dune %{buildroot}%{_bindir}/jbuilder
|
|
cp -av _build/default/doc/*.1 %{buildroot}%{_mandir}/man1/
|
|
|
|
%files
|
|
%defattr(-,root,root)
|
|
%doc CHANGES.md README.md LICENSE.md
|
|
%{_bindir}/*
|
|
%{_mandir}/*/*
|
|
|
|
%changelog
|