Hello community,

here is the log from the commit of package haxe for openSUSE:Factory checked in 
at 2020-05-26 17:19:56
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/haxe (Old)
 and      /work/SRC/openSUSE:Factory/.haxe.new.2738 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "haxe"

Tue May 26 17:19:56 2020 rev:15 rq:808099 version:4.1.0

Changes:
--------
--- /work/SRC/openSUSE:Factory/haxe/haxe.changes        2019-12-21 
12:31:06.479355436 +0100
+++ /work/SRC/openSUSE:Factory/.haxe.new.2738/haxe.changes      2020-05-26 
17:20:11.432087051 +0200
@@ -1,0 +2,14 @@
+Fri May 22 05:25:31 UTC 2020 - Andy Li <[email protected]>
+
+- Update to 4.1.0
+  * added tail recursion elimination
+  * added unified exception handling
+  * allow try {} catch(e) {} as a shortcut
+  * eval : added SSL support
+  * jvm : the JVM target is no longer considered experimental
+  * For more improvements and changes, see
+    https://github.com/HaxeFoundation/haxe/releases/tag/4.1.0
+- Add upstream patch (quote_command_args.patch) to fix building
+  without git.
+
+-------------------------------------------------------------------

Old:
----
  haxe-4.0.5.tar.gz

New:
----
  haxe-4.1.0.tar.gz
  quote_command_args.patch

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

Other differences:
------------------
++++++ haxe.spec ++++++
--- /var/tmp/diff_new_pack.TPsq3H/_old  2020-05-26 17:20:12.340089004 +0200
+++ /var/tmp/diff_new_pack.TPsq3H/_new  2020-05-26 17:20:12.340089004 +0200
@@ -19,7 +19,7 @@
 %global commit_hx3compat f1f18201e5c0479cb5adf5f6028788b37f37b730
 
 Name:           haxe
-Version:        4.0.5
+Version:        4.1.0
 Release:        0
 Summary:        Multiplatform programming language
 License:        GPL-2.0+ and MIT
@@ -31,12 +31,17 @@
 Source0:        
https://github.com/HaxeFoundation/%{name}/archive/%{version}.tar.gz#/%{name}-%{version}.tar.gz
 Source1:        
https://github.com/HaxeFoundation/haxelib/archive/%{commit_haxelib}.tar.gz#/haxelib-%{commit_haxelib}.tar.gz
 Source2:        
https://github.com/HaxeFoundation/hx3compat/archive/%{commit_hx3compat}.tar.gz#/hx3compat-%{commit_hx3compat}.tar.gz
+
+# quote command args in Makefile
+Patch0:         quote_command_args.patch
+
 BuildRoot:      %{_tmppath}/%{name}-%{version}-build
 BuildRequires:  help2man
 BuildRequires:  neko-devel >= 2.3.0
 BuildRequires:  neko >= 2.3.0
 BuildRequires:  ocaml >= 4.02.3
 BuildRequires:  ocaml-findlib
+BuildRequires:  ocaml-dune
 BuildRequires:  ocaml-camlp5-devel
 BuildRequires:  ocaml-sedlex-devel >= 2.0
 BuildRequires:  ocaml-xml-light-devel
@@ -45,6 +50,7 @@
 BuildRequires:  ocaml-sha-devel
 BuildRequires:  pkgconfig(zlib)
 BuildRequires:  pcre-devel-static
+BuildRequires:  mbedtls-devel
 BuildRequires:  cmake
 Requires:       neko >= 2.3.0
 
@@ -63,10 +69,7 @@
 pushd extra/haxelib_src/hx3compat && tar -xf %{SOURCE2} --strip-components=1 
&& popd
 
 # note that the Makefile does not support parallel building
-
-# Check to see if ocamlopt exists. If not, bytecompile everything.
-# It is because ocamlopt may be missing in some architectures.
-command -v ocamlopt && make || make BYTECODE=1
+make haxe
 
 # Compile haxelib
 pushd extra/haxelib_src && \

++++++ haxe-4.0.5.tar.gz -> haxe-4.1.0.tar.gz ++++++
/work/SRC/openSUSE:Factory/haxe/haxe-4.0.5.tar.gz 
/work/SRC/openSUSE:Factory/.haxe.new.2738/haxe-4.1.0.tar.gz differ: char 18, 
line 1

++++++ quote_command_args.patch ++++++
>From 14346e9e5b4b59735568c2b9e7d44582db9564bb Mon Sep 17 00:00:00 2001
From: Andy Li <[email protected]>
Date: Thu, 21 May 2020 18:49:12 +0800
Subject: [PATCH] [Makefile] quote command args

Prevent build error when e.g. 1) git is not available, 2) source folder is not 
a git repo (downloaded from GitHub archive).
---
 Makefile | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/Makefile b/Makefile
index e7cc0f1ffa..361c0e5ca9 100644
--- a/Makefile
+++ b/Makefile
@@ -73,9 +73,9 @@ all: haxe tools
 haxe:
        $(DUNE_COMMAND) build --workspace dune-workspace.dev 
src-prebuild/prebuild.exe
        _build/default/src-prebuild/prebuild.exe libparams $(LIB_PARAMS) > 
lib.sexp
-       _build/default/src-prebuild/prebuild.exe version $(ADD_REVISION) 
$(BRANCH) $(COMMIT_SHA) > src/compiler/version.ml
+       _build/default/src-prebuild/prebuild.exe version "$(ADD_REVISION)" 
"$(BRANCH)" "$(COMMIT_SHA)" > src/compiler/version.ml
        $(DUNE_COMMAND) build --workspace dune-workspace.dev src/haxe.exe
-       cp -f _build/default/src/haxe.exe ./${HAXE_OUTPUT}
+       cp -f _build/default/src/haxe.exe ./"$(HAXE_OUTPUT)"
 
 plugin: haxe
        $(DUNE_COMMAND) build --workspace dune-workspace.dev 
plugins/$(PLUGIN)/$(PLUGIN).cmxs

Reply via email to