Compare commits

...
Sign in to create a new pull request.

18 commits

Author SHA1 Message Date
Jerry James
486e2bf87e Fix a changelog entry 2026-01-13 16:13:45 -07:00
Richard W.M. Jones
65379b064c OCaml 5.4.0 rebuild 2025-10-13 19:37:46 +01:00
Fedora Release Engineering
84f65b6c78 Rebuilt for https://fedoraproject.org/wiki/Fedora_43_Mass_Rebuild 2025-07-24 23:10:05 +00:00
Jerry James
62978c62ca Rebuild to fix OCaml dependencies 2025-07-11 11:43:24 -06:00
Fedora Release Engineering
76ea6f84d1 Rebuilt for https://fedoraproject.org/wiki/Fedora_42_Mass_Rebuild 2025-01-17 20:47:42 +00:00
Jerry James
55d11a8fc9 OCaml 5.3.0 rebuild for Fedora 42 2025-01-09 10:41:37 -07:00
Jerry James
58381a9769 Add VCS field 2024-12-26 20:16:27 -07:00
Fedora Release Engineering
7e00743a0c Rebuilt for https://fedoraproject.org/wiki/Fedora_41_Mass_Rebuild 2024-07-18 20:05:18 +00:00
Richard W.M. Jones
e2f5b1d190 tests: Don't run the test 2024-06-19 22:05:42 +01:00
Richard W.M. Jones
b3a0de78c6 OCaml 5.2.0 ppc64le fix 2024-06-19 13:41:08 +01:00
Richard W.M. Jones
ba0a39ec39 Add RHEL gating test 2024-06-19 09:17:58 +01:00
Richard W.M. Jones
292fd7e6ed OCaml 5.2.0 for Fedora 41 2024-05-29 20:46:33 +01:00
Jerry James
31219fa022 Remove unused configure patch 2024-05-23 09:36:46 -06:00
Fedora Release Engineering
9686b29349 Rebuilt for https://fedoraproject.org/wiki/Fedora_40_Mass_Rebuild 2024-01-25 09:56:36 +00:00
Fedora Release Engineering
687d640ed4 Rebuilt for https://fedoraproject.org/wiki/Fedora_40_Mass_Rebuild 2024-01-21 10:14:50 +00:00
Richard W.M. Jones
4f21a9c622 OCaml 5.1.1 + s390x code gen fix for Fedora 40 2023-12-18 13:47:39 +00:00
Richard W.M. Jones
cc72dd252c OCaml 5.1.1 rebuild for Fedora 40 2023-12-12 12:25:14 +00:00
Richard W.M. Jones
e242b95f74 OCaml 5.1 rebuild for Fedora 40 2023-10-05 15:03:39 +01:00
5 changed files with 71 additions and 21 deletions

6
gating.yaml Executable file
View file

@ -0,0 +1,6 @@
--- !Policy
product_versions:
- rhel-*
decision_context: osci_compose_gate
rules:
- !PassingTestCaseRule {test_case_name: osci.brew-build.tier0.functional}

View file

@ -1,20 +0,0 @@
Define NCURSES_WIDECHAR, so that <ncursesw/curses.h> actually declares
the probed addnwstr function. This follows Thomas Dickey's suggestion
on the bug-ncurses list:
<https://lists.nongnu.org/archive/html/bug-ncurses/2023-03/msg00003.html>
Submitted upstream: <https://savannah.nongnu.org/bugs/index.php?64109>
diff --git a/configure.ac b/configure.ac
index 15ca4087b5d9ee2b..24d5fa48960a5601 100644
--- a/configure.ac
+++ b/configure.ac
@@ -126,6 +126,7 @@ then
AC_MSG_CHECKING(for wide character support in ncurses library)
AC_TRY_LINK(
[#include <wchar.h>
+ #define NCURSES_WIDECHAR 1
#include CURSES_HEADER
],
[wchar_t wch = 0;

View file

@ -3,11 +3,12 @@ ExcludeArch: %{ix86}
Name: ocaml-curses
Version: 1.0.11
Release: 3%{?dist}
Release: 16%{?dist}
Summary: OCaml bindings for ncurses
License: LGPL-2.1-or-later WITH OCaml-LGPL-linking-exception
URL: https://github.com/mbacarella/curses
VCS: git:%{url}.git
Source0: %{url}/archive/%{version}/curses-%{version}.tar.gz
BuildRequires: ocaml >= 4.02.0
@ -57,6 +58,46 @@ developing applications that use %{name}.
%changelog
* Mon Oct 13 2025 Richard W.M. Jones <rjones@redhat.com> - 1.0.11-16
- OCaml 5.4.0 rebuild
* Thu Jul 24 2025 Fedora Release Engineering <releng@fedoraproject.org> - 1.0.11-15
- Rebuilt for https://fedoraproject.org/wiki/Fedora_43_Mass_Rebuild
* Fri Jul 11 2025 Jerry James <loganjerry@gmail.com> - 1.0.11-14
- Rebuild to fix OCaml dependencies
* Fri Jan 17 2025 Fedora Release Engineering <releng@fedoraproject.org> - 1.0.11-13
- Rebuilt for https://fedoraproject.org/wiki/Fedora_42_Mass_Rebuild
* Thu Jan 9 2025 Jerry James <loganjerry@gmail.com> - 1.0.11-12
- OCaml 5.3.0 rebuild for Fedora 42
- Add VCS field
* Thu Jul 18 2024 Fedora Release Engineering <releng@fedoraproject.org> - 1.0.11-11
- Rebuilt for https://fedoraproject.org/wiki/Fedora_41_Mass_Rebuild
* Wed Jun 19 2024 Richard W.M. Jones <rjones@redhat.com> - 1.0.11-10
- OCaml 5.2.0 ppc64le fix
* Wed May 29 2024 Richard W.M. Jones <rjones@redhat.com> - 1.0.11-9
- OCaml 5.2.0 for Fedora 41
* Thu Jan 25 2024 Fedora Release Engineering <releng@fedoraproject.org> - 1.0.11-8
- Rebuilt for https://fedoraproject.org/wiki/Fedora_40_Mass_Rebuild
* Sun Jan 21 2024 Fedora Release Engineering <releng@fedoraproject.org> - 1.0.11-7
- Rebuilt for https://fedoraproject.org/wiki/Fedora_40_Mass_Rebuild
* Mon Dec 18 2023 Richard W.M. Jones <rjones@redhat.com> - 1.0.11-6
- OCaml 5.1.1 + s390x code gen fix for Fedora 40
* Tue Dec 12 2023 Richard W.M. Jones <rjones@redhat.com> - 1.0.11-5
- OCaml 5.1.1 rebuild for Fedora 40
* Thu Oct 05 2023 Richard W.M. Jones <rjones@redhat.com> - 1.0.11-4
- OCaml 5.1 rebuild for Fedora 40
* Thu Jul 20 2023 Fedora Release Engineering <releng@fedoraproject.org> - 1.0.11-3
- Rebuilt for https://fedoraproject.org/wiki/Fedora_39_Mass_Rebuild

10
tests/basic-test.sh Executable file
View file

@ -0,0 +1,10 @@
#!/bin/bash -
set -e
set -x
# Compile trivial curses program.
echo 'open Curses;; ignore (initscr ()); endwin ()' > cursestest.ml
ocamlfind ocamlopt -package curses cursestest.ml -linkpkg -o cursestest
# We can't run this because there is no controlling terminal in
# the test environment.
#./cursestest

13
tests/tests.yml Executable file
View file

@ -0,0 +1,13 @@
- hosts: localhost
roles:
- role: standard-test-basic
tags:
- classic
required_packages:
- ocaml
- ocaml-findlib
- ocaml-curses-devel
tests:
- simple:
dir: .
run: ./basic-test.sh