Hello community, here is the log from the commit of package ocaml-parmap for openSUSE:Leap:15.2 checked in at 2020-03-15 07:11:27 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Leap:15.2/ocaml-parmap (Old) and /work/SRC/openSUSE:Leap:15.2/.ocaml-parmap.new.3160 (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "ocaml-parmap" Sun Mar 15 07:11:27 2020 rev:12 rq:783331 version:20200124.526acc4 Changes: -------- --- /work/SRC/openSUSE:Leap:15.2/ocaml-parmap/ocaml-parmap.changes 2020-01-15 15:34:23.638900515 +0100 +++ /work/SRC/openSUSE:Leap:15.2/.ocaml-parmap.new.3160/ocaml-parmap.changes 2020-03-15 07:11:39.764974182 +0100 @@ -1,0 +2,18 @@ +Thu Feb 20 20:20:20 UTC 2020 - [email protected] + +- Require current ocaml-rpm-macros +- Update to version 20200124.526acc4 (1.1.1) + merged our changes for dune and recent ocaml versions + +------------------------------------------------------------------- +Fri Nov 1 12:34:56 UTC 2019 - [email protected] + +- Require current dune macros +- Update to 20191021.1b17a5d from dune branch + +------------------------------------------------------------------- +Wed Oct 9 05:48:16 UTC 2019 - [email protected] + +- Update to version 20191002.803edbb (1.0-rc11) + +------------------------------------------------------------------- Old: ---- ocaml-parmap-20190330.8d19c66.tar.xz New: ---- _constraints ocaml-parmap-20200124.526acc4.tar.xz ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ ocaml-parmap.spec ++++++ --- /var/tmp/diff_new_pack.4764Oj/_old 2020-03-15 07:11:40.040974347 +0100 +++ /var/tmp/diff_new_pack.4764Oj/_new 2020-03-15 07:11:40.040974347 +0100 @@ -17,7 +17,7 @@ Name: ocaml-parmap -Version: 20190330.8d19c66 +Version: 20200124.526acc4 Release: 0 %{?ocaml_preserve_bytecode} Summary: Multicore architecture exploitation for OCaml programs with minimal modifications @@ -26,14 +26,13 @@ URL: http://rdicosmo.github.io/parmap/ Source: %{name}-%{version}.tar.xz BuildRequires: ocaml -BuildRequires: ocaml-oasis -BuildRequires: ocaml-ocamldoc -BuildRequires: ocaml-rpm-macros >= 4.03 +BuildRequires: ocaml-dune +BuildRequires: ocaml-rpm-macros >= 20200220 BuildRequires: ocamlfind(bigarray) +BuildRequires: ocamlfind(dune.configurator) BuildRequires: ocamlfind(graphics) BuildRequires: ocamlfind(unix) BuildRequires: pkgconfig(x11) -BuildRoot: %{_tmppath}/%{name}-%{version}-build %description If you want to use your many cores to accelerate an operation @@ -55,98 +54,29 @@ %prep -%setup -q +%autosetup -p1 %build -echo -n > config.h -if grep -w sched_setaffinity /usr/include/sched.h -then -tee -a config.h <<_EOF_ -#define HAVE_DECL_SCHED_SETAFFINITY 1 -_EOF_ -fi -rm -fv setup.ml myocamlbuild.ml META* _* */_* -# obs service changes every ^Version line ... -sh -c "sed 's/^Version.*/Version: %{version}/' | tee _oasis" <<_EOF_ -OASISFormat: 0.4 -Name: parmap -Version: 0 -Synopsis: library to exploit multicore architectures (parallel programming) -Authors: Marco Danelutto and Roberto Di Cosmo -License: WTFPL -LicenseFile: LICENSE -Plugins: META(`oasis version`) -BuildTools: ocamlbuild - -Library parmap - Path: . - Install: true - Modules: Parmap - CSources: bytearray_stubs.c, setcore_stubs.c, config.h - CCOpt: %{optflags} -I$PWD -Werror -D_GNU_SOURCE - -Document parmap - Title: API reference for parmap - Type: ocamlbuild - BuildTools+: ocamldoc - InstallDir: \$htmldir - Install: true - XOCamlbuildPath: . - XOCamlbuildLibraries: parmap - -Executable "%{name}-mandels" - Install: true - Path: example - MainIs: mandels.ml - CompiledObject: best - BuildDepends: parmap, graphics, unix, bigarray -_EOF_ -%oasis_setup -%ocaml_oasis_configure --enable-docs -%ocaml_oasis_build -%ocaml_oasis_doc +dune_release_pkgs='parmap' +%ocaml_dune_setup +%ocaml_dune_build %install -%ocaml_oasis_findlib_install -# -mkdir -vp %{buildroot}/etc/ld.so.conf.d/ -tee %{buildroot}/etc/ld.so.conf.d/%{name}.conf <<_EOF_ -%{_libdir}/ocaml/parmap -_EOF_ -# - -%post -p /sbin/ldconfig - -%postun -p /sbin/ldconfig - -%files -%defattr(-,root,root) -%doc README.md LICENSE -/etc/ld.so.conf.d/*.conf -%{_bindir}/* -%dir %{_libdir}/ocaml -%dir %{_libdir}/ocaml/* -%if 0%{?ocaml_native_compiler} -%{_libdir}/ocaml/*/*.cmxs -%endif -%{_libdir}/ocaml/*/*.so +%ocaml_dune_install +%ocaml_create_file_list -%files devel -%defattr(-,root,root,-) -%doc LICENSE -%{oasis_docdir_html} -%dir %{_libdir}/ocaml/* -%{_libdir}/ocaml/*/*.a -%if 0%{?ocaml_native_compiler} -%{_libdir}/ocaml/*/*.cmx -%{_libdir}/ocaml/*/*.cmxa +%check +test -x "$(type -P ocamlc.opt)" || exit 0 +OCAML_DUNE_RUNTEST_ARGS="-j 1" +%if "%{_lib}" == "lib" +dune_test_tolerate_fail='dune_test_tolerate_fail Array.make' %endif -%{_libdir}/ocaml/*/*.annot -%{_libdir}/ocaml/*/*.cma -%{_libdir}/ocaml/*/*.cmi -%{_libdir}/ocaml/*/*.cmt -%{_libdir}/ocaml/*/*.cmti -%{_libdir}/ocaml/*/*.mli -%{_libdir}/ocaml/*/META +export nData=$((1000 * 10)) +export nProcs=2 +%ocaml_dune_test + +%files -f %{name}.files + +%files devel -f %{name}.files.devel %changelog ++++++ _constraints ++++++ <constraints> <overwrite> <conditions> <arch>aarch64</arch> <arch>ppc64le</arch> <arch>s390x</arch> <arch>x86_64</arch> </conditions> <hardware> <memory> <size unit="G">8</size> </memory> </hardware> </overwrite> </constraints> ++++++ _service ++++++ --- /var/tmp/diff_new_pack.4764Oj/_old 2020-03-15 07:11:40.080974371 +0100 +++ /var/tmp/diff_new_pack.4764Oj/_new 2020-03-15 07:11:40.084974374 +0100 @@ -1,10 +1,10 @@ <services> <service name="tar_scm" mode="disabled"> - <param name="url">git://github.com/rdicosmo/parmap.git</param> + <param name="filename">ocaml-parmap</param> + <param name="revision">526acc4d2dd0f8949dfd53fa1ff015307c970899</param> <param name="scm">git</param> + <param name="url">https://github.com/rdicosmo/parmap.git</param> <param name="versionformat">%cd.%h</param> - <param name="revision">master</param> - <param name="filename">ocaml-parmap</param> </service> <service name="recompress" mode="disabled"> <param name="file">*.tar</param> ++++++ ocaml-parmap-20190330.8d19c66.tar.xz -> ocaml-parmap-20200124.526acc4.tar.xz ++++++ ++++ 10976 lines of diff (skipped)
