Hello community,
here is the log from the commit of package ocaml-ocamlgraph for
openSUSE:Factory checked in at 2020-03-09 14:13:44
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/ocaml-ocamlgraph (Old)
and /work/SRC/openSUSE:Factory/.ocaml-ocamlgraph.new.26092 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "ocaml-ocamlgraph"
Mon Mar 9 14:13:44 2020 rev:3 rq:778058 version:1.8.8
Changes:
--------
--- /work/SRC/openSUSE:Factory/ocaml-ocamlgraph/ocaml-ocamlgraph.changes
2018-07-13 10:21:00.186430463 +0200
+++
/work/SRC/openSUSE:Factory/.ocaml-ocamlgraph.new.26092/ocaml-ocamlgraph.changes
2020-03-09 14:13:47.718522861 +0100
@@ -1,0 +2,7 @@
+Thu Feb 20 20:20:20 UTC 2020 - [email protected]
+
+- Require current ocaml-rpm-macros
+- Use _service file
+- Build with dune
+
+-------------------------------------------------------------------
Old:
----
ocamlgraph-1.8.8.tar.gz
New:
----
_service
ocaml-ocamlgraph-1.8.8.tar.xz
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Other differences:
------------------
++++++ ocaml-ocamlgraph.spec ++++++
--- /var/tmp/diff_new_pack.hTBsjj/_old 2020-03-09 14:13:48.590523436 +0100
+++ /var/tmp/diff_new_pack.hTBsjj/_new 2020-03-09 14:13:48.590523436 +0100
@@ -12,7 +12,7 @@
# license that conforms to the Open Source Definition (Version 1.9)
# published by the Open Source Initiative.
-# Please submit bugfixes or comments via http://bugs.opensuse.org/
+# Please submit bugfixes or comments via https://bugs.opensuse.org/
#
@@ -23,17 +23,11 @@
Summary: Graph library for OCaml
License: LGPL-2.1
Group: Development/Languages/OCaml
-Url: http://ocamlgraph.lri.fr
-Source: http://ocamlgraph.lri.fr/download/ocamlgraph-%{version}.tar.gz
+Url: https://github.com/backtracking/ocamlgraph
+Source: %{name}-%{version}.tar.xz
BuildRequires: ocaml
-BuildRequires: ocaml-oasis
-BuildRequires: ocaml-ocamldoc
-BuildRequires: ocaml-rpm-macros >= 4.03
-BuildRequires: ocamlfind(lablgl)
-BuildRequires: ocamlfind(lablgtk2)
-BuildRoot: %{_tmppath}/%{name}-%{version}-build
-
-%global __requires_exclude ocaml\\\(Sig\\\)
+BuildRequires: ocaml-dune
+BuildRequires: ocaml-rpm-macros >= 20200220
%description
OCamlgraph is a graph library for Objective Caml.
@@ -49,42 +43,23 @@
This package contains development files for %{name}.
%prep
-%setup -q -n ocamlgraph-%{version}
+%autosetup -p1
%build
-%configure
-make %{?_smp_mflags}
+dune_release_pkgs='ocamlgraph'
+%ocaml_dune_setup
+%ocaml_dune_build
%install
-%makeinstall
-find %{buildroot} -ls
-find %{buildroot} -name "*o" -print -delete
-install -m0644 META %{buildroot}%{_libdir}/ocaml/ocamlgraph
-
-%files
-%defattr(-,root,root)
-%doc CHANGES COPYING CREDITS FAQ
-%license LICENSE
-%{_bindir}/*
-%dir %{_libdir}/ocaml
-%dir %{_libdir}/ocaml/*
-%if 0%{?ocaml_native_compiler}
-%{_libdir}/ocaml/*/*.cmxs
-%endif
-
-%files devel
-%defattr(-,root,root,-)
-%license LICENSE
-%dir %{_libdir}/ocaml
-%dir %{_libdir}/ocaml/*
-%if 0%{?ocaml_native_compiler}
-%{_libdir}/ocaml/*/*.a
-%{_libdir}/ocaml/*/*.cmx
-%{_libdir}/ocaml/*/*.cmxa
-%endif
-%{_libdir}/ocaml/*/*.cma
-%{_libdir}/ocaml/*/*.cmi
-%{_libdir}/ocaml/*/*.mli
-%{_libdir}/ocaml/*/META
+%ocaml_dune_install
+%ocaml_create_file_list
+
+%check
+%ocaml_dune_test
+
+%files -f %{name}.files
+%doc README.adoc
+
+%files devel -f %{name}.files.devel
%changelog
++++++ _service ++++++
<services>
<service name="tar_scm" mode="disabled">
<param name="url">https://github.com/dune-universe/ocamlgraph.git</param>
<param name="scm">git</param>
<param name="versionformat">1.8.8</param>
<param name="revision">duniverse-v1.8.8</param>
<param name="filename">ocaml-ocamlgraph</param>
<param name='exclude'>.gitignore</param>
<param name='exclude'>.merlin</param>
<param name='exclude'>.ocp-indent</param>
<param name='exclude'>CREDITS</param>
<param name='exclude'>FAQ</param>
<param name='exclude'>INSTALL.adoc</param>
<param name='exclude'>META.in</param>
<param name='exclude'>Makefile.in</param>
<param name='exclude'>TODO.adoc</param>
<param name='exclude'>benchs</param>
<param name='exclude'>examples</param>
<param name='exclude'>misc</param>
<param name='exclude'>papers</param>
<param name='exclude'>proofs</param>
<param name='exclude'>tests</param>
<param name='exclude'>view_graph</param>
<param name='exclude'>www</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>