Hello community,

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

Package is "ocaml-sedlex"

Mon Mar  9 15:23:13 2020 rev:4 rq:777982 version:2.1

Changes:
--------
--- /work/SRC/openSUSE:Factory/ocaml-sedlex/ocaml-sedlex.changes        
2019-11-08 15:24:16.294902448 +0100
+++ /work/SRC/openSUSE:Factory/.ocaml-sedlex.new.26092/ocaml-sedlex.changes     
2020-03-09 15:23:22.816197749 +0100
@@ -1,0 +2,8 @@
+Fri Nov  1 12:34:56 UTC 2019 - oher...@suse.de
+
+- Require current dune macros
+- Use _service file
+- Remove unicode-data.diff and dependency to unicode-ucd due to
+  usage of dune release profile
+
+-------------------------------------------------------------------

Old:
----
  ocaml-sedlex-2.1.tar.gz
  unicode-data.diff

New:
----
  _service
  ocaml-sedlex-2.1.tar.xz

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

Other differences:
------------------
++++++ ocaml-sedlex.spec ++++++
--- /var/tmp/diff_new_pack.yVvpR3/_old  2020-03-09 15:23:23.456198037 +0100
+++ /var/tmp/diff_new_pack.yVvpR3/_new  2020-03-09 15:23:23.460198039 +0100
@@ -23,23 +23,15 @@
 Summary:        Unicode-friendly lexer generator
 License:        MIT
 Group:          Development/Languages/OCaml
-
-URL:            https://github.com/alainfrisch/sedlex
-Source0:        
https://github.com/alainfrisch/sedlex/archive/v%{version}/%{name}-%{version}.tar.gz
-BuildRoot:      %{_tmppath}/%{name}-%{version}-build
-
-# Use unicode data files from unicode-ucd
-Patch0:         unicode-data.diff
-
+URL:            https://github.com/ocaml-community/sedlex
+Source0:        %{name}-%{version}.tar.xz
 BuildRequires:  ocaml
 BuildRequires:  ocaml-dune
-BuildRequires:  ocaml-findlib
-BuildRequires:  ocaml-gen-devel
-BuildRequires:  ocaml-migrate-parsetree-devel
-BuildRequires:  ocaml-ppx_tools_versioned-devel
-BuildRequires:  ocaml-result-devel
-BuildRequires:  ocaml-rpm-macros >= 20190930
-BuildRequires:  unicode-ucd
+BuildRequires:  ocaml-rpm-macros >= 20191101
+BuildRequires:  ocamlfind(gen)
+BuildRequires:  ocamlfind(ocaml-migrate-parsetree)
+BuildRequires:  ocamlfind(ppx_tools_versioned.metaquot_405)
+BuildRequires:  ocamlfind(uchar)
 
 %description
 A lexer generator for OCaml, similar to ocamllex, but supporting Unicode.
@@ -56,12 +48,11 @@
 The %{name}-devel package contains libraries and signature files for
 developing applications that use %{name}.
 
-
 %prep
-%setup -q -n sedlex-%{version}
-%patch0 -p1
+%autosetup -p1
 
 %build
+dune_release_pkgs='sedlex'
 %ocaml_dune_setup
 %ocaml_dune_build
 
@@ -73,8 +64,7 @@
 %ocaml_dune_test
 
 %files -f %{name}.files
-%doc README.md CHANGES
-%license LICENSE
+%doc README.md
 
 %files devel -f %{name}.files.devel
 

++++++ _service ++++++
<services>
  <service name="tar_scm" mode="disabled">
    <param name="url">https://github.com/ocaml-community/sedlex.git</param>
    <param name="scm">git</param>
    <param name="versionformat">2.1</param>
    <!-- v2.1 -->
    <param name="revision">82175adf61d604b1ebbf5ce4136cb6bba6ecf6cb</param>
    <param name="filename">ocaml-sedlex</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