Script 'mail_helper' called by obssrc Hello community, here is the log from the commit of package ocaml-gen for openSUSE:Factory checked in at 2021-05-07 16:45:47 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/ocaml-gen (Old) and /work/SRC/openSUSE:Factory/.ocaml-gen.new.2988 (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "ocaml-gen" Fri May 7 16:45:47 2021 rev:7 rq:891221 version:0.5.3 Changes: -------- --- /work/SRC/openSUSE:Factory/ocaml-gen/ocaml-gen.changes 2021-04-29 01:37:12.050476423 +0200 +++ /work/SRC/openSUSE:Factory/.ocaml-gen.new.2988/ocaml-gen.changes 2021-05-07 16:46:13.984196251 +0200 @@ -1,0 +2,5 @@ +Tue Apr 13 13:13:13 UTC 2021 - [email protected] + +- Use upstream repo, current ocaml-rpm-macros and ocaml-gen.patch + +------------------------------------------------------------------- New: ---- ocaml-gen.patch ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ ocaml-gen.spec ++++++ --- /var/tmp/diff_new_pack.FxxOyx/_old 2021-05-07 16:46:14.484194679 +0200 +++ /var/tmp/diff_new_pack.FxxOyx/_new 2021-05-07 16:46:14.488194666 +0200 @@ -33,9 +33,10 @@ Group: Development/Languages/OCaml URL: https://opam.ocaml.org/packages/gen Source0: %{pkg}-%{version}.tar.xz +Patch0: %{pkg}.patch BuildRequires: ocaml BuildRequires: ocaml-dune -BuildRequires: ocaml-rpm-macros >= 20210121 +BuildRequires: ocaml-rpm-macros >= 20210409 %if 1 BuildRequires: ocamlfind(bytes) BuildRequires: ocamlfind(dune.configurator) ++++++ _service ++++++ --- /var/tmp/diff_new_pack.FxxOyx/_old 2021-05-07 16:46:14.528194541 +0200 +++ /var/tmp/diff_new_pack.FxxOyx/_new 2021-05-07 16:46:14.528194541 +0200 @@ -1,11 +1,13 @@ <services> <service name="tar_scm" mode="disabled"> <param name="filename">ocaml-gen</param> - <param name="revision">runtest-0.5.3</param> + <param name="revision">80f748cad171740789ebd4109f360609eab1f5ab</param> <param name="scm">git</param> <param name="submodules">disable</param> - <param name="url">https://github.com/olafhering/ocaml-gen.git</param> + <param name="url">https://github.com/c-cube/gen.git</param> <param name="versionformat">@PARENT_TAG@</param> + <param name="versionrewrite-pattern">[v]?([^\+]+)(.*)</param> + <param name="versionrewrite-replacement">\1</param> </service> <service name="recompress" mode="disabled"> <param name="file">*.tar</param> ++++++ ocaml-gen-0.5.3.tar.xz ++++++ diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/ocaml-gen-0.5.3/.gitignore new/ocaml-gen-0.5.3/.gitignore --- old/ocaml-gen-0.5.3/.gitignore 1970-01-01 01:00:00.000000000 +0100 +++ new/ocaml-gen-0.5.3/.gitignore 2020-05-12 16:01:46.000000000 +0200 @@ -0,0 +1,20 @@ +.*.swp +.*.swo +_build +*.native +*.byte +.session +TAGS +*.docdir +*.log +setup.data +qtest +.merlin +*.install + +# BuckleScript +node_modules +lib/bs +lib/ocaml +*.bs.js +bs-gen-*.tgz diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/ocaml-gen-0.5.3/dune-project new/ocaml-gen-0.5.3/dune-project --- old/ocaml-gen-0.5.3/dune-project 2019-11-04 08:56:10.000000000 +0100 +++ new/ocaml-gen-0.5.3/dune-project 2020-05-12 16:01:46.000000000 +0200 @@ -1 +1 @@ -(lang dune 1.11) +(lang dune 1.1) diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/ocaml-gen-0.5.3/src/dune new/ocaml-gen-0.5.3/src/dune --- old/ocaml-gen-0.5.3/src/dune 2019-11-04 08:56:10.000000000 +0100 +++ new/ocaml-gen-0.5.3/src/dune 2020-05-12 16:01:46.000000000 +0200 @@ -22,17 +22,5 @@ (flags :standard -warn-error -a+8 -safe-string -nolabels) (ocamlopt_flags :standard (:include flambda.flags)) (libraries bytes) - ) + (inline_tests (backend qtest.lib))) -(test - (name inline_test) - (modules inline_test) - (libraries gen oUnit qcheck)) - -(rule - (target inline_test.ml) - (deps gen.ml) - (action - (with-stdout-to - %{target} - (run qtest extract %{deps})))) ++++++ ocaml-gen.patch ++++++ From: Olaf Hering <[email protected]> Subject: extract inline tests manually https://discuss.ocaml.org/t/requirements-for-dune-inline-tests/4553 Fixes #19 Signed-off-by: Olaf Hering <[email protected]> --- dune-project | 2 +- src/dune | 14 +++++++++++++- 2 files changed, 14 insertions(+), 2 deletions(-) diff --git a/dune-project b/dune-project index 7655de0..0636ab6 100644 --- a/dune-project +++ b/dune-project @@ -1 +1 @@ -(lang dune 1.1) +(lang dune 1.11) diff --git a/src/dune b/src/dune index 1e7b505..8b5096a 100644 --- a/src/dune +++ b/src/dune @@ -22,5 +22,17 @@ (flags :standard -warn-error -a+8 -safe-string -nolabels) (ocamlopt_flags :standard (:include flambda.flags)) (libraries bytes) - (inline_tests (backend qtest.lib))) + ) +(test + (name inline_test) + (modules inline_test) + (libraries gen oUnit qcheck)) + +(rule + (target inline_test.ml) + (deps gen.ml) + (action + (with-stdout-to + %{target} + (run qtest extract %{deps}))))
