Accepting request 968051 from devel:languages:ocaml
- Require ocamlfind(dune-configurator) OBS-URL: https://build.opensuse.org/request/show/968051 OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/ocaml-graphics?expand=0&rev=3
This commit is contained in:
commit
5933088cc4
@ -1,3 +1,8 @@
|
||||
-------------------------------------------------------------------
|
||||
Sat Apr 9 12:34:56 UTC 2022 - ohering@suse.de
|
||||
|
||||
- Require ocamlfind(dune-configurator)
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Sat Sep 11 12:34:56 UTC 2021 - ohering@suse.de
|
||||
|
||||
|
@ -1,7 +1,7 @@
|
||||
#
|
||||
# spec file for package ocaml-graphics
|
||||
#
|
||||
# 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
|
||||
@ -24,10 +24,11 @@ Summary: The OCaml graphics library
|
||||
License: LGPL-2.1-only WITH OCaml-LGPL-linking-exception
|
||||
Group: Development/Languages/OCaml
|
||||
Url: https://github.com/ocaml/graphics
|
||||
Source: %{name}-%{version}.tar.xz
|
||||
Source: %name-%version.tar.xz
|
||||
BuildRequires: ocaml(ocaml_base_version) >= 4.09
|
||||
BuildRequires: ocaml-rpm-macros >= 20210911
|
||||
BuildRequires: ocamlfind(dune)
|
||||
BuildRequires: ocaml-dune >= 2.1
|
||||
BuildRequires: ocaml-rpm-macros >= 20220409
|
||||
BuildRequires: ocamlfind(dune-configurator)
|
||||
BuildRequires: pkgconfig(x11)
|
||||
|
||||
%description
|
||||
@ -38,15 +39,15 @@ when Graphics.open_graph is called.
|
||||
This library used to be distributed with OCaml up to OCaml 4.08.
|
||||
|
||||
%package devel
|
||||
Summary: Development files for %{name}
|
||||
Summary: Development files for %name
|
||||
Group: Development/Languages/OCaml
|
||||
Requires: %{name} = %{version}
|
||||
Provides: ocaml-x11 = %{version}-%{release}
|
||||
Obsoletes: ocaml-x11 < %{version}-%{release}
|
||||
Requires: %name = %version
|
||||
Provides: ocaml-x11 = %version-%release
|
||||
Obsoletes: ocaml-x11 < %version-%release
|
||||
|
||||
%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
|
||||
@ -63,9 +64,9 @@ dune_release_pkgs='graphics'
|
||||
%check
|
||||
%ocaml_dune_test
|
||||
|
||||
%files -f %{name}.files
|
||||
%files -f %name.files
|
||||
|
||||
%files devel -f %{name}.files.devel
|
||||
%files devel -f %name.files.devel
|
||||
|
||||
%changelog
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user