Compare commits
2 Commits
82503be5b6
...
b27432ddc9
Author | SHA1 | Date | |
---|---|---|---|
|
b27432ddc9 | ||
|
be0afda1af |
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}
|
@ -12,7 +12,7 @@ ExcludeArch: %{ix86}
|
|||||||
|
|
||||||
Name: ocaml-gettext
|
Name: ocaml-gettext
|
||||||
Version: 0.4.2
|
Version: 0.4.2
|
||||||
Release: 20%{?dist}
|
Release: 21%{?dist}
|
||||||
Summary: OCaml library for i18n
|
Summary: OCaml library for i18n
|
||||||
|
|
||||||
License: LGPL-2.1-or-later with OCaml-LGPL-linking-exception
|
License: LGPL-2.1-or-later with OCaml-LGPL-linking-exception
|
||||||
@ -154,6 +154,9 @@ cat .ofiles-gettext-stub-devel >> .ofiles-gettext-devel
|
|||||||
|
|
||||||
|
|
||||||
%changelog
|
%changelog
|
||||||
|
* Wed Jun 19 2024 Richard W.M. Jones <rjones@redhat.com> - 0.4.2-21
|
||||||
|
- OCaml 5.2.0 ppc64le fix
|
||||||
|
|
||||||
* Wed May 29 2024 Richard W.M. Jones <rjones@redhat.com> - 0.4.2-20
|
* Wed May 29 2024 Richard W.M. Jones <rjones@redhat.com> - 0.4.2-20
|
||||||
- OCaml 5.2.0 for Fedora 41
|
- OCaml 5.2.0 for Fedora 41
|
||||||
|
|
||||||
|
19
tests/basic-test.sh
Executable file
19
tests/basic-test.sh
Executable file
@ -0,0 +1,19 @@
|
|||||||
|
#!/bin/bash -
|
||||||
|
set -e
|
||||||
|
set -x
|
||||||
|
|
||||||
|
# Compile trivial gettext program.
|
||||||
|
cat <<EOF > gettexttest.ml
|
||||||
|
module Gettext = Gettext.Program (
|
||||||
|
struct
|
||||||
|
let textdomain = "test"
|
||||||
|
let codeset = None
|
||||||
|
let dir = None
|
||||||
|
let dependencies = []
|
||||||
|
end
|
||||||
|
) (GettextStub.Native) ;;
|
||||||
|
open Gettext ;;
|
||||||
|
print_endline (s_ "Hello world")
|
||||||
|
EOF
|
||||||
|
ocamlfind ocamlopt -package gettext,gettext-stub gettexttest.ml -linkpkg -o gettexttest
|
||||||
|
./gettexttest
|
13
tests/tests.yml
Executable file
13
tests/tests.yml
Executable file
@ -0,0 +1,13 @@
|
|||||||
|
- hosts: localhost
|
||||||
|
roles:
|
||||||
|
- role: standard-test-basic
|
||||||
|
tags:
|
||||||
|
- classic
|
||||||
|
required_packages:
|
||||||
|
- ocaml
|
||||||
|
- ocaml-findlib
|
||||||
|
- ocaml-gettext-devel
|
||||||
|
tests:
|
||||||
|
- simple:
|
||||||
|
dir: .
|
||||||
|
run: ./basic-test.sh
|
Loading…
Reference in New Issue
Block a user