Hello community, here is the log from the commit of package ocaml-ppx_derivers for openSUSE:Factory checked in at 2019-10-24 23:01:59 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/ocaml-ppx_derivers (Old) and /work/SRC/openSUSE:Factory/.ocaml-ppx_derivers.new.2990 (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "ocaml-ppx_derivers" Thu Oct 24 23:01:59 2019 rev:3 rq:735915 version:1.2.1 Changes: -------- --- /work/SRC/openSUSE:Factory/ocaml-ppx_derivers/ocaml-ppx_derivers.changes 2019-05-16 22:09:57.902286741 +0200 +++ /work/SRC/openSUSE:Factory/.ocaml-ppx_derivers.new.2990/ocaml-ppx_derivers.changes 2019-10-24 23:01:59.312020552 +0200 @@ -1,0 +2,5 @@ +Mon Sep 30 12:34:56 UTC 2019 - [email protected] + +- use dune macros from ocaml-rpm-macros + +------------------------------------------------------------------- Old: ---- ocaml-ppx_derivers-1.2.1.tar.gz New: ---- _service ocaml-ppx_derivers-1.2.1.tar.xz ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ ocaml-ppx_derivers.spec ++++++ --- /var/tmp/diff_new_pack.bmEfed/_old 2019-10-24 23:01:59.952021287 +0200 +++ /var/tmp/diff_new_pack.bmEfed/_new 2019-10-24 23:01:59.952021287 +0200 @@ -25,14 +25,11 @@ Group: Development/Languages/OCaml URL: https://github.com/ocaml-ppx/ppx_derivers -Source0: https://github.com/ocaml-ppx/ppx_derivers/archive/%{version}/%{name}-%{version}.tar.gz -BuildRoot: %{_tmppath}/%{name}-%{version}-build +Source0: %{name}-%{version}.tar.xz BuildRequires: ocaml BuildRequires: ocaml-dune -BuildRequires: ocaml-findlib -BuildRequires: ocaml-rpm-macros -BuildRequires: opam-installer +BuildRequires: ocaml-rpm-macros >= 20190930 %description Ppx_derivers is a tiny package whose sole purpose is to allow @@ -50,47 +47,23 @@ %prep -%setup -q -n ppx_derivers-%{version} +%autosetup -p1 %build -dune build @install +%ocaml_dune_setup +%ocaml_dune_build %install -mkdir -p %{buildroot}%{_libdir}/ocaml -dune install --destdir=%{buildroot} +%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.md CHANGES.md +%files -f %{name}.files %license LICENSE.md -%dir %{_libdir}/ocaml -%dir %{_libdir}/ocaml/* -%if 0%{?ocaml_native_compiler} -%{_libdir}/ocaml/*/*.cmxs -%endif - -%files devel -%defattr(-,root,root,-) -%doc README.md CHANGES.md -%license LICENSE.md -%dir %{_libdir}/ocaml -%dir %{_libdir}/ocaml/* -%if 0%{?ocaml_native_compiler} -%{_libdir}/ocaml/*/*.a -%{_libdir}/ocaml/*/*.cmx -%{_libdir}/ocaml/*/*.cmxa -%endif -%{_libdir}/ocaml/*/opam -%{_libdir}/ocaml/*/META -%{_libdir}/ocaml/*/dune-package -%{_libdir}/ocaml/*/*.ml -%{_libdir}/ocaml/*/*.mli -%{_libdir}/ocaml/*/*.cma -%{_libdir}/ocaml/*/*.cmi -%{_libdir}/ocaml/*/*.cmt -%{_libdir}/ocaml/*/*.cmti +%doc README.md + +%files devel -f %{name}.files.devel %changelog ++++++ _service ++++++ <services> <service name="tar_scm" mode="disabled"> <param name="url">https://github.com/ocaml-ppx/ppx_derivers.git</param> <param name="scm">git</param> <param name="versionformat">1.2.1</param> <param name="revision">1.2.1</param> <param name="filename">ocaml-ppx_derivers</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>
