From 0d0eca471ec33c4cab489fc504dc8187f2e38ef19b7ede4725178a7f09ae0b3d Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Adrian=20Schr=C3=B6ter?= Date: Fri, 3 May 2024 17:24:11 +0200 Subject: [PATCH] Sync from SUSE:SLFO:Main ocaml-stdlib-shims revision 4a39efb8404ec3301e52dae717335e66 --- .gitattributes | 23 +++++++++++ _service | 17 ++++++++ ocaml-stdlib-shims-0.3.0.tar.xz | 3 ++ ocaml-stdlib-shims.changes | 21 ++++++++++ ocaml-stdlib-shims.spec | 69 +++++++++++++++++++++++++++++++++ 5 files changed, 133 insertions(+) create mode 100644 .gitattributes create mode 100644 _service create mode 100644 ocaml-stdlib-shims-0.3.0.tar.xz create mode 100644 ocaml-stdlib-shims.changes create mode 100644 ocaml-stdlib-shims.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..597b492 --- /dev/null +++ b/_service @@ -0,0 +1,17 @@ + + + ocaml-stdlib-shims + fb6815e5d745f07fd567c11671149de6ef2e74c8 + git + disable + https://github.com/ocaml/stdlib-shims.git + @PARENT_TAG@ + [v]?([^\+]+)(.*) + \1 + + + *.tar + xz + + + diff --git a/ocaml-stdlib-shims-0.3.0.tar.xz b/ocaml-stdlib-shims-0.3.0.tar.xz new file mode 100644 index 0000000..7bb47b3 --- /dev/null +++ b/ocaml-stdlib-shims-0.3.0.tar.xz @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:31bf8c85c408bb5b5d9dc6a4bd359083f251feb7461a5797ec2202ca4bfb70cc +size 10628 diff --git a/ocaml-stdlib-shims.changes b/ocaml-stdlib-shims.changes new file mode 100644 index 0000000..73daeaf --- /dev/null +++ b/ocaml-stdlib-shims.changes @@ -0,0 +1,21 @@ +------------------------------------------------------------------- +Fri Apr 9 09:09:09 UTC 2021 - ohering@suse.de + +- Update to version 0.3.0 + See included CHANGES.md for details + +------------------------------------------------------------------- +Fri Nov 1 12:34:56 UTC 2019 - ohering@suse.de + +- Require current dune macros + +------------------------------------------------------------------- +Tue Oct 1 06:50:48 UTC 2019 - Jan Engelhardt + +- Fold description and fixup grammar. + +------------------------------------------------------------------- +Mon Sep 23 16:35:39 UTC 2019 - ohering@suse.de + +- Initial version 0.1.0 + diff --git a/ocaml-stdlib-shims.spec b/ocaml-stdlib-shims.spec new file mode 100644 index 0000000..5187c39 --- /dev/null +++ b/ocaml-stdlib-shims.spec @@ -0,0 +1,69 @@ +# +# spec file for package ocaml-stdlib-shims +# +# Copyright (c) 2021 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-stdlib-shims +Version: 0.3.0 +Release: 0 +%{?ocaml_preserve_bytecode} +Summary: Shim to substitute Pervasives with Stdlib before 4.08 +License: LGPL-2.1-or-later WITH OCaml-LGPL-linking-exception +Group: Development/Languages/OCaml +BuildRoot: %_tmppath/%name-%version-build +URL: https://opam.ocaml.org/packages/stdlib-shims +Source0: %{name}-%{version}.tar.xz +BuildRequires: ocaml +BuildRequires: ocaml-dune +BuildRequires: ocaml-rpm-macros >= 20210409 + +%description +Compiling against this library allows replacing uses of Pervasives +with Stdlib before 4.08. For example, one can use Stdlib.compare +instead of Pervasives.compare. It does not, however, provide +the new functions and modules that were added in the Stdlib module. + +%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 +%setup -q + +%build +dune_release_pkgs='stdlib-shims' +%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