Hello community,

here is the log from the commit of package ocaml-ptmap for openSUSE:Factory 
checked in at 2020-03-09 15:22:48
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/ocaml-ptmap (Old)
 and      /work/SRC/openSUSE:Factory/.ocaml-ptmap.new.26092 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "ocaml-ptmap"

Mon Mar  9 15:22:48 2020 rev:2 rq:777978 version:2.0.4

Changes:
--------
--- /work/SRC/openSUSE:Factory/ocaml-ptmap/ocaml-ptmap.changes  2018-07-18 
22:53:10.279113829 +0200
+++ /work/SRC/openSUSE:Factory/.ocaml-ptmap.new.26092/ocaml-ptmap.changes       
2020-03-09 15:22:50.296183146 +0100
@@ -1,0 +2,8 @@
+Fri Nov  1 12:34:56 UTC 2019 - [email protected]
+
+- Require current dune macros
+- Update to version 2.04, via _service file
+  add new Map methods introduced in OCaml 4.07
+- Remove 97849cd31363ac80306d714915d76dc5a06672cb.patch
+
+-------------------------------------------------------------------

Old:
----
  97849cd31363ac80306d714915d76dc5a06672cb.patch
  ocaml-ptmap-2.0.3.tar.gz

New:
----
  _service
  ocaml-ptmap-2.0.4.tar.xz

++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Other differences:
------------------
++++++ ocaml-ptmap.spec ++++++
--- /var/tmp/diff_new_pack.aX1Ar1/_old  2020-03-09 15:22:51.376183631 +0100
+++ /var/tmp/diff_new_pack.aX1Ar1/_new  2020-03-09 15:22:51.380183633 +0100
@@ -12,38 +12,31 @@
 # 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/
 #
 
 Name:           ocaml-ptmap
-Version:        2.0.3
+Version:        2.0.4
 Release:        0
 %{?ocaml_preserve_bytecode}
 Summary:        Maps over integers implemented as Patricia trees
 License:        LGPL-2.1-or-later WITH OCaml-linking-exception
 Group:          Development/Languages/OCaml
-
 URL:            https://github.com/backtracking/ptmap
-Source0:        
https://github.com/backtracking/ptmap/archive/v%{version}/%{name}-%{version}.tar.gz
-BuildRoot:      %{_tmppath}/%{name}-%{version}-build
-
-# https://github.com/backtracking/ptmap/pull/9
-Patch0:         
https://github.com/backtracking/ptmap/commit/97849cd31363ac80306d714915d76dc5a06672cb.patch
-
+Source0:        %{name}-%{version}.tar.xz
 BuildRequires:  ocaml
-BuildRequires:  ocaml-findlib
-BuildRequires:  ocaml-ocamldoc
-BuildRequires:  ocaml-obuild
-BuildRequires:  ocaml-ounit-devel
-BuildRequires:  ocaml-qcheck-devel
-BuildRequires:  ocaml-qtest
-BuildRequires:  ocaml-rpm-macros
+BuildRequires:  ocaml-dune
+BuildRequires:  ocaml-rpm-macros >= 20191101
+BuildRequires:  ocamlfind(oUnit)
+BuildRequires:  ocamlfind(qcheck)
+BuildRequires:  ocamlfind(qtest)
+BuildRequires:  ocamlfind(seq)
+BuildRequires:  ocamlfind(stdlib-shims)
 
 %description
 OCaml implementation of an efficient maps over integers,
 from a paper by Chris Okasaki.
 
-
 %package        devel
 Summary:        Development files for %{name}
 Group:          Development/Languages/OCaml
@@ -54,50 +47,23 @@
 The %{name}-devel package contains libraries and signature files for
 developing applications that use %{name}.
 
-
 %prep
-%setup -q -n ptmap-%{version}
-%patch0 -p1
-
+%autosetup -p1
 
 %build
-obuild configure
-obuild build
-obuild build lib-ptmap
-make doc
-
+dune_release_pkgs='ptmap'
+%ocaml_dune_setup
+%ocaml_dune_build
 
 %install
-export DESTDIR=$RPM_BUILD_ROOT
-export OCAMLFIND_DESTDIR=$RPM_BUILD_ROOT%{_libdir}/ocaml
-mkdir -p $OCAMLFIND_DESTDIR
-obuild install --destdir $OCAMLFIND_DESTDIR
-
-
-%files
-%defattr(-,root,root,-)
-%license LICENSE
-%dir %{_libdir}/ocaml
-%dir %{_libdir}/ocaml/*/
-%if 0%{?ocaml_native_compiler}
-%{_libdir}/ocaml/*/*.cmxs
-%endif
-
-%files devel
-%defattr(-,root,root,-)
-%doc doc/*
-%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/*/*.cmt
-%{_libdir}/ocaml/*/*.cmti
-%{_libdir}/ocaml/*/META
+%ocaml_dune_install
+%ocaml_create_file_list
+
+%check
+%ocaml_dune_test
+
+%files -f %{name}.files
+
+%files devel -f %{name}.files.devel
 
 %changelog

++++++ _service ++++++
<services>
  <service name="tar_scm" mode="disabled">
    <param name="filename">ocaml-ptmap</param>
    <param name="revision">dune</param>
    <param name="scm">git</param>
    <param name="url">https://github.com/olafhering/ocaml-ptmap.git</param>
    <param name="versionformat">2.0.4</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>

Reply via email to