Sync from SUSE:SLFO:Main ocaml-ounit revision 36f988dcb8ad1c992f3f26120ffc37d3
This commit is contained in:
commit
9eec1305e3
23
.gitattributes
vendored
Normal file
23
.gitattributes
vendored
Normal file
@ -0,0 +1,23 @@
|
||||
## Default LFS
|
||||
*.7z filter=lfs diff=lfs merge=lfs -text
|
||||
*.bsp filter=lfs diff=lfs merge=lfs -text
|
||||
*.bz2 filter=lfs diff=lfs merge=lfs -text
|
||||
*.gem filter=lfs diff=lfs merge=lfs -text
|
||||
*.gz filter=lfs diff=lfs merge=lfs -text
|
||||
*.jar filter=lfs diff=lfs merge=lfs -text
|
||||
*.lz filter=lfs diff=lfs merge=lfs -text
|
||||
*.lzma filter=lfs diff=lfs merge=lfs -text
|
||||
*.obscpio filter=lfs diff=lfs merge=lfs -text
|
||||
*.oxt filter=lfs diff=lfs merge=lfs -text
|
||||
*.pdf filter=lfs diff=lfs merge=lfs -text
|
||||
*.png filter=lfs diff=lfs merge=lfs -text
|
||||
*.rpm filter=lfs diff=lfs merge=lfs -text
|
||||
*.tbz filter=lfs diff=lfs merge=lfs -text
|
||||
*.tbz2 filter=lfs diff=lfs merge=lfs -text
|
||||
*.tgz filter=lfs diff=lfs merge=lfs -text
|
||||
*.ttf filter=lfs diff=lfs merge=lfs -text
|
||||
*.txz filter=lfs diff=lfs merge=lfs -text
|
||||
*.whl filter=lfs diff=lfs merge=lfs -text
|
||||
*.xz filter=lfs diff=lfs merge=lfs -text
|
||||
*.zip filter=lfs diff=lfs merge=lfs -text
|
||||
*.zst filter=lfs diff=lfs merge=lfs -text
|
17
_service
Normal file
17
_service
Normal file
@ -0,0 +1,17 @@
|
||||
<services>
|
||||
<service name="tar_scm" mode="disabled">
|
||||
<param name="filename">ocaml-ounit</param>
|
||||
<param name="revision">3c0464871690562b93bd2501811d5a4b9821a5aa</param>
|
||||
<param name="scm">git</param>
|
||||
<param name="submodules">disable</param>
|
||||
<param name="url">https://github.com/gildor478/ounit.git</param>
|
||||
<param name="versionformat">@PARENT_TAG@</param>
|
||||
<param name="versionrewrite-pattern">[v]?([^\+]+)(.*)</param>
|
||||
<param name="versionrewrite-replacement">\1</param>
|
||||
</service>
|
||||
<service name="recompress" mode="disabled">
|
||||
<param name="file">*.tar</param>
|
||||
<param name="compression">xz</param>
|
||||
</service>
|
||||
<service name="set_version" mode="disabled"/>
|
||||
</services>
|
BIN
ocaml-ounit-2.2.7.tar.xz
(Stored with Git LFS)
Normal file
BIN
ocaml-ounit-2.2.7.tar.xz
(Stored with Git LFS)
Normal file
Binary file not shown.
85
ocaml-ounit.changes
Normal file
85
ocaml-ounit.changes
Normal file
@ -0,0 +1,85 @@
|
||||
-------------------------------------------------------------------
|
||||
Fri May 5 05:05:05 UTC 2023 - ohering@suse.de
|
||||
|
||||
- Update to version 2.2.7
|
||||
Update to Dune 3.0
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Mon Apr 4 04:04:04 UTC 2022 - ohering@suse.de
|
||||
|
||||
- Update to version 2.2.6
|
||||
support for OCaml 5.0
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Thu Jan 21 21:21:21 UTC 2021 - ohering@suse.de
|
||||
|
||||
- Update to version 2.2.4
|
||||
Skip AssertCodePosition test if no debug symbols are available
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Thu Aug 20 20:20:20 UTC 2020 - ohering@suse.de
|
||||
|
||||
- Update to version 2.2.3
|
||||
Increase timeouts for slow architecture
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Thu Feb 20 20:20:20 UTC 2020 - ohering@suse.de
|
||||
|
||||
- Update to version 2.2.2
|
||||
Don't follow symlink in bracket_tmpdir removal code
|
||||
- Remove ounit-strict-formats.diff
|
||||
- Require current ocaml-rpm-macros
|
||||
- Build conditionally with ocaml-lwt
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Fri Nov 1 12:34:56 UTC 2019 - ohering@suse.de
|
||||
|
||||
- Require current dune macros
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Mon Sep 30 12:34:56 UTC 2019 - ohering@suse.de
|
||||
|
||||
- use dune macros from ocaml-rpm-macros
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Mon Sep 23 16:35:39 UTC 2019 - ohering@suse.de
|
||||
|
||||
- Update to version 2.2.1
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Tue Jul 25 13:04:54 UTC 2017 - ohering@suse.de
|
||||
|
||||
- Use Group: Development/Languages/OCaml
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Mon Jul 17 12:48:58 UTC 2017 - ohering@suse.de
|
||||
|
||||
- Wrap specfile conditionals to fix quilt setup
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Mon Jul 17 10:48:58 UTC 2017 - ohering@suse.de
|
||||
|
||||
- Remove autodeps for pre openSUSE 12.1 releases
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Mon May 30 06:39:17 UTC 2016 - ohering@suse.de
|
||||
|
||||
- Fix build with ocaml-4.03 (fate#320836)
|
||||
ounit-strict-formats.diff
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Tue Nov 10 10:18:47 UTC 2015 - ohering@suse.de
|
||||
|
||||
- Add hardcoded Provides for pre 12.1 repos
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Wed Jan 21 20:35:32 UTC 2015 - mlatimer@suse.com
|
||||
|
||||
- Change license in spec file to match source code (MIT), and
|
||||
include LICENSE.txt in rpm
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Wed Sep 24 08:46:35 UTC 2014 - sleep_walker@suse.cz
|
||||
|
||||
- let there be ocaml-ounit
|
||||
|
81
ocaml-ounit.spec
Normal file
81
ocaml-ounit.spec
Normal file
@ -0,0 +1,81 @@
|
||||
#
|
||||
# spec file for package ocaml-ounit
|
||||
#
|
||||
# Copyright (c) 2023 SUSE LLC
|
||||
#
|
||||
# All modifications and additions to the file contributed by third parties
|
||||
# remain the property of their copyright owners, unless otherwise agreed
|
||||
# upon. The license for this file, and modifications and additions to the
|
||||
# file, is the same license as for the pristine package itself (unless the
|
||||
# license for the pristine package is not an Open Source License, in which
|
||||
# case the license is the MIT License). An "Open Source License" is a
|
||||
# license that conforms to the Open Source Definition (Version 1.9)
|
||||
# published by the Open Source Initiative.
|
||||
|
||||
# Please submit bugfixes or comments via https://bugs.opensuse.org/
|
||||
#
|
||||
|
||||
|
||||
%bcond_with ocaml_lwt
|
||||
|
||||
Name: ocaml-ounit
|
||||
Version: 2.2.7
|
||||
Release: 0
|
||||
%{?ocaml_preserve_bytecode}
|
||||
Summary: Ocaml OUnit test framework
|
||||
License: MIT
|
||||
Group: Development/Languages/OCaml
|
||||
URL: https://opam.ocaml.org/packages/ounit
|
||||
Source0: %name-%version.tar.xz
|
||||
BuildRequires: ocaml
|
||||
BuildRequires: ocaml-dune >= 3.0
|
||||
BuildRequires: ocaml-rpm-macros >= 20230101
|
||||
BuildRequires: ocamlfind(seq)
|
||||
BuildRequires: ocamlfind(stdlib-shims)
|
||||
BuildRequires: ocamlfind(str)
|
||||
BuildRequires: ocamlfind(threads)
|
||||
BuildRequires: ocamlfind(unix)
|
||||
%if %{with ocaml_lwt}
|
||||
BuildRequires: ocamlfind(lwt)
|
||||
BuildRequires: ocamlfind(lwt.unix)
|
||||
%endif
|
||||
|
||||
%description
|
||||
OUnit is a unit test framework for OCaml. It allows one to easily
|
||||
create unit-tests for OCaml code. It is based on HUnit, a unit testing
|
||||
framework for Haskell. It is similar to JUnit, and other xUnit testing
|
||||
frameworks.
|
||||
|
||||
%package devel
|
||||
Summary: Development files for %name
|
||||
Group: Development/Languages/OCaml
|
||||
Requires: %name = %version
|
||||
|
||||
%description devel
|
||||
Development files needed for application based on %name.
|
||||
|
||||
%prep
|
||||
%autosetup -p1
|
||||
|
||||
%build
|
||||
dune_release_pkgs='ounit,ounit2'
|
||||
%if %{with ocaml_lwt}
|
||||
dune_release_pkgs="${dune_release_pkgs},ounit-lwt,ounit2-lwt"
|
||||
%endif
|
||||
%ocaml_dune_setup
|
||||
%ocaml_dune_build
|
||||
|
||||
%install
|
||||
%ocaml_dune_install
|
||||
mkdir %buildroot$(ocamlc -where)/oUnit
|
||||
cp -avt "$_" src/lib/oUnit/META
|
||||
%ocaml_create_file_list
|
||||
|
||||
%check
|
||||
%ocaml_dune_test
|
||||
|
||||
%files -f %name.files
|
||||
|
||||
%files devel -f %name.files.devel
|
||||
|
||||
%changelog
|
Loading…
Reference in New Issue
Block a user