Accepting request 1139285 from devel:languages:ocaml

- Remove usage of dune.configurator because ocamlfind names which
  contain a dot are not considered valid anymore with dune 3.13

OBS-URL: https://build.opensuse.org/request/show/1139285
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/virt-top?expand=0&rev=7
This commit is contained in:
Ana Guerrero 2024-01-16 20:40:01 +00:00 committed by Git OBS Bridge
commit e2efdcefb5
4 changed files with 13 additions and 7 deletions

BIN
virt-top-1.1.1.tar.xz (Stored with Git LFS)

Binary file not shown.

View File

@ -1,3 +1,9 @@
-------------------------------------------------------------------
Tue Jan 16 16:16:16 UTC 2024 - ohering@suse.de
- Remove usage of dune.configurator because ocamlfind names which
contain a dot are not considered valid anymore with dune 3.13
------------------------------------------------------------------- -------------------------------------------------------------------
Fri Mar 3 03:03:03 UTC 2023 - ohering@suse.de Fri Mar 3 03:03:03 UTC 2023 - ohering@suse.de

View File

@ -39,7 +39,7 @@
+ (>= 1.11)) + (>= 1.11))
+ calendar + calendar
+ curses + curses
+ dune.configurator + dune-configurator
+ gettext)) + gettext))
--- /dev/null --- /dev/null
+++ b/src/config/discover.ml +++ b/src/config/discover.ml
@ -74,7 +74,7 @@
@@ -0,0 +1,3 @@ @@ -0,0 +1,3 @@
+(executable +(executable
+ (name discover) + (name discover)
+ (libraries dune.configurator)) + (libraries dune-configurator))
--- /dev/null --- /dev/null
+++ b/src/dune +++ b/src/dune
@@ -0,0 +1,51 @@ @@ -0,0 +1,51 @@

View File

@ -1,7 +1,7 @@
# #
# spec file for package virt-top # spec file for package virt-top
# #
# Copyright (c) 2023 SUSE LLC # Copyright (c) 2024 SUSE LLC
# #
# All modifications and additions to the file contributed by third parties # All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed # remain the property of their copyright owners, unless otherwise agreed
@ -28,10 +28,10 @@ Source0: %name-%version.tar.xz
Patch0: %name.patch Patch0: %name.patch
BuildRequires: ocaml(ocaml_base_version) >= 4.08 BuildRequires: ocaml(ocaml_base_version) >= 4.08
BuildRequires: ocaml-dune BuildRequires: ocaml-dune
BuildRequires: ocaml-rpm-macros >= 20230101 BuildRequires: ocaml-rpm-macros >= 20231101
BuildRequires: ocamlfind(calendar) BuildRequires: ocamlfind(calendar)
BuildRequires: ocamlfind(curses) BuildRequires: ocamlfind(curses)
BuildRequires: ocamlfind(dune.configurator) BuildRequires: ocamlfind(dune-configurator)
BuildRequires: ocamlfind(gettext) BuildRequires: ocamlfind(gettext)
BuildRequires: ocamlfind(gettext-stub) BuildRequires: ocamlfind(gettext-stub)
BuildRequires: ocamlfind(libvirt) BuildRequires: ocamlfind(libvirt)