Hello community,

here is the log from the commit of package ocaml-qcheck for openSUSE:Factory 
checked in at 2020-03-09 15:22:50
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/ocaml-qcheck (Old)
 and      /work/SRC/openSUSE:Factory/.ocaml-qcheck.new.26092 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "ocaml-qcheck"

Mon Mar  9 15:22:50 2020 rev:5 rq:777979 version:0.10

Changes:
--------
--- /work/SRC/openSUSE:Factory/ocaml-qcheck/ocaml-qcheck.changes        
2019-10-24 23:02:07.684030174 +0200
+++ /work/SRC/openSUSE:Factory/.ocaml-qcheck.new.26092/ocaml-qcheck.changes     
2020-03-09 15:22:53.144184425 +0100
@@ -1,0 +2,6 @@
+Thu Feb 20 20:20:20 UTC 2020 - [email protected]
+
+- Require current dune macros
+- Build conditionally with ocaml-alcotest
+
+-------------------------------------------------------------------

++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Other differences:
------------------
++++++ ocaml-qcheck.spec ++++++
--- /var/tmp/diff_new_pack.bNKanZ/_old  2020-03-09 15:22:53.652184653 +0100
+++ /var/tmp/diff_new_pack.bNKanZ/_new  2020-03-09 15:22:53.656184655 +0100
@@ -12,10 +12,12 @@
 # license that conforms to the Open Source Definition (Version 1.9)
 # published by the Open Source Initiative.
 
-# Please submit bugfixes or comments via http://bugs.opensuse.org/
+# Please submit bugfixes or comments via https://bugs.opensuse.org/
 #
 
 
+%bcond_with     ocaml_alcotest
+
 Name:           ocaml-qcheck
 Version:        0.10
 Release:        0
@@ -29,10 +31,13 @@
 
 BuildRequires:  ocaml
 BuildRequires:  ocaml-dune
-BuildRequires:  ocaml-rpm-macros >= 20190930
+BuildRequires:  ocaml-rpm-macros >= 20200220
 BuildRequires:  ocamlfind(bytes)
 BuildRequires:  ocamlfind(oUnit)
 BuildRequires:  ocamlfind(unix)
+%if %{with ocaml_alcotest}
+BuildRequires:  ocamlfind(alcotest)
+%endif
 
 %description
 This module allows to check invariants (properties of some types) over
@@ -53,16 +58,14 @@
 %autosetup -p1
 
 %build
-# do not build alcotest support since it is not packaged yet
-args='--for-release-of-packages=qcheck,qcheck-core,qcheck-ounit'
-OCAML_DUNE_INSTALLED_LIBRARIES_ARGS=''
-OCAML_DUNE_EXTERNAL_LIB_DEPS_ARGS="${args}"
-OCAML_DUNE_BUILD_INSTALL_ARGS="${args}"
+dune_release_pkgs='qcheck,qcheck-core,qcheck-ounit'
+%if %{with ocaml_alcotest}
+dune_release_pkgs="${dune_release_pkgs},qcheck-alcotest"
+%endif
 %ocaml_dune_setup
 %ocaml_dune_build
 
 %install
-OCAML_DUNE_INSTALL_ARGS='qcheck qcheck-core qcheck-ounit'
 %ocaml_dune_install
 %ocaml_create_file_list
 
@@ -70,7 +73,6 @@
 %ocaml_dune_test
 
 %files -f %{name}.files
-%license LICENSE
 %doc README.adoc
 
 %files devel -f %{name}.files.devel


Reply via email to