Hello community,

here is the log from the commit of package ocaml-extlib for openSUSE:Factory 
checked in at 2019-11-12 16:11:46
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/ocaml-extlib (Old)
 and      /work/SRC/openSUSE:Factory/.ocaml-extlib.new.2990 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "ocaml-extlib"

Tue Nov 12 16:11:46 2019 rev:7 rq:746699 version:1.7.6

Changes:
--------
--- /work/SRC/openSUSE:Factory/ocaml-extlib/ocaml-extlib.changes        
2019-05-09 14:28:20.533929682 +0200
+++ /work/SRC/openSUSE:Factory/.ocaml-extlib.new.2990/ocaml-extlib.changes      
2019-11-12 16:11:49.631778652 +0100
@@ -1,0 +2,6 @@
+Fri Nov  1 12:34:56 UTC 2019 - [email protected]
+
+- Require current dune macros
+- Use _service file
+
+-------------------------------------------------------------------

Old:
----
  ocaml-extlib-1.7.6.tar.gz

New:
----
  _service
  ocaml-extlib-1.7.6.tar.xz

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

Other differences:
------------------
++++++ ocaml-extlib.spec ++++++
--- /var/tmp/diff_new_pack.5M7MAO/_old  2019-11-12 16:11:50.223779289 +0100
+++ /var/tmp/diff_new_pack.5M7MAO/_new  2019-11-12 16:11:50.227779293 +0100
@@ -13,7 +13,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/
 #
 
 
@@ -25,12 +25,11 @@
 License:        LGPL-2.1-or-later WITH OCaml-LGPL-linking-exception
 Group:          Development/Languages/OCaml
 Url:            https://github.com/ygrek/ocaml-extlib
-Source0:        
https://github.com/ygrek/ocaml-extlib/archive/%{version}/%{name}-%{version}.tar.gz
+Source0:        %{name}-%{version}.tar.xz
 BuildRequires:  ocaml
-BuildRequires:  ocaml-ocamldoc
-BuildRequires:  ocaml-rpm-macros >= 4.03
-BuildRequires:  ocamlfind(cppo_ocamlbuild)
-BuildRoot:      %{_tmppath}/%{name}-%{version}-build
+BuildRequires:  ocaml-cppo
+BuildRequires:  ocaml-dune
+BuildRequires:  ocaml-rpm-macros >= 20191101
 
 %description
 ExtLib is a project aiming at providing a complete - yet small -
@@ -50,43 +49,23 @@
 developing applications that use %{name}.
 
 %prep
-%setup -q -n %{name}-%{version}
+%autosetup -p1
 
 %build
-make build doc -j1
+dune_release_pkgs='extlib'
+%ocaml_dune_setup
+%ocaml_dune_build
 
 %install
-export DESTDIR=$RPM_BUILD_ROOT
-export OCAMLFIND_DESTDIR=$RPM_BUILD_ROOT%{_libdir}/ocaml
-mkdir -p $OCAMLFIND_DESTDIR
-make install -j1
-
-%files
-%defattr(-,root,root,-)
-%doc CHANGES README.md
-%license LICENSE
-%dir %{_libdir}/ocaml
-%dir %{_libdir}/ocaml/*
-%if 0%{?ocaml_native_compiler}
-%{_libdir}/ocaml/*/*.cmxs
-%endif
-
-%files devel
-%defattr(-,root,root,-)
-%doc CHANGES README.md src/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/*/*.mli
-%{_libdir}/ocaml/*/META
+%ocaml_dune_install
+%ocaml_create_file_list
+
+%check
+%ocaml_dune_test
+
+%files -f %{name}.files
+%doc README.md
+
+%files devel -f %{name}.files.devel
 
 %changelog

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