Hello community,

here is the log from the commit of package ocaml-sedlex for openSUSE:Factory 
checked in at 2019-01-11 14:05:59
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/ocaml-sedlex (Old)
 and      /work/SRC/openSUSE:Factory/.ocaml-sedlex.new.28833 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "ocaml-sedlex"

Fri Jan 11 14:05:59 2019 rev:2 rq:664426 version:1.99.4

Changes:
--------
--- /work/SRC/openSUSE:Factory/ocaml-sedlex/ocaml-sedlex.changes        
2018-07-06 10:40:38.191351755 +0200
+++ /work/SRC/openSUSE:Factory/.ocaml-sedlex.new.28833/ocaml-sedlex.changes     
2019-01-11 14:06:50.335718557 +0100
@@ -1,0 +2,6 @@
+Fri Dec 21 06:44:38 UTC 2018 - [email protected]
+
+- Add ppx_tools_versioned-521.patch that fixes compatibility with
+  ppx_tools_versioned 5.2.1.
+
+-------------------------------------------------------------------

New:
----
  ppx_tools_versioned-521.patch

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

Other differences:
------------------
++++++ ocaml-sedlex.spec ++++++
--- /var/tmp/diff_new_pack.8s477m/_old  2019-01-11 14:06:51.379717507 +0100
+++ /var/tmp/diff_new_pack.8s477m/_new  2019-01-11 14:06:51.379717507 +0100
@@ -15,6 +15,7 @@
 # Please submit bugfixes or comments via http://bugs.opensuse.org/
 #
 
+
 Name:           ocaml-sedlex
 Version:        1.99.4
 Release:        0
@@ -27,13 +28,16 @@
 Source0:        
https://github.com/alainfrisch/sedlex/archive/v%{version}/%{name}-%{version}.tar.gz
 BuildRoot:      %{_tmppath}/%{name}-%{version}-build
 
+# https://github.com/ocaml-community/sedlex/issues/64#issuecomment-433198249
+Patch0:         ppx_tools_versioned-521.patch
+
 BuildRequires:  ocaml
 BuildRequires:  ocaml-findlib
-BuildRequires:  ocaml-ocamldoc
-BuildRequires:  ocaml-result-devel
+BuildRequires:  ocaml-gen-devel
 BuildRequires:  ocaml-migrate-parsetree-devel
+BuildRequires:  ocaml-ocamldoc
 BuildRequires:  ocaml-ppx_tools_versioned-devel
-BuildRequires:  ocaml-gen-devel
+BuildRequires:  ocaml-result-devel
 BuildRequires:  ocaml-rpm-macros
 
 %description
@@ -47,7 +51,6 @@
 Group:          Development/Languages/OCaml
 Requires:       %{name} = %{version}
 
-
 %description    devel
 The %{name}-devel package contains libraries and signature files for
 developing applications that use %{name}.
@@ -55,7 +58,7 @@
 
 %prep
 %setup -q -n sedlex-%{version}
-
+%patch0 -p1
 
 %build
 make %{?_smp_mflags}
@@ -64,7 +67,6 @@
 make %{?_smp_mflags} opt
 %endif
 
-
 %install
 export DESTDIR=$RPM_BUILD_ROOT
 export OCAMLFIND_DESTDIR=$RPM_BUILD_ROOT%{_libdir}/ocaml
@@ -78,7 +80,6 @@
 make install_byteonly
 %endif
 
-
 %files
 %defattr(-,root,root,-)
 %doc README.md CHANGES

++++++ ppx_tools_versioned-521.patch ++++++
diff --git a/src/syntax/Makefile b/src/syntax/Makefile
index ec5b86f..636531e 100644
--- a/src/syntax/Makefile
+++ b/src/syntax/Makefile
@@ -8,7 +8,7 @@ SRCS=sedlex_cset.mli sedlex_cset.ml unicode63.mli unicode63.ml 
sedlex.mli sedlex

 OCAMLC=ocamlfind ocamlc
 OCAMLOPT=ocamlfind ocamlopt
-PACKAGES=-package ppx_tools_versioned.metaquot_405 -package 
ocaml-migrate-parsetree
+PACKAGES=-package ppx_tools_versioned.metaquot_405 -package 
ocaml-migrate-parsetree -package ppx_tools_versioned
 OCAMLFLAGS=$(PACKAGES) -linkall -w +A-4-9-42 -annot

 all: ppx_sedlex$(EXE) sedlex.cma

Reply via email to