Sync from SUSE:SLFO:Main ocaml-result revision 6adb6577867708652cf0eeeeeb784f5c

This commit is contained in:
Adrian Schröter 2024-05-03 17:23:26 +02:00
commit ec0ba483e3
5 changed files with 180 additions and 0 deletions

23
.gitattributes vendored Normal file
View 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
View File

@ -0,0 +1,17 @@
<services>
<service name="tar_scm" mode="disabled">
<param name="filename">ocaml-result</param>
<param name="revision">b0b9cd6e9cce8d2b7ad11127a6135540ec3f8a92</param>
<param name="scm">git</param>
<param name="submodules">disable</param>
<param name="url">https://github.com/janestreet/result.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-result-1.5.tar.xz (Stored with Git LFS) Normal file

Binary file not shown.

66
ocaml-result.changes Normal file
View File

@ -0,0 +1,66 @@
-------------------------------------------------------------------
Sat Apr 9 12:34:56 UTC 2022 - ohering@suse.de
- Remove usage of ocaml-dune-bootstrap, following changes in ocaml-dune
-------------------------------------------------------------------
Mon Apr 4 04:04:04 UTC 2022 - ohering@suse.de
- Build with ocaml-dune-bootstrap
-------------------------------------------------------------------
Thu Jan 21 21:21:21 UTC 2021 - ohering@suse.de
- Update to version 1.5
Make Result an alias of Stdlib.Result on OCaml >= 4.08.
-------------------------------------------------------------------
Fri Nov 1 12:34:56 UTC 2019 - ohering@suse.de
- Require current dune macros
- Use _service file
-------------------------------------------------------------------
Mon Sep 30 12:34:56 UTC 2019 - ohering@suse.de
- use dune macros from ocaml-rpm-macros
-------------------------------------------------------------------
Thu Sep 5 16:51:04 UTC 2019 - antoine.belvire@opensuse.org
- Update to version 1.4:
* Support for OCaml 4.08.
* Switch to dune.
- Changes from version 1.3:
* Switch to jbuilder.
-------------------------------------------------------------------
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
-------------------------------------------------------------------
Wed May 31 07:07:33 UTC 2017 - olaf@aepfle.de
- Replace tabs with spaces in generated _oasis file
-------------------------------------------------------------------
Tue May 16 11:14:08 UTC 2017 - olaf@aepfle.de
- Build with oasis
-------------------------------------------------------------------
Tue Jan 10 19:44:00 UTC 2017 - antoine.belvire@opensuse.org
- Fix build for SLE_11: add group tag to devel subpackage.
-------------------------------------------------------------------
Fri Dec 23 18:23:22 UTC 2016 - antoine.belvire@opensuse.org
- Create package ocaml-result-1.2

71
ocaml-result.spec Normal file
View File

@ -0,0 +1,71 @@
#
# spec file for package ocaml-result
#
# Copyright (c) 2022 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/
#
Name: ocaml-result
Version: 1.5
Release: 0
%{?ocaml_preserve_bytecode}
Summary: Compatibility OCaml Result module
License: BSD-3-Clause
Group: Development/Languages/OCaml
BuildRoot: %_tmppath/%name-%version-build
URL: https://opam.ocaml.org/packages/result
Source0: %name-%version.tar.xz
BuildRequires: ocaml
BuildRequires: ocaml-dune
BuildRequires: ocaml-rpm-macros >= 20220409
%description
Projects that want to use the new result type defined in OCaml >= 4.03 while
staying compatible with older version of OCaml should use the Result module
defined in this library.
%package devel
Summary: Development files for the Compatibility OCaml Result module
Group: Development/Languages/OCaml
Requires: %name = %version
%description devel
Projects that want to use the new result type defined in OCaml >= 4.03 while
staying compatible with older version of OCaml should use the Result module
defined in this library.
This package contains development files for %name.
%prep
%setup -q
%build
dune_release_pkgs='result'
%ocaml_dune_setup
%ocaml_dune_build
%install
%ocaml_dune_install
%ocaml_create_file_list
%check
%ocaml_dune_test
%files -f %name.files
%defattr(-,root,root,-)
%files devel -f %name.files.devel
%defattr(-,root,root,-)
%changelog