Accepting request 777990 from devel:languages:ocaml
- Require current ocaml-rpm-macros - Build conditionally with ocaml-alcotest OBS-URL: https://build.opensuse.org/request/show/777990 OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/ocaml-calendar?expand=0&rev=4
This commit is contained in:
commit
917f5d8740
@ -1,3 +1,9 @@
|
|||||||
|
-------------------------------------------------------------------
|
||||||
|
Thu Feb 20 20:20:20 UTC 2020 - ohering@suse.de
|
||||||
|
|
||||||
|
- Require current ocaml-rpm-macros
|
||||||
|
- Build conditionally with ocaml-alcotest
|
||||||
|
|
||||||
-------------------------------------------------------------------
|
-------------------------------------------------------------------
|
||||||
Fri Nov 1 12:34:56 UTC 2019 - ohering@suse.de
|
Fri Nov 1 12:34:56 UTC 2019 - ohering@suse.de
|
||||||
|
|
||||||
|
@ -16,7 +16,7 @@
|
|||||||
#
|
#
|
||||||
|
|
||||||
|
|
||||||
%bcond_with ocaml_do_dune_runtest
|
%bcond_with ocaml_alcotest
|
||||||
Name: ocaml-calendar
|
Name: ocaml-calendar
|
||||||
Version: 2.04
|
Version: 2.04
|
||||||
Release: 0
|
Release: 0
|
||||||
@ -28,10 +28,10 @@ Url: https://github.com/ocaml-community/calendar
|
|||||||
Source0: %{name}-%{version}.tar.xz
|
Source0: %{name}-%{version}.tar.xz
|
||||||
BuildRequires: ocaml
|
BuildRequires: ocaml
|
||||||
BuildRequires: ocaml-dune
|
BuildRequires: ocaml-dune
|
||||||
BuildRequires: ocaml-rpm-macros >= 20191101
|
BuildRequires: ocaml-rpm-macros >= 20200220
|
||||||
BuildRequires: ocamlfind(re)
|
BuildRequires: ocamlfind(re)
|
||||||
BuildRequires: ocamlfind(unix)
|
BuildRequires: ocamlfind(unix)
|
||||||
%if %{with ocaml_do_dune_runtest}
|
%if %{with ocaml_alcotest}
|
||||||
BuildRequires: ocamlfind(alcotest)
|
BuildRequires: ocamlfind(alcotest)
|
||||||
%endif
|
%endif
|
||||||
|
|
||||||
@ -61,10 +61,9 @@ dune_release_pkgs='calendar'
|
|||||||
%ocaml_dune_install
|
%ocaml_dune_install
|
||||||
%ocaml_create_file_list
|
%ocaml_create_file_list
|
||||||
|
|
||||||
%if %{with ocaml_do_dune_runtest}
|
|
||||||
%check
|
%check
|
||||||
|
dune_test_tolerate_fail='dune_test_tolerate_fail'
|
||||||
%ocaml_dune_test
|
%ocaml_dune_test
|
||||||
%endif
|
|
||||||
|
|
||||||
%files -f %{name}.files
|
%files -f %{name}.files
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user