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 - oher...@suse.de
+
+- 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 ++
https://github.com/dune-universe/ocamlgraph.git
git
1.8.8
duniverse-v1.8.8
ocaml-ocamlgraph
.gitignore
.merlin
.ocp-indent
CREDITS
FAQ
INSTALL.adoc
META.in
Makefile.in
TODO.adoc
benchs
examples
misc
papers
proofs
tests
view_graph
www
*.tar
xz