Accepting request 968049 from devel:languages:ocaml

- Remove usage of ocaml-dune-bootstrap, following changes in ocaml-dune

OBS-URL: https://build.opensuse.org/request/show/968049
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/ocaml-csexp?expand=0&rev=3
This commit is contained in:
Dominique Leuenberger 2022-04-12 19:49:52 +00:00 committed by Git OBS Bridge
commit 0aa90df94f
2 changed files with 6 additions and 9 deletions

View File

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

View File

@ -39,12 +39,8 @@ BuildRoot: %_tmppath/%name-%version-build
URL: https://opam.ocaml.org/packages/csexp
Source0: %pkg-%version.tar.xz
BuildRequires: ocaml
%if "%build_flavor" == ""
BuildRequires: ocaml-dune-bootstrap
%else
BuildRequires: ocaml-dune
%endif
BuildRequires: ocaml-rpm-macros >= 20220222
BuildRequires: ocaml-rpm-macros >= 20220409
%if "%build_flavor" == "testsuite"
BuildRequires: ocamlfind(csexp)
@ -71,9 +67,6 @@ developing applications that use %name.
%setup -q -n %pkg-%version
%build
%if "%build_flavor" == ""
export PATH="%ocaml_dune_bootstrap_directory:$PATH"
%endif
dune_release_pkgs='csexp'
%ocaml_dune_setup
%if "%build_flavor" == ""
@ -82,7 +75,6 @@ dune_release_pkgs='csexp'
%install
%if "%build_flavor" == ""
export PATH="%ocaml_dune_bootstrap_directory:$PATH"
%ocaml_dune_install
%ocaml_create_file_list
%endif