Accepting request 967082 from devel:languages:ocaml

- Update to version 18
  Support for OCaml 4.14.0

OBS-URL: https://build.opensuse.org/request/show/967082
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/ocaml-stdcompat?expand=0&rev=4
This commit is contained in:
Dominique Leuenberger 2022-04-06 19:51:29 +00:00 committed by Git OBS Bridge
commit 43a89bb0a5
5 changed files with 24 additions and 18 deletions

View File

@ -1,7 +1,7 @@
<services>
<service name="tar_scm" mode="disabled">
<param name="filename">ocaml-stdcompat</param>
<param name="revision">3a58c6ab12577d6f76c1a3c21a738d9d11cbddbc</param>
<param name="revision">014ff59eee0e6014dd5e832b9c7ae645ef4a6397</param>
<param name="scm">git</param>
<param name="submodules">disable</param>
<param name="url">https://github.com/thierry-martinez/stdcompat.git</param>

View File

@ -1,3 +0,0 @@
version https://git-lfs.github.com/spec/v1
oid sha256:869569de851f572ce4e71dba2d2183d14608b28108aafcdf71541c47aee3e265
size 118388

View File

@ -0,0 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:023c94ce25895359116540b03b54fa49619a5e0833f85a0bd9a76c3e709ead2d
size 128808

View File

@ -1,3 +1,9 @@
-------------------------------------------------------------------
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

View File

@ -1,7 +1,7 @@
#
# spec file for package ocaml-stdcompat
#
# Copyright (c) 2021 SUSE LLC
# 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
@ -16,35 +16,35 @@
#
%define _lto_cflags %{nil}
%define _lto_cflags %nil
Name: ocaml-stdcompat
Version: 17
Version: 18
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
Source0: %name-%version.tar.xz
Source1: %name-rpmlintrc
BuildRequires: autoconf
BuildRequires: automake
BuildRequires: bash
BuildRequires: ocamlfind(findlib)
BuildRequires: ocaml-rpm-macros >= 20210911
BuildRequires: ocaml-rpm-macros >= 20220222
BuildRequires: ocaml(ocaml.opt)
%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}
Summary: Development files for %name
Group: Development/Languages/OCaml
Requires: %{name} = %{version}
Requires: %name = %version
%description devel
The %{name}-devel package contains libraries and signature files for
developing applications that use %{name}.
The %name-devel package contains libraries and signature files for
developing applications that use %name.
%prep
%autosetup -p1
@ -52,16 +52,16 @@ developing applications that use %{name}.
%build
%make_build -f Makefile.bootstrap
%configure \
--libdir=%{ocaml_standard_library}
--libdir=%ocaml_standard_library
%make_build -j1
%install
%make_install
find %{buildroot} -type f -exec chmod -v 644 '{}' +
find %buildroot -type f -exec chmod -v 644 '{}' +
%ocaml_create_file_list
%files -f %{name}.files
%files -f %name.files
%files devel -f %{name}.files.devel
%files devel -f %name.files.devel
%changelog