Compare commits
58 commits
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
06a86cad81 | ||
|
|
146142d656 | ||
|
|
836822abda | ||
|
|
2f3375545a | ||
|
|
890a33a2d0 | ||
|
|
493ce7b7ef | ||
|
|
fdd91af0d8 | ||
|
|
f7bd4f2975 | ||
|
|
85859ce6f2 | ||
|
|
44d69f6b11 | ||
|
|
3025091edc | ||
|
|
bdff9da145 | ||
|
|
5e00b46ccb | ||
|
|
65b81cbfb7 | ||
|
|
8a80202e94 | ||
|
|
30f268210d | ||
|
|
e8b7e3898e | ||
|
|
7eb99c9abe | ||
|
|
0f09d23f58 | ||
|
|
cfc02b42ca | ||
|
|
a5e7a8cbbe | ||
|
|
3a29ce3a6d | ||
|
|
684f60e3d0 | ||
|
|
6a01d90761 | ||
|
|
cb1ce5ff91 | ||
|
|
5923869db8 | ||
|
|
7da3dbf488 | ||
|
|
58c31cc982 | ||
|
|
f0c1c80838 | ||
|
|
16fed01b22 | ||
|
|
954cd5a48a | ||
|
|
30e1a15ea4 | ||
|
|
2b749b0551 | ||
|
|
7835ceec6d | ||
|
|
c42fdafe27 | ||
|
|
b25a690073 | ||
|
|
77a25cee8c | ||
|
|
326a9c68d2 | ||
|
|
594b95bea5 | ||
|
|
89b356be90 | ||
|
|
880cc573d3 | ||
|
|
b6e079d202 | ||
|
|
5515cdc0e9 | ||
|
|
3555f12da5 | ||
|
|
a5fccffcba | ||
|
|
7297f1f8dd | ||
|
|
63aa62e5c3 | ||
|
|
84eda40037 | ||
|
|
0e8d9a2ae7 | ||
|
|
3631ce9297 | ||
|
|
ba5707b2bd | ||
|
|
946f11170e | ||
|
|
28ee4aaef9 | ||
|
|
cfd816c53a | ||
|
|
7995f539ab | ||
|
|
2d82b286c5 | ||
|
|
cf706e9f8c | ||
|
|
50825add7a |
9 changed files with 322 additions and 81 deletions
1
.fmf/version
Normal file
1
.fmf/version
Normal file
|
|
@ -0,0 +1 @@
|
|||
1
|
||||
6
gating.yaml
Executable file
6
gating.yaml
Executable file
|
|
@ -0,0 +1,6 @@
|
|||
--- !Policy
|
||||
product_versions:
|
||||
- rhel-*
|
||||
decision_context: osci_compose_gate
|
||||
rules:
|
||||
- !PassingTestCaseRule {test_case_name: osci.brew-build.tier0.functional}
|
||||
11
ocaml-dune-debuginfo.patch
Normal file
11
ocaml-dune-debuginfo.patch
Normal file
|
|
@ -0,0 +1,11 @@
|
|||
--- dune-3.20.0/src/dune_lang/dune_project.ml.orig 2025-08-19 00:28:44.000000000 -0600
|
||||
+++ dune-3.20.0/src/dune_lang/dune_project.ml 2025-08-21 20:42:51.793195598 -0600
|
||||
@@ -425,7 +425,7 @@ let interpret_lang_and_extensions ~(lang
|
||||
let filename = "dune-project"
|
||||
let opam_file_location_default ~lang:_ = `Relative_to_project
|
||||
let wrapped_executables_default ~(lang : Lang.Instance.t) = lang.version >= (2, 0)
|
||||
-let map_workspace_root_default ~(lang : Lang.Instance.t) = lang.version >= (3, 0)
|
||||
+let map_workspace_root_default ~(lang : Lang.Instance.t) = false
|
||||
|
||||
let executables_implicit_empty_intf_default ~(lang : Lang.Instance.t) =
|
||||
lang.version >= (3, 0)
|
||||
|
|
@ -1,6 +1,6 @@
|
|||
--- dune-3.3.1/dune.orig 2022-06-19 11:20:42.000000000 -0600
|
||||
+++ dune-3.3.1/dune 2022-06-25 13:22:05.768505945 -0600
|
||||
@@ -26,9 +26,6 @@
|
||||
--- dune-3.15.0/dune-file.orig 2024-04-03 03:29:40.000000000 -0600
|
||||
+++ dune-3.15.0/dune-file 2024-04-05 08:48:56.083804773 -0600
|
||||
@@ -30,9 +30,6 @@
|
||||
(copy dune-private-libs.opam.template ordering.opam.template))
|
||||
|
||||
(rule
|
||||
|
|
@ -10,9 +10,9 @@
|
|||
(copy dune-private-libs.opam.template fiber.opam.template))
|
||||
|
||||
(rule
|
||||
--- dune-3.3.1/dune-project.orig 2022-06-19 11:20:42.000000000 -0600
|
||||
+++ dune-3.3.1/dune-project 2022-06-25 13:24:12.903696002 -0600
|
||||
@@ -144,17 +144,6 @@ understood by dune language."))
|
||||
--- dune-3.15.0/dune-project.orig 2024-04-03 03:29:40.000000000 -0600
|
||||
+++ dune-3.15.0/dune-project 2024-04-05 08:49:50.546090649 -0600
|
||||
@@ -149,16 +149,6 @@ understood by dune language."))
|
||||
(description "Library to connect and control a running dune instance"))
|
||||
|
||||
(package
|
||||
|
|
@ -20,9 +20,8 @@
|
|||
- (synopsis "Communicate with dune using rpc and Lwt")
|
||||
- (depends
|
||||
- (dune-rpc (= :version))
|
||||
- (result (>= 1.5))
|
||||
- (csexp (>= 1.5.0))
|
||||
- (lwt (>= 5.3.0))
|
||||
- (lwt (>= 5.6.0))
|
||||
- base-unix)
|
||||
- (description "Specialization of dune-rpc to Lwt"))
|
||||
-
|
||||
|
|
|
|||
350
ocaml-dune.spec
350
ocaml-dune.spec
|
|
@ -3,65 +3,108 @@
|
|||
# checkout, and has access to the Internet. We cannot satisfy any of these
|
||||
# conditions on a koji builder, so we do not run the test suite.
|
||||
|
||||
%undefine _package_note_flags
|
||||
|
||||
# One of the dune libraries now depends on lwt. We do not currently need that
|
||||
# library in Fedora, so don't build it.
|
||||
%bcond_with lwt
|
||||
%bcond lwt 0
|
||||
|
||||
# docs are not needed in RHEL, and add unwanted build dependencies
|
||||
%bcond docs %{undefined rhel}
|
||||
|
||||
%global giturl https://github.com/ocaml/dune
|
||||
|
||||
Name: ocaml-dune
|
||||
Version: 3.6.1
|
||||
Release: 1%{?dist}
|
||||
Version: 3.20.2
|
||||
Release: 2%{?dist}
|
||||
Summary: Composable build system for OCaml and Reason
|
||||
|
||||
# Dune itself is MIT. Some bundled libraries have a different license:
|
||||
# BSD-2-Clause:
|
||||
# - vendor/ocaml-blake3-mini
|
||||
# ISC:
|
||||
# - vendor/cmdliner
|
||||
# LGPL-2.0-only:
|
||||
# - vendor/notty
|
||||
# - vendor/sha
|
||||
# - vendor/uutf
|
||||
# LGPL-2.1-only:
|
||||
# - vendor/incremental-cycles
|
||||
# LGPL-2.0-only WITH OCaml-LGPL-linking-exception
|
||||
# LGPL-2.1-only WITH OCaml-LGPL-linking-exception
|
||||
# - vendor/ocaml-inotify
|
||||
# - vendor/opam
|
||||
# - vendor/opam-file-format
|
||||
# - vendor/re
|
||||
# LGPL-2.1-or-later
|
||||
# - src/dune_pkg/opam_solver.*
|
||||
# - src/sat/hash_set.*
|
||||
# - src/sat/sat.*
|
||||
# MIT:
|
||||
# - vendor/build_path_prefix_map
|
||||
# - vendor/lwd
|
||||
# - vendor/spawn
|
||||
License: MIT AND ISC AND LGPL-2.0-only AND LGPL-2.0-only WITH OCaml-LGPL-linking-exception
|
||||
License: MIT AND BSD-2-Clause AND ISC AND LGPL-2.1-only AND LGPL-2.1-only WITH OCaml-LGPL-linking-exception AND LGPL-2.1-or-later
|
||||
URL: https://dune.build
|
||||
Source0: https://github.com/ocaml/dune/archive/%{version}/dune-%{version}.tar.gz
|
||||
VCS: git:%{giturl}.git
|
||||
Source: %{giturl}/archive/%{version}/dune-%{version}.tar.gz
|
||||
# When building without lwt, remove libraries that need it
|
||||
Patch0: %{name}-no-lwt.patch
|
||||
# Temporary workaround for broken debuginfo (rhbz#2168932)
|
||||
# See https://github.com/ocaml/dune/issues/6929
|
||||
Patch1: %{name}-debuginfo.patch
|
||||
|
||||
BuildRequires: emacs-nox
|
||||
# OCaml packages not built on i686 since OCaml 5 / Fedora 39.
|
||||
ExcludeArch: %{ix86}
|
||||
|
||||
BuildRequires: emacs-nw
|
||||
BuildRequires: make
|
||||
BuildRequires: ocaml >= 4.08
|
||||
BuildRequires: ocaml-compiler-libs
|
||||
%if !0%{?rhel}
|
||||
BuildRequires: ocaml-csexp-devel >= 1.5.0
|
||||
BuildRequires: ocaml-pp-devel >= 1.1.0
|
||||
BuildRequires: ocaml-pp-devel >= 2.0.0
|
||||
%endif
|
||||
BuildRequires: ocaml-rpm-macros
|
||||
|
||||
%if %{with docs}
|
||||
BuildRequires: %{py3_dist furo}
|
||||
BuildRequires: %{py3_dist myst-parser}
|
||||
BuildRequires: %{py3_dist sphinx}
|
||||
BuildRequires: %{py3_dist sphinx-rtd-theme}
|
||||
BuildRequires: %{py3_dist sphinx-copybutton}
|
||||
BuildRequires: %{py3_dist sphinx-design}
|
||||
%endif
|
||||
|
||||
%if %{with lwt}
|
||||
BuildRequires: ocaml-lwt-devel
|
||||
BuildRequires: ocaml-lwt-devel >= 5.6.0
|
||||
%endif
|
||||
|
||||
# Dune has vendored deps to avoid dependency cycles. Upstream deliberately
|
||||
# does not support unbundling these dependencies.
|
||||
# See https://github.com/ocaml/dune/issues/220
|
||||
Provides: bundled(ocaml-build-path-prefix-map) = 0.2
|
||||
Provides: bundled(ocaml-cmdliner) = 1.1.1
|
||||
Provides: bundled(ocaml-build-path-prefix-map) = 0.3
|
||||
Provides: bundled(ocaml-cmdliner) = 1.2.0
|
||||
Provides: bundled(ocaml-incremental-cycles) = 1e2030a5d5183d84561cde142eecca40e03db2a3
|
||||
Provides: bundled(ocaml-inotify) = 2.3
|
||||
Provides: bundled(ocaml-opam-file-format) = 2.0.0
|
||||
Provides: bundled(ocaml-re) = 1.9.0
|
||||
Provides: bundled(ocaml-lwd) = 0.3
|
||||
Provides: bundled(ocaml-notty) = 0.2.3
|
||||
Provides: bundled(ocaml-blake3-mini) = c6aa40e5f1973c2e6b736660ce2c8dcd3b3f9c9f
|
||||
Provides: bundled(ocaml-opam) = 2.2.0
|
||||
Provides: bundled(ocaml-opam-file-format) = 2.1.6
|
||||
Provides: bundled(ocaml-re) = 1.11.0
|
||||
Provides: bundled(ocaml-sha) = 1.15.4
|
||||
Provides: bundled(ocaml-spawn) = 0.15.1
|
||||
Provides: bundled(ocaml-uutf) = 1.0.3
|
||||
|
||||
Provides: dune = %{version}-%{release}
|
||||
|
||||
# This is needed for the dune-related RPM macros
|
||||
Requires: python3
|
||||
Requires: ocaml-rpm-macros
|
||||
|
||||
# Both packages install a binary named dune and an associated man page
|
||||
Conflicts: wdune
|
||||
# The dune rules module requires Toploop
|
||||
Requires: ocaml-compiler-libs%{?_isa}
|
||||
|
||||
# This can be removed when F42 reaches EOL
|
||||
Obsoletes: ocaml-fiber < 3.7.0
|
||||
Obsoletes: ocaml-fiber-devel < 3.7.0
|
||||
Provides: ocaml-fiber = %{version}-%{release}
|
||||
Provides: ocaml-fiber-devel = %{version}-%{release}
|
||||
|
||||
# Install documentation in the main package doc directory
|
||||
%global _docdir_fmt %{name}
|
||||
|
|
@ -77,10 +120,10 @@ adapted to the open source world. It has matured over a long time and is used
|
|||
daily by hundred of developers, which means that it is highly tested and
|
||||
productive.
|
||||
|
||||
%if %{with docs}
|
||||
%package doc
|
||||
# The content is MIT. Other licenses are due to files added by sphinx.
|
||||
# BSD-2-Clause:
|
||||
# - _static/_sphinx_javascript_frameworks_compat.js
|
||||
# - _static/basic.css
|
||||
# - _static/doctools.js
|
||||
# - _static/documentation_options.js
|
||||
|
|
@ -91,19 +134,23 @@ productive.
|
|||
# - _static/searchtools.js
|
||||
# - _static/sphinx_highlight.js
|
||||
# MIT:
|
||||
# - _static/check-solid.svg
|
||||
# - _static/clipboard.min.js
|
||||
# - _static/copy-button.svg
|
||||
# - _static/copybutton.css
|
||||
# - _static/copybutton.js
|
||||
# - _static/copybutton_funcs.js
|
||||
# - _static/design-style.*.min.css
|
||||
# - _static/design-tabs.js
|
||||
# - _static/css
|
||||
# - _static/jquery*
|
||||
# - _static/js
|
||||
# - _static/underscore*
|
||||
License: MIT AND BSD-2-Clause
|
||||
Summary: HTML documentation for %{name}
|
||||
BuildArch: noarch
|
||||
|
||||
Provides: bundled(js-jquery) = 3.6.0
|
||||
Provides: bundled(js-underscore) = 1.13.1
|
||||
|
||||
%description doc
|
||||
HTML documentation for dune, a composable build system for OCaml.
|
||||
%endif
|
||||
|
||||
%package emacs
|
||||
Summary: Emacs support for %{name}
|
||||
|
|
@ -122,8 +169,11 @@ system, a mode to edit dune files, and flymake support for dune files.
|
|||
%package action-plugin
|
||||
Summary: API for writing dynamic dune actions
|
||||
License: MIT
|
||||
Requires: %{name}%{?_isa} = %{version}-%{release}
|
||||
Requires: %{name}-glob%{?_isa} = %{version}-%{release}
|
||||
Requires: %{name}-rpc%{?_isa} = %{version}-%{release}
|
||||
Requires: ocaml-dyn%{?_isa} = %{version}-%{release}
|
||||
Requires: ocaml-ordering%{?_isa} = %{version}-%{release}
|
||||
Requires: ocaml-stdune%{?_isa} = %{version}-%{release}
|
||||
|
||||
%description action-plugin
|
||||
This experimental library provides an API for writing dynamic Dune
|
||||
|
|
@ -136,6 +186,14 @@ Summary: Development files for %{name}-action-plugin
|
|||
License: MIT
|
||||
Requires: %{name}-action-plugin%{?_isa} = %{version}-%{release}
|
||||
Requires: %{name}-glob-devel%{?_isa} = %{version}-%{release}
|
||||
Requires: %{name}-rpc-devel%{?_isa} = %{version}-%{release}
|
||||
Requires: ocaml-dyn-devel%{?_isa} = %{version}-%{release}
|
||||
Requires: ocaml-ordering-devel%{?_isa} = %{version}-%{release}
|
||||
Requires: ocaml-stdune-devel%{?_isa} = %{version}-%{release}
|
||||
%if !0%{?rhel}
|
||||
Requires: ocaml-csexp-devel%{?_isa}
|
||||
Requires: ocaml-pp-devel%{?_isa}
|
||||
%endif
|
||||
|
||||
%description action-plugin-devel
|
||||
The ocaml-dune-action-plugin-devel package contains libraries and
|
||||
|
|
@ -145,7 +203,6 @@ ocaml-dune-action-plugin.
|
|||
%package build-info
|
||||
Summary: Embed build information in an executable
|
||||
License: MIT
|
||||
Requires: %{name}%{?_isa} = %{version}-%{release}
|
||||
|
||||
%description build-info
|
||||
The build-info library allows access to information about how an
|
||||
|
|
@ -166,7 +223,6 @@ files for developing applications that use ocaml-dune-build-info.
|
|||
%package configurator
|
||||
Summary: Helper library for gathering system configuration
|
||||
License: MIT
|
||||
Requires: %{name}%{?_isa} = %{version}-%{release}
|
||||
Requires: ocaml-stdune%{?_isa} = %{version}-%{release}
|
||||
|
||||
%description configurator
|
||||
|
|
@ -185,10 +241,9 @@ Summary: Development files for %{name}-configurator
|
|||
License: MIT
|
||||
Requires: %{name}-configurator%{?_isa} = %{version}-%{release}
|
||||
Requires: ocaml-stdune-devel%{?_isa} = %{version}-%{release}
|
||||
|
||||
# This can be removed when F40 reaches EOL
|
||||
Obsoletes: %{name}-devel < 2.9.1-4
|
||||
Provides: %{name}-devel = %{version}-%{release}
|
||||
%if !0%{?rhel}
|
||||
Requires: ocaml-csexp-devel%{?_isa}
|
||||
%endif
|
||||
|
||||
%description configurator-devel
|
||||
The ocaml-dune-configurator-devel package contains libraries and
|
||||
|
|
@ -198,8 +253,9 @@ ocaml-dune-configurator.
|
|||
%package glob
|
||||
Summary: Parser and interpreter for dune language globs
|
||||
License: MIT
|
||||
Requires: %{name}%{?_isa} = %{version}-%{release}
|
||||
Requires: %{name}-private-libs%{?_isa} = %{version}-%{release}
|
||||
Requires: ocaml-dyn%{?_isa} = %{version}-%{release}
|
||||
Requires: ocaml-ordering%{?_isa} = %{version}-%{release}
|
||||
Requires: ocaml-stdune%{?_isa} = %{version}-%{release}
|
||||
|
||||
%description glob
|
||||
|
|
@ -211,7 +267,12 @@ Summary: Development files for %{name}-glob
|
|||
License: MIT
|
||||
Requires: %{name}-glob%{?_isa} = %{version}-%{release}
|
||||
Requires: %{name}-private-libs-devel%{?_isa} = %{version}-%{release}
|
||||
Requires: ocaml-dyn-devel%{?_isa} = %{version}-%{release}
|
||||
Requires: ocaml-ordering-devel%{?_isa} = %{version}-%{release}
|
||||
Requires: ocaml-stdune-devel%{?_isa} = %{version}-%{release}
|
||||
%if !0%{?rhel}
|
||||
Requires: ocaml-pp-devel%{?_isa}
|
||||
%endif
|
||||
|
||||
%description glob-devel
|
||||
The ocaml-dune-glob-devel package contains libraries and signature files
|
||||
|
|
@ -220,8 +281,6 @@ for developing applications that use ocaml-dune-glob.
|
|||
%package private-libs
|
||||
Summary: Private dune libraries
|
||||
License: MIT
|
||||
Requires: %{name}%{?_isa} = %{version}-%{release}
|
||||
Requires: ocaml-stdune%{?_isa} = %{version}-%{release}
|
||||
|
||||
%description private-libs
|
||||
This package contains code that is shared between various dune-xxx
|
||||
|
|
@ -232,7 +291,6 @@ no stability guarantee.
|
|||
Summary: Development files for %{name}-private-libs
|
||||
License: MIT
|
||||
Requires: %{name}-private-libs%{?_isa} = %{version}-%{release}
|
||||
Requires: ocaml-dyn-devel%{?_isa} = %{version}-%{release}
|
||||
|
||||
%description private-libs-devel
|
||||
The ocaml-dune-private-libs-devel package contains libraries and
|
||||
|
|
@ -241,7 +299,8 @@ signature files for other dune packages. Do not use.
|
|||
%package rpc
|
||||
Summary: Communicate with dune using rpc
|
||||
License: MIT
|
||||
Requires: %{name}%{?_isa} = %{version}-%{release}
|
||||
Requires: ocaml-dyn%{?_isa} = %{version}-%{release}
|
||||
Requires: ocaml-ordering%{?_isa} = %{version}-%{release}
|
||||
Requires: ocaml-stdune%{?_isa} = %{version}-%{release}
|
||||
Requires: ocaml-xdg%{?_isa} = %{version}-%{release}
|
||||
|
||||
|
|
@ -252,8 +311,14 @@ This package contains a library used to communicate with dune over rpc.
|
|||
Summary: Development files for %{name}-rpc
|
||||
License: MIT
|
||||
Requires: %{name}-rpc%{?_isa} = %{version}-%{release}
|
||||
Requires: ocaml-dyn-devel%{?_isa} = %{version}-%{release}
|
||||
Requires: ocaml-ordering-devel%{?_isa} = %{version}-%{release}
|
||||
Requires: ocaml-stdune-devel%{?_isa} = %{version}-%{release}
|
||||
Requires: ocaml-xdg-devel%{?_isa} = %{version}-%{release}
|
||||
%if !0%{?rhel}
|
||||
Requires: ocaml-csexp-devel%{?_isa}
|
||||
Requires: ocaml-pp-devel%{?_isa}
|
||||
%endif
|
||||
|
||||
%description rpc-devel
|
||||
The ocaml-dune-rpc-devel package contains libraries and signature files
|
||||
|
|
@ -263,7 +328,6 @@ for developing applications that use ocaml-rpc.
|
|||
%package rpc-lwt
|
||||
Summary: Communicate with dune using rpc and Lwt
|
||||
License: MIT
|
||||
Requires: %{name}%{?_isa} = %{version}-%{release}
|
||||
Requires: %{name}-rpc%{?_isa} = %{version}-%{release}
|
||||
|
||||
%description rpc-lwt
|
||||
|
|
@ -275,9 +339,10 @@ Summary: Development files for %{name}-rpc-lwt
|
|||
License: MIT
|
||||
Requires: %{name}-rpc-lwt%{?_isa} = %{version}-%{release}
|
||||
Requires: %{name}-rpc-devel%{?_isa} = %{version}-%{release}
|
||||
%if !0%{?rhel}
|
||||
Requires: ocaml-csexp-devel%{?_isa}
|
||||
%endif
|
||||
Requires: ocaml-lwt-devel%{?_isa}
|
||||
Requires: ocaml-result-devel%{?_isa}
|
||||
|
||||
%description rpc-lwt-devel
|
||||
The ocaml-dune-rpc-lwt-devel package contains libraries and signature
|
||||
|
|
@ -287,7 +352,6 @@ files for developing applications that use ocaml-rpc-lwt.
|
|||
%package site
|
||||
Summary: Embed location information inside executables and libraries
|
||||
License: MIT
|
||||
Requires: %{name}%{?_isa} = %{version}-%{release}
|
||||
Requires: %{name}-private-libs%{?_isa} = %{version}-%{release}
|
||||
|
||||
%description site
|
||||
|
|
@ -307,7 +371,6 @@ for developing applications that use ocaml-dune-site.
|
|||
%package -n ocaml-chrome-trace
|
||||
Summary: Chrome trace event generation library
|
||||
License: MIT
|
||||
Requires: %{name}%{?_isa} = %{version}-%{release}
|
||||
|
||||
%description -n ocaml-chrome-trace
|
||||
Library to output trace data to a file in Chrome's trace_event format.
|
||||
|
|
@ -326,7 +389,6 @@ developing applications that use ocaml-dyn.
|
|||
%package -n ocaml-dyn
|
||||
Summary: Dynamic types
|
||||
License: MIT
|
||||
Requires: %{name}%{?_isa} = %{version}-%{release}
|
||||
Requires: ocaml-ordering%{?_isa} = %{version}-%{release}
|
||||
|
||||
%description -n ocaml-dyn
|
||||
|
|
@ -337,35 +399,14 @@ Summary: Development files for ocaml-dyn
|
|||
License: MIT
|
||||
Requires: ocaml-dyn%{?_isa} = %{version}-%{release}
|
||||
Requires: ocaml-ordering-devel%{?_isa} = %{version}-%{release}
|
||||
Requires: ocaml-pp-devel%{?_isa}
|
||||
|
||||
%description -n ocaml-dyn-devel
|
||||
The ocaml-dyn-devel package contains libraries and signature files for
|
||||
developing applications that use ocaml-dyn.
|
||||
|
||||
%package -n ocaml-fiber
|
||||
Summary: Structured concurrency library
|
||||
License: MIT
|
||||
Requires: %{name}%{?_isa} = %{version}-%{release}
|
||||
Requires: ocaml-stdune%{?_isa} = %{version}-%{release}
|
||||
|
||||
%description -n ocaml-fiber
|
||||
A structured concurrency library for OCaml.
|
||||
|
||||
%package -n ocaml-fiber-devel
|
||||
Summary: Development files for ocaml-fiber
|
||||
License: MIT
|
||||
Requires: ocaml-fiber%{?_isa} = %{version}-%{release}
|
||||
Requires: ocaml-stdune-devel%{?_isa} = %{version}-%{release}
|
||||
|
||||
%description -n ocaml-fiber-devel
|
||||
The ocaml-fiber-devel package contains libraries and signature files for
|
||||
developing applications that use ocaml-fiber.
|
||||
|
||||
%package -n ocaml-ocamlc-loc
|
||||
Summary: Parse OCaml compiler output into structured form
|
||||
License: MIT
|
||||
Requires: %{name}%{?_isa} = %{version}-%{release}
|
||||
Requires: ocaml-dyn%{?_isa} = %{version}-%{release}
|
||||
|
||||
%description -n ocaml-ocamlc-loc
|
||||
|
|
@ -384,7 +425,6 @@ for developing applications that use ocaml-ocamlc-loc.
|
|||
%package -n ocaml-ordering
|
||||
Summary: Element ordering
|
||||
License: MIT
|
||||
Requires: %{name}%{?_isa} = %{version}-%{release}
|
||||
|
||||
%description -n ocaml-ordering
|
||||
Element ordering in OCaml.
|
||||
|
|
@ -401,8 +441,8 @@ for developing applications that use ocaml-ordering.
|
|||
%package -n ocaml-stdune
|
||||
Summary: Dune's unstable standard library
|
||||
License: MIT
|
||||
Requires: %{name}%{?_isa} = %{version}-%{release}
|
||||
Requires: ocaml-dyn%{?_isa} = %{version}-%{release}
|
||||
Requires: ocaml-ordering%{?_isa} = %{version}-%{release}
|
||||
|
||||
%description -n ocaml-stdune
|
||||
This package contains Dune's unstable standard library.
|
||||
|
|
@ -412,7 +452,11 @@ Summary: Development files for ocaml-stdune
|
|||
License: MIT
|
||||
Requires: ocaml-stdune%{?_isa} = %{version}-%{release}
|
||||
Requires: ocaml-dyn-devel%{?_isa} = %{version}-%{release}
|
||||
Requires: ocaml-ordering-devel%{?_isa} = %{version}-%{release}
|
||||
%if !0%{?rhel}
|
||||
Requires: ocaml-csexp-devel%{?_isa}
|
||||
Requires: ocaml-pp-devel%{?_isa}
|
||||
%endif
|
||||
|
||||
%description -n ocaml-stdune-devel
|
||||
The ocaml-stdune-devel package contains libraries and signature files
|
||||
|
|
@ -421,7 +465,6 @@ for developing applications that use ocaml-stdune.
|
|||
%package -n ocaml-xdg
|
||||
Summary: XDG Base Directory Specification
|
||||
License: MIT
|
||||
Requires: %{name}%{?_isa} = %{version}-%{release}
|
||||
|
||||
%description -n ocaml-xdg
|
||||
This package contains the XDG Base Directory Specification.
|
||||
|
|
@ -438,12 +481,14 @@ developing applications that use ocaml-xdg.
|
|||
%prep
|
||||
%autosetup -N -n dune-%{version}
|
||||
%if %{without lwt}
|
||||
%patch0 -p1
|
||||
%autopatch 0 -p1
|
||||
rm -fr otherlibs/dune-rpc-lwt dune-rpc-lwt.opam
|
||||
%endif
|
||||
%autopatch -m1 -p1
|
||||
|
||||
%build
|
||||
./configure \
|
||||
--prefix %{_prefix} \
|
||||
--bindir %{_bindir} \
|
||||
--datadir %{_datadir} \
|
||||
--docdir %{_prefix}/doc \
|
||||
|
|
@ -454,11 +499,15 @@ rm -fr otherlibs/dune-rpc-lwt dune-rpc-lwt.opam
|
|||
--sbindir %{_sbindir}
|
||||
|
||||
%make_build release
|
||||
%if %{with docs}
|
||||
%make_build doc
|
||||
%endif
|
||||
|
||||
# We also want the libraries
|
||||
%if !0%{?rhel}
|
||||
# Do not use the bundled csexp and pp when building them
|
||||
rm -fr vendor/{csexp,pp}
|
||||
%endif
|
||||
./dune.exe build %{?_smp_mflags} --verbose --release @install
|
||||
|
||||
%install
|
||||
|
|
@ -484,8 +533,10 @@ cd -
|
|||
%{_bindir}/dune
|
||||
%{_mandir}/man*/dune*
|
||||
|
||||
%if %{with docs}
|
||||
%files doc
|
||||
%doc doc/_build/*
|
||||
%endif
|
||||
|
||||
%files emacs
|
||||
%{_emacs_sitelispdir}/dune*
|
||||
|
|
@ -536,10 +587,6 @@ cd -
|
|||
|
||||
%files -n ocaml-dyn-devel -f .ofiles-dyn-devel
|
||||
|
||||
%files -n ocaml-fiber -f .ofiles-fiber
|
||||
|
||||
%files -n ocaml-fiber-devel -f .ofiles-fiber-devel
|
||||
|
||||
%files -n ocaml-ocamlc-loc -f .ofiles-ocamlc-loc
|
||||
|
||||
%files -n ocaml-ocamlc-loc-devel -f .ofiles-ocamlc-loc-devel
|
||||
|
|
@ -557,6 +604,165 @@ cd -
|
|||
%files -n ocaml-xdg-devel -f .ofiles-xdg-devel
|
||||
|
||||
%changelog
|
||||
* Mon Oct 13 2025 Richard W.M. Jones <rjones@redhat.com> - 3.20.2-2
|
||||
- OCaml 5.4.0 rebuild
|
||||
|
||||
* Tue Sep 16 2025 Jerry James <loganjerry@gmail.com> - 3.20.2-1
|
||||
- Version 3.20.2
|
||||
|
||||
* Mon Aug 25 2025 Jerry James <loganjerry@gmail.com> - 3.20.1-1
|
||||
- Version 3.20.1
|
||||
|
||||
* Fri Aug 22 2025 Jerry James <loganjerry@gmail.com> - 3.20.0-1
|
||||
- Version 3.20.0
|
||||
|
||||
* Wed Jul 23 2025 Jerry James <loganjerry@gmail.com> - 3.19.1-2
|
||||
- Migrate tests from STI to TMT (rhbz#2382985)
|
||||
|
||||
* Wed Jun 11 2025 Jerry James <loganjerry@gmail.com> - 3.19.1-1
|
||||
- Version 3.19.1
|
||||
|
||||
* Fri May 23 2025 Jerry James <loganjerry@gmail.com> - 3.19.0-1
|
||||
- Version 3.19.0
|
||||
|
||||
* Fri May 02 2025 Jerry James <loganjerry@gmail.com> - 3.18.2-1
|
||||
- Version 3.18.2
|
||||
|
||||
* Fri Apr 18 2025 Jerry James <loganjerry@gmail.com> - 3.18.1-1
|
||||
- Version 3.18.1
|
||||
|
||||
* Thu Apr 3 2025 Jerry James <loganjerry@gmail.com> - 3.18.0-1
|
||||
- Version 3.18.0
|
||||
|
||||
* Thu Jan 23 2025 Jerry James <loganjerry@gmail.com> - 3.17.2-1
|
||||
- Version 3.17.2
|
||||
|
||||
* Fri Jan 17 2025 Fedora Release Engineering <releng@fedoraproject.org> - 3.17.1-2
|
||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_42_Mass_Rebuild
|
||||
|
||||
* Thu Dec 26 2024 Jerry James <loganjerry@gmail.com> - 3.17.1-1
|
||||
- Version 3.17.1
|
||||
- Update License field for changes in vendored dependencies
|
||||
- Drop upstreamed furo theme patch
|
||||
|
||||
* Thu Oct 31 2024 Jerry James <loganjerry@gmail.com> - 3.16.1-1
|
||||
- Version 3.16.1
|
||||
|
||||
* Thu Oct 10 2024 Charalampos Stratakis <cstratak@redhat.com> - 3.16.0-5
|
||||
- Use the furo theme for docs build
|
||||
|
||||
* Tue Oct 08 2024 Richard W.M. Jones <rjones@redhat.com> - 3.16.0-4
|
||||
- Rebuild for ocaml-lwt 5.8.0
|
||||
|
||||
* Thu Jul 18 2024 Fedora Release Engineering <releng@fedoraproject.org> - 3.16.0-3
|
||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_41_Mass_Rebuild
|
||||
|
||||
* Wed Jun 19 2024 Richard W.M. Jones <rjones@redhat.com> - 3.16.0-2
|
||||
- OCaml 5.2.0 ppc64le fix
|
||||
|
||||
* Mon Jun 17 2024 Jerry James <loganjerry@gmail.com> - 3.16.0-1
|
||||
- Version 3.16.0
|
||||
|
||||
* Wed May 29 2024 Richard W.M. Jones <rjones@redhat.com> - 3.15.3-2
|
||||
- OCaml 5.2.0 for Fedora 41
|
||||
|
||||
* Mon May 27 2024 Jerry James <loganjerry@gmail.com> - 3.15.3-1
|
||||
- Version 3.15.3
|
||||
|
||||
* Wed May 15 2024 Richard W.M. Jones <rjones@redhat.com> - 3.15.2-2
|
||||
- Use bundled ocaml-csexp and ocaml-pp (RHEL only)
|
||||
|
||||
* Wed Apr 24 2024 Jerry James <loganjerry@gmail.com> - 3.15.2-1
|
||||
- Version 3.15.2
|
||||
|
||||
* Thu Apr 18 2024 Jerry James <loganjerry@gmail.com> - 3.15.1-1
|
||||
- Version 3.15.1
|
||||
|
||||
* Mon Apr 08 2024 Yaakov Selkowitz <yselkowi@redhat.com> - 3.15.0-2
|
||||
- Disable docs in RHEL builds
|
||||
|
||||
* Fri Apr 5 2024 Jerry James <loganjerry@gmail.com> - 3.15.0-1
|
||||
- Version 3.15.0
|
||||
|
||||
* Thu Mar 14 2024 Jerry James <loganjerry@gmail.com> - 3.14.2-1
|
||||
- Version 3.14.2
|
||||
|
||||
* Wed Feb 14 2024 Jerry James <loganjerry@gmail.com> - 3.14.0-1
|
||||
- Version 3.14.0
|
||||
|
||||
* Tue Feb 6 2024 Jerry James <loganjerry@gmail.com> - 3.13.1-1
|
||||
- Version 3.13.1
|
||||
|
||||
* Fri Feb 2 2024 Jerry James <loganjerry@gmail.com> - 3.13.0-3
|
||||
- Rebuild for changed ocamlx(Dynlink) hash
|
||||
|
||||
* Thu Jan 25 2024 Fedora Release Engineering <releng@fedoraproject.org> - 3.13.0-2
|
||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_40_Mass_Rebuild
|
||||
|
||||
* Sat Jan 20 2024 Jerry James <loganjerry@gmail.com> - 3.13.0-1
|
||||
- Version 3.13.0
|
||||
|
||||
* Tue Jan 9 2024 Jerry James <loganjerry@gmail.com> - 3.12.2-1
|
||||
- Version 3.12.2
|
||||
|
||||
* Mon Dec 18 2023 Richard W.M. Jones <rjones@redhat.com> - 3.12.1-3
|
||||
- OCaml 5.1.1 + s390x code gen fix for Fedora 40
|
||||
|
||||
* Tue Dec 12 2023 Richard W.M. Jones <rjones@redhat.com> - 3.12.1-2
|
||||
- OCaml 5.1.1 rebuild for Fedora 40
|
||||
|
||||
* Thu Nov 30 2023 Jerry James <loganjerry@gmail.com> - 3.12.1-1
|
||||
- Version 3.12.1
|
||||
|
||||
* Mon Oct 9 2023 Jerry James <loganjerry@gmail.com> - 3.11.1-1
|
||||
- Version 3.11.1
|
||||
|
||||
* Thu Oct 05 2023 Richard W.M. Jones <rjones@redhat.com> - 3.11.0-3
|
||||
- Bump release and rebuild
|
||||
|
||||
* Thu Oct 05 2023 Richard W.M. Jones <rjones@redhat.com> - 3.11.0-2
|
||||
- OCaml 5.1 rebuild for Fedora 40
|
||||
|
||||
* Wed Oct 4 2023 Jerry James <loganjerry@gmail.com> - 3.11.0-1
|
||||
- Version 3.11.0
|
||||
|
||||
* Tue Aug 1 2023 Jerry James <loganjerry@gmail.com> - 3.10.0-1
|
||||
- Version 3.10.0
|
||||
|
||||
* Wed Jul 26 2023 Jerry James <loganjerry@gmail.com> - 3.9.2-1
|
||||
- Version 3.9.2
|
||||
|
||||
* Thu Jul 20 2023 Fedora Release Engineering <releng@fedoraproject.org> - 3.9.1-4
|
||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_39_Mass_Rebuild
|
||||
|
||||
* Tue Jul 11 2023 Richard W.M. Jones <rjones@redhat.com> - 3.9.1-3
|
||||
- OCaml 5.0 rebuild for Fedora 39
|
||||
- ExcludeArch i686
|
||||
|
||||
* Mon Jul 10 2023 Jerry James <loganjerry@gmail.com> - 3.9.1-1
|
||||
- Version 3.9.1
|
||||
|
||||
* Fri Jun 9 2023 Jerry James <loganjerry@gmail.com> - 3.8.1-1
|
||||
- Version 3.8.1
|
||||
- Add LGPL-2.1-or-later to License tag due to bundled 0install-solver
|
||||
|
||||
* Tue Apr 4 2023 Jerry James <loganjerry@gmail.com> - 3.7.1-1
|
||||
- Version 3.7.1
|
||||
|
||||
* Fri Mar 24 2023 Jerry James <loganjerry@gmail.com> - 3.7.0-2
|
||||
- Rebuild for ocaml-csexp 1.5.2
|
||||
|
||||
* Tue Mar 21 2023 Jerry James <loganjerry@gmail.com> - 3.7.0-1
|
||||
- Version 3.7.0
|
||||
- The fiber subpackage has been removed
|
||||
- Add debuginfo patch to produce good debuginfo again
|
||||
|
||||
* Tue Jan 24 2023 Richard W.M. Jones <rjones@redhat.com> - 3.6.1-3
|
||||
- Rebuild OCaml packages for F38
|
||||
|
||||
* Thu Jan 19 2023 Fedora Release Engineering <releng@fedoraproject.org> - 3.6.1-2
|
||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_38_Mass_Rebuild
|
||||
|
||||
* Fri Nov 25 2022 Jerry James <loganjerry@gmail.com> - 3.6.1-1
|
||||
- Version 3.6.1
|
||||
|
||||
|
|
|
|||
10
plans.fmf
Normal file
10
plans.fmf
Normal file
|
|
@ -0,0 +1,10 @@
|
|||
summary: Run all tests
|
||||
discover:
|
||||
how: fmf
|
||||
execute:
|
||||
how: tmt
|
||||
prepare:
|
||||
how: install
|
||||
package:
|
||||
- ocaml
|
||||
- ocaml-dune
|
||||
2
sources
2
sources
|
|
@ -1 +1 @@
|
|||
SHA512 (dune-3.6.1.tar.gz) = 2db83116a3d0995c8d0dfd6a1581d214f657a7d90c30dea04d5370327e13c575fed6ce74106a79c2e2fe0c02aa2912ae7a9f4e49c36985fb613b6a41de0700c9
|
||||
SHA512 (dune-3.20.2.tar.gz) = efb4376e03a3e760ee230c22ba8ac788623382437d9e3551fdd6bacdca1c6aa2db90246feb011d3d0e7ba3afa47161ebd06c80cfb24e357a82f7764bf003e355
|
||||
|
|
|
|||
6
tests/basic-test.sh
Executable file
6
tests/basic-test.sh
Executable file
|
|
@ -0,0 +1,6 @@
|
|||
#!/bin/bash -
|
||||
set -e
|
||||
set -x
|
||||
|
||||
# Just check that dune works.
|
||||
dune --version
|
||||
2
tests/main.fmf
Normal file
2
tests/main.fmf
Normal file
|
|
@ -0,0 +1,2 @@
|
|||
summary: Basic test
|
||||
test: ./basic-test.sh
|
||||
Loading…
Add table
Add a link
Reference in a new issue