From fd3e1d0d4f79c0eb205d9bb875366114d6d24a198e7aecdcb9577d43f64927a2 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Adrian=20Schr=C3=B6ter?= Date: Fri, 3 May 2024 17:23:54 +0200 Subject: [PATCH] Sync from SUSE:SLFO:Main ocaml-stdcompat revision 3641274b90a3a3a2f07c5847d87e9b78 --- .gitattributes | 23 ++++++++++++++ _service | 17 +++++++++++ ocaml-stdcompat-19.tar.xz | 3 ++ ocaml-stdcompat-rpmlintrc | 1 + ocaml-stdcompat.changes | 33 ++++++++++++++++++++ ocaml-stdcompat.spec | 64 +++++++++++++++++++++++++++++++++++++++ 6 files changed, 141 insertions(+) create mode 100644 .gitattributes create mode 100644 _service create mode 100644 ocaml-stdcompat-19.tar.xz create mode 100644 ocaml-stdcompat-rpmlintrc create mode 100644 ocaml-stdcompat.changes create mode 100644 ocaml-stdcompat.spec diff --git a/.gitattributes b/.gitattributes new file mode 100644 index 0000000..9b03811 --- /dev/null +++ b/.gitattributes @@ -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 diff --git a/_service b/_service new file mode 100644 index 0000000..fb71ffe --- /dev/null +++ b/_service @@ -0,0 +1,17 @@ + + + ocaml-stdcompat + 56a7e25a1101b3d689a8bb23b7c47925e4981381 + git + disable + https://github.com/thierry-martinez/stdcompat.git + @PARENT_TAG@ + [v]?([^+]+)(.*) + \1 + + + *.tar + xz + + + diff --git a/ocaml-stdcompat-19.tar.xz b/ocaml-stdcompat-19.tar.xz new file mode 100644 index 0000000..110dbab --- /dev/null +++ b/ocaml-stdcompat-19.tar.xz @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:5731a8a30fc847e74c74e4d77bd7d697fb5288bbe0cf7bdd798b0d4a1e9b0d85 +size 187344 diff --git a/ocaml-stdcompat-rpmlintrc b/ocaml-stdcompat-rpmlintrc new file mode 100644 index 0000000..2ed23b5 --- /dev/null +++ b/ocaml-stdcompat-rpmlintrc @@ -0,0 +1 @@ +addFilter("lto-no-text-in-archive") diff --git a/ocaml-stdcompat.changes b/ocaml-stdcompat.changes new file mode 100644 index 0000000..2b2c33c --- /dev/null +++ b/ocaml-stdcompat.changes @@ -0,0 +1,33 @@ +------------------------------------------------------------------- +Sun Jan 1 01:01:01 UTC 2023 - ohering@suse.de + +- Upstream moved the v19 git tag + +------------------------------------------------------------------- +Wed Jun 22 22:22:22 UTC 2022 - ohering@suse.de + +- Update to version 19 + Support for OCaml 5.0 + +------------------------------------------------------------------- +Mon Apr 4 04:04:04 UTC 2022 - ohering@suse.de + +- Update to version 18 + Support for OCaml 4.14.0 + +------------------------------------------------------------------- +Sun Oct 10 10:10:10 UTC 2021 - ohering@suse.de + +- Update to version 17 + +------------------------------------------------------------------- +Sat Sep 11 12:34:56 UTC 2021 - ohering@suse.de + +- Update to version 16 + Support for OCaml 4.13.0 + +------------------------------------------------------------------- +Fri Apr 9 09:09:09 UTC 2021 - ohering@suse.de + +- Initial version 15 + diff --git a/ocaml-stdcompat.spec b/ocaml-stdcompat.spec new file mode 100644 index 0000000..bccca4f --- /dev/null +++ b/ocaml-stdcompat.spec @@ -0,0 +1,64 @@ +# +# spec file for package ocaml-stdcompat +# +# 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/ +# + + +Name: ocaml-stdcompat +Version: 19 +Release: 0 +%{?ocaml_preserve_bytecode} +Summary: Stdcompat: compatibility module for OCaml standard library +License: BSD-2-Clause +Group: Development/Languages/OCaml +URL: https://opam.ocaml.org/packages/stdcompat +Source0: %name-%version.tar.xz +Source1: %name-rpmlintrc +BuildRequires: autoconf +BuildRequires: automake +BuildRequires: bash +BuildRequires: ocaml +BuildRequires: ocaml-dune >= 2.0 +BuildRequires: ocaml-rpm-macros >= 20230101 + +%description +Stdcompat is a compatibility layer allowing programs to use some recent additions to the OCaml standard library while preserving the ability to be compiled on former versions of OCaml. + +%package devel +Summary: Development files for %name +Group: Development/Languages/OCaml +Requires: %name = %version + +%description devel +The %name-devel package contains libraries and signature files for +developing applications that use %name. + +%prep +%autosetup -p1 + +%build +dune_release_pkgs='stdcompat' +%ocaml_dune_setup +%ocaml_dune_build + +%install +%ocaml_dune_install +%ocaml_create_file_list + +%files -f %name.files + +%files devel -f %name.files.devel + +%changelog