diff --git a/gating.yaml b/gating.yaml new file mode 100755 index 0000000..2c7ed80 --- /dev/null +++ b/gating.yaml @@ -0,0 +1,6 @@ +--- !Policy +product_versions: + - rhel-* +decision_context: osci_compose_gate +rules: + - !PassingTestCaseRule {test_case_name: osci.brew-build.tier0.functional} diff --git a/ocaml-curses-configure-c99.patch b/ocaml-curses-configure-c99.patch deleted file mode 100644 index a09c1bd..0000000 --- a/ocaml-curses-configure-c99.patch +++ /dev/null @@ -1,20 +0,0 @@ -Define NCURSES_WIDECHAR, so that actually declares -the probed addnwstr function. This follows Thomas Dickey's suggestion -on the bug-ncurses list: - - - -Submitted upstream: - -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 -+ #define NCURSES_WIDECHAR 1 - #include CURSES_HEADER - ], - [wchar_t wch = 0; diff --git a/ocaml-curses.spec b/ocaml-curses.spec index 6a90b89..acd84de 100644 --- a/ocaml-curses.spec +++ b/ocaml-curses.spec @@ -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 - 1.0.11-16 +- OCaml 5.4.0 rebuild + +* Thu Jul 24 2025 Fedora Release Engineering - 1.0.11-15 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_43_Mass_Rebuild + +* Fri Jul 11 2025 Jerry James - 1.0.11-14 +- Rebuild to fix OCaml dependencies + +* Fri Jan 17 2025 Fedora Release Engineering - 1.0.11-13 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_42_Mass_Rebuild + +* Thu Jan 9 2025 Jerry James - 1.0.11-12 +- OCaml 5.3.0 rebuild for Fedora 42 +- Add VCS field + +* Thu Jul 18 2024 Fedora Release Engineering - 1.0.11-11 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_41_Mass_Rebuild + +* Wed Jun 19 2024 Richard W.M. Jones - 1.0.11-10 +- OCaml 5.2.0 ppc64le fix + +* Wed May 29 2024 Richard W.M. Jones - 1.0.11-9 +- OCaml 5.2.0 for Fedora 41 + +* Thu Jan 25 2024 Fedora Release Engineering - 1.0.11-8 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_40_Mass_Rebuild + +* Sun Jan 21 2024 Fedora Release Engineering - 1.0.11-7 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_40_Mass_Rebuild + +* Mon Dec 18 2023 Richard W.M. Jones - 1.0.11-6 +- OCaml 5.1.1 + s390x code gen fix for Fedora 40 + +* Tue Dec 12 2023 Richard W.M. Jones - 1.0.11-5 +- OCaml 5.1.1 rebuild for Fedora 40 + +* Thu Oct 05 2023 Richard W.M. Jones - 1.0.11-4 +- OCaml 5.1 rebuild for Fedora 40 + * Thu Jul 20 2023 Fedora Release Engineering - 1.0.11-3 - Rebuilt for https://fedoraproject.org/wiki/Fedora_39_Mass_Rebuild diff --git a/tests/basic-test.sh b/tests/basic-test.sh new file mode 100755 index 0000000..c4fae27 --- /dev/null +++ b/tests/basic-test.sh @@ -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 diff --git a/tests/tests.yml b/tests/tests.yml new file mode 100755 index 0000000..a184de7 --- /dev/null +++ b/tests/tests.yml @@ -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