Hello community,
here is the log from the commit of package ocaml-ppx_tools_versioned for
openSUSE:Factory checked in at 2019-10-24 23:02:02
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/ocaml-ppx_tools_versioned (Old)
and /work/SRC/openSUSE:Factory/.ocaml-ppx_tools_versioned.new.2990 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "ocaml-ppx_tools_versioned"
Thu Oct 24 23:02:02 2019 rev:6 rq:735916 version:5.2.3
Changes:
--------
---
/work/SRC/openSUSE:Factory/ocaml-ppx_tools_versioned/ocaml-ppx_tools_versioned.changes
2019-07-28 10:23:02.776567367 +0200
+++
/work/SRC/openSUSE:Factory/.ocaml-ppx_tools_versioned.new.2990/ocaml-ppx_tools_versioned.changes
2019-10-24 23:02:04.180026147 +0200
@@ -1,0 +2,5 @@
+Mon Sep 30 12:34:56 UTC 2019 - [email protected]
+
+- use dune macros from ocaml-rpm-macros
+
+-------------------------------------------------------------------
Old:
----
ppx_tools_versioned-5.2.3.tar.gz
New:
----
_service
ocaml-ppx_tools_versioned-5.2.3.tar.xz
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Other differences:
------------------
++++++ ocaml-ppx_tools_versioned.spec ++++++
--- /var/tmp/diff_new_pack.bpg2Wb/_old 2019-10-24 23:02:05.564027737 +0200
+++ /var/tmp/diff_new_pack.bpg2Wb/_new 2019-10-24 23:02:05.580027756 +0200
@@ -24,14 +24,11 @@
License: MIT
Group: Development/Languages/OCaml
Url: https://github.com/ocaml-ppx/ppx_tools_versioned
-Source:
https://github.com/ocaml-ppx/ppx_tools_versioned/archive/%{version}/ppx_tools_versioned-%{version}.tar.gz
+Source: %{name}-%{version}.tar.xz
BuildRequires: ocaml
BuildRequires: ocaml-dune
-BuildRequires: ocaml-migrate-parsetree-devel
-BuildRequires: ocaml-result-devel
-BuildRequires: ocaml-rpm-macros
-BuildRequires: opam-installer
-BuildRoot: %{_tmppath}/%{name}-%{version}-build
+BuildRequires: ocaml-rpm-macros >= 20190930
+BuildRequires: ocamlfind(ocaml-migrate-parsetree)
%description
A variant of ppx_tools based on ocaml-migrate-parsetree.
@@ -46,55 +43,23 @@
developing applications that use %{name}.
%prep
-%setup -q -n ppx_tools_versioned-%{version}
+%autosetup -p1
%build
-dune build @install --profile=release
+%ocaml_dune_setup
+%ocaml_dune_build
%install
-dune install --destdir="%{buildroot}" --verbose
+%ocaml_dune_install
+%ocaml_create_file_list
-# These files will be installed using the doc and license directives
-rm %{buildroot}/usr/doc/ppx_tools_versioned/{LICENSE,README.md}
+%check
+%ocaml_dune_test
-%files
-%defattr(-,root,root)
-%doc README.md
+%files -f %{name}.files
%license LICENSE
-%dir %{_libdir}/ocaml
-%dir %{_libdir}/ocaml/*
-%if 0%{?ocaml_native_compiler}
-%{_libdir}/ocaml/*/*.cmxs
-%{_libdir}/ocaml/*/*/*.cmxs
-%endif
-
-%files devel
-%defattr(-,root,root,-)
%doc README.md
-%license LICENSE
-%dir %{_libdir}/ocaml/*
-%dir %{_libdir}/ocaml/*/metaquot_*
-%if 0%{?ocaml_native_compiler}
-%{_libdir}/ocaml/*/*.a
-%{_libdir}/ocaml/*/*.cmx
-%{_libdir}/ocaml/*/*.cmxa
-%{_libdir}/ocaml/*/*/*.a
-%{_libdir}/ocaml/*/*/*.cmx
-%{_libdir}/ocaml/*/*/*.cmxa
-%endif
-%{_libdir}/ocaml/*/META
-%{_libdir}/ocaml/*/opam
-%{_libdir}/ocaml/*/dune-package
-%{_libdir}/ocaml/*/*.cma
-%{_libdir}/ocaml/*/*.cmi
-%{_libdir}/ocaml/*/*.cmt
-%{_libdir}/ocaml/*/*.cmti
-%{_libdir}/ocaml/*/*.ml
-%{_libdir}/ocaml/*/*.mli
-%{_libdir}/ocaml/*/*/*.cma
-%{_libdir}/ocaml/*/*/*.cmi
-%{_libdir}/ocaml/*/*/*.cmt
-%{_libdir}/ocaml/*/*/*.ml
-%{_libdir}/ocaml/*/*/*.exe
+
+%files devel -f %{name}.files.devel
%changelog
++++++ _service ++++++
<services>
<service name="tar_scm" mode="disabled">
<param
name="url">https://github.com/ocaml-ppx/ppx_tools_versioned.git</param>
<param name="scm">git</param>
<param name="versionformat">5.2.3</param>
<param name="revision">5.2.3</param>
<param name="filename">ocaml-ppx_tools_versioned</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>