Hello community,

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

Package is "ocaml-result"

Mon Nov 11 13:01:16 2019 rev:4 rq:747296 version:1.4

Changes:
--------
--- /work/SRC/openSUSE:Factory/ocaml-result/ocaml-result.changes        
2019-10-24 23:02:12.768036016 +0200
+++ /work/SRC/openSUSE:Factory/.ocaml-result.new.2990/ocaml-result.changes      
2019-11-11 13:01:25.153755692 +0100
@@ -1,0 +2,6 @@
+Fri Nov  1 12:34:56 UTC 2019 - [email protected]
+
+- Require current dune macros
+- Use _service file
+
+-------------------------------------------------------------------

Old:
----
  result-1.4.tar.gz

New:
----
  _service
  ocaml-result-1.4.tar.xz

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

Other differences:
------------------
++++++ ocaml-result.spec ++++++
--- /var/tmp/diff_new_pack.t5Ou2Z/_old  2019-11-11 13:01:26.497757115 +0100
+++ /var/tmp/diff_new_pack.t5Ou2Z/_new  2019-11-11 13:01:26.525757145 +0100
@@ -16,7 +16,6 @@
 #
 
 
-%define _name   result
 Name:           ocaml-result
 Version:        1.4
 Release:        0
@@ -25,10 +24,10 @@
 License:        BSD-3-Clause
 Group:          Development/Languages/OCaml
 Url:            https://github.com/janestreet/result
-Source0:        %{url}/archive/%{version}/%{_name}-%{version}.tar.gz
+Source0:        %{name}-%{version}.tar.xz
 BuildRequires:  ocaml
 BuildRequires:  ocaml-dune
-BuildRequires:  ocaml-rpm-macros >= 20190930
+BuildRequires:  ocaml-rpm-macros >= 20191101
 
 %description
 Projects that want to use the new result type defined in OCaml >= 4.03 while
@@ -48,9 +47,10 @@
 This package contains development files for %{name}.
 
 %prep
-%setup -q -n %{_name}-%{version}
+%autosetup -p1
 
 %build
+dune_release_pkgs='result'
 %ocaml_dune_setup
 %ocaml_dune_build
 
@@ -59,11 +59,9 @@
 %ocaml_create_file_list
 
 %check
-%ocaml_dune_test || : make check failed
+%ocaml_dune_test
 
 %files -f %{name}.files
-%license LICENSE.md
-%doc README.md
 
 %files devel -f %{name}.files.devel
 

++++++ _service ++++++
<services>
  <service name="tar_scm" mode="disabled">
    <param name="filename">ocaml-result</param>
    <!-- 1.4 -->
    <param name="revision">5f7f1a4423ca3b9db4b4048d561f31fd6bfd9ab0</param>
    <param name="scm">git</param>
    <param name="submodules">disable</param>
    <param name="url">https://github.com/janestreet/result.git</param>
    <param name="versionformat">@PARENT_TAG@</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