Hello community, here is the log from the commit of package ocaml-qcheck for openSUSE:Factory checked in at 2019-10-24 23:02:04 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/ocaml-qcheck (Old) and /work/SRC/openSUSE:Factory/.ocaml-qcheck.new.2990 (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "ocaml-qcheck" Thu Oct 24 23:02:04 2019 rev:4 rq:735917 version:0.10 Changes: -------- --- /work/SRC/openSUSE:Factory/ocaml-qcheck/ocaml-qcheck.changes 2019-02-20 14:12:40.830912433 +0100 +++ /work/SRC/openSUSE:Factory/.ocaml-qcheck.new.2990/ocaml-qcheck.changes 2019-10-24 23:02:07.684030174 +0200 @@ -1,0 +2,15 @@ +Mon Sep 30 12:34:56 UTC 2019 - [email protected] + +- use dune macros from ocaml-rpm-macros + +------------------------------------------------------------------- +Mon Sep 23 16:35:39 UTC 2019 - [email protected] + +- Update to version 0.10 + +------------------------------------------------------------------- +Mon Sep 23 16:35:39 UTC 2019 - [email protected] + +- Expand filelist to fix build + +------------------------------------------------------------------- Old: ---- ocaml-qcheck-0.9.tar.gz New: ---- _service ocaml-qcheck-0.10.tar.xz ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ ocaml-qcheck.spec ++++++ --- /var/tmp/diff_new_pack.QlYK9Y/_old 2019-10-24 23:02:08.328030914 +0200 +++ /var/tmp/diff_new_pack.QlYK9Y/_new 2019-10-24 23:02:08.332030918 +0200 @@ -17,7 +17,7 @@ Name: ocaml-qcheck -Version: 0.9 +Version: 0.10 Release: 0 %{?ocaml_preserve_bytecode} Summary: QuickCheck inspired property-based testing for OCaml @@ -25,22 +25,20 @@ Group: Development/Languages/OCaml URL: https://github.com/c-cube/qcheck -Source0: https://github.com/c-cube/qcheck/archive/%{version}/%{name}-%{version}.tar.gz -BuildRoot: %{_tmppath}/%{name}-%{version}-build +Source0: %{name}-%{version}.tar.xz BuildRequires: ocaml BuildRequires: ocaml-dune -BuildRequires: ocaml-ounit-devel -BuildRequires: ocaml-rpm-macros -BuildRequires: ocamlfind -BuildRequires: opam-installer +BuildRequires: ocaml-rpm-macros >= 20190930 +BuildRequires: ocamlfind(bytes) +BuildRequires: ocamlfind(oUnit) +BuildRequires: ocamlfind(unix) %description This module allows to check invariants (properties of some types) over randomly generated instances of the type. It provides combinators for generating instances and printing them. - %package devel Summary: Development files for %{name} Group: Development/Languages/OCaml @@ -52,48 +50,29 @@ %prep -%setup -q -n qcheck-%{version} +%autosetup -p1 %build # do not build alcotest support since it is not packaged yet -dune build @install -p qcheck,qcheck-core,qcheck-ounit +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}" +%ocaml_dune_setup +%ocaml_dune_build %install -mkdir -p %{buildroot}%{_libdir}/ocaml -dune install --destdir=%{buildroot} qcheck qcheck-core qcheck-ounit +OCAML_DUNE_INSTALL_ARGS='qcheck qcheck-core qcheck-ounit' +%ocaml_dune_install +%ocaml_create_file_list -# These files will be installed using doc and license directives. -rm -r %{buildroot}/usr/doc +%check +%ocaml_dune_test -%files -%defattr(-,root,root,-) -%doc README.adoc CHANGELOG.md +%files -f %{name}.files %license LICENSE -%dir %{_libdir}/ocaml -%dir %{_libdir}/ocaml/* -%dir %{_libdir}/ocaml/*/* -%if 0%{?ocaml_native_compiler} -%{_libdir}/ocaml/*/{,*/}*.cmxs -%endif - -%files devel -%defattr(-,root,root,-) -%dir %{_libdir}/ocaml -%dir %{_libdir}/ocaml/* -%dir %{_libdir}/ocaml/*/* -%if 0%{?ocaml_native_compiler} -%{_libdir}/ocaml/*/{,*/}*.a -%{_libdir}/ocaml/*/{,*/}*.cmx -%{_libdir}/ocaml/*/{,*/}*.cmxa -%endif -%{_libdir}/ocaml/*/{,*/}*.ml -%{_libdir}/ocaml/*/{,*/}*.mli -%{_libdir}/ocaml/*/{,*/}*.cma -%{_libdir}/ocaml/*/{,*/}*.cmi -%{_libdir}/ocaml/*/{,*/}*.cmt -%{_libdir}/ocaml/*/{,*/}*.cmti -%{_libdir}/ocaml/*/dune-package -%{_libdir}/ocaml/*/META -%{_libdir}/ocaml/*/opam +%doc README.adoc + +%files devel -f %{name}.files.devel %changelog ++++++ _service ++++++ <services> <service name="tar_scm" mode="disabled"> <param name="url">https://github.com/c-cube/qcheck.git</param> <param name="scm">git</param> <param name="versionformat">0.10</param> <param name="revision">0.10</param> <param name="filename">ocaml-qcheck</param> </service> <service name="recompress" mode="disabled"> <param name="file">*.tar</param> <param name="compression">xz</param> </service> <service name="set_version" mode="disabled"/> </services>
