From: @linker99 
Reviewed-by: @chenmaodong 
Signed-off-by: @chenmaodong
This commit is contained in:
openeuler-ci-bot 2023-12-29 08:53:14 +00:00 committed by Gitee
commit 778f48781e
No known key found for this signature in database
GPG Key ID: 173E9B9CA92EEF8F
2 changed files with 30 additions and 1 deletions

25
Fix-a-test-3247.patch Normal file
View File

@ -0,0 +1,25 @@
From be76d5018a92d975008e309d9db43c3ff719bb12 Mon Sep 17 00:00:00 2001
From: Andrey Mokhov <amokhov@janestreet.com>
Date: Fri, 6 Mar 2020 18:25:22 +0000
Subject: [PATCH] Fix a test (#3247)
Signed-off-by: Andrey Mokhov <amokhov@janestreet.com>
---
test/blackbox-tests/test-cases/plugin-mode/run.t | 1 +
1 file changed, 1 insertion(+)
diff --git a/test/blackbox-tests/test-cases/plugin-mode/run.t b/test/blackbox-tests/test-cases/plugin-mode/run.t
index 85124cec9..25ffc7d48 100644
--- a/test/blackbox-tests/test-cases/plugin-mode/run.t
+++ b/test/blackbox-tests/test-cases/plugin-mode/run.t
@@ -147,6 +147,7 @@ Testsuite for (mode plugin).
6 | (embed_in_plugin_libraries xxx))
^^^
Error: Library "xxx" not found.
+ Hint: try: dune external-lib-deps --missing @all
[1]
$ cat > dune <<EOF
--
2.27.0

View File

@ -6,7 +6,7 @@
Name: ocaml-%{libname}
Version: 2.4.0
Release: 1%{?dist}
Release: 2%{?dist}
Summary: A composable build system for OCaml
# Dune itself is MIT. Some bundled libraries have a different license:
@ -21,6 +21,7 @@ License: MIT and LGPLv2 and LGPLv2 with exceptions and ISC
URL: https://dune.build
Source0: https://github.com/ocaml/%{libname}/archive/%{version}/%{libname}-%{version}.tar.gz
Patch0: Fix-a-test-3247.patch
BuildRequires: emacs
BuildRequires: ocaml >= 4.07
@ -188,5 +189,8 @@ cp -ar README.md CHANGES.md MIGRATION.md doc/_build/* %{buildroot}%{_pkgdocdir}/
%{_emacs_sitelispdir}/dune*
%changelog
* Thu Dec 28 2023 fandehui <fandehui@xfusion.com> -2.4.0-2
- Fix a test (#3247)
* Thu Nov 12 2020 wanghongzhe<wanghongzhe@huawei.com> - 2.4.0-1
- Package Init