Accepting request 528212 from devel:languages:erlang:Factory

1

OBS-URL: https://build.opensuse.org/request/show/528212
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/erlang?expand=0&rev=58
This commit is contained in:
Dominique Leuenberger 2017-09-23 19:35:51 +00:00 committed by Git OBS Bridge
commit 5bbcce7949
4 changed files with 30 additions and 7 deletions

View File

@ -1,3 +0,0 @@
version https://git-lfs.github.com/spec/v1
oid sha256:4fb811b1811561f78a128c67e40b1b774354b358a4b61a9b641f0ecb06002f66
size 52809104

3
OTP-20.0.5.tar.gz Normal file
View File

@ -0,0 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:45b6966362c3a4da292d470ef25af9f91b851d4e96d3736abdabbba0556acf6c
size 52811979

View File

@ -1,3 +1,26 @@
-------------------------------------------------------------------
Thu Sep 14 20:36:14 UTC 2017 - matwey.kornilov@gmail.com
- Only Java 1.6 is supported by Erlang since 18.0 release
-------------------------------------------------------------------
Thu Sep 14 20:05:23 UTC 2017 - matwey.kornilov@gmail.com
- Update to 20.0.5:
* erts: Fixed bug in binary_to_term and binary_to_atom that could
cause VM crash. Typically happens when the last character of an
UTF8 string is in the range 128 to 255, but truncated to only
one byte. Bug exists in binary_to_term since ERTS version
5.10.2 (OTP_R16B01) and binary_to_atom since ERTS version 9.0
(OTP-20.0).
* inets: http_uri aligned to follow RFC 3986 and not convert "+"
to space when decoding URIs.
* inets: Added new option max_client_body_chunk to httpd server
to allow chunked delivery of PUT and POST data to mod_esi
callback. Note, new mod_esi callback implementation is
required. Also correct value provided by server_name
environment variable.
------------------------------------------------------------------- -------------------------------------------------------------------
Sun Aug 27 14:19:49 UTC 2017 - matwey.kornilov@gmail.com Sun Aug 27 14:19:49 UTC 2017 - matwey.kornilov@gmail.com

View File

@ -21,7 +21,7 @@
%endif %endif
Name: erlang Name: erlang
Version: 20.0.4 Version: 20.0.5
Release: 0 Release: 0
# not set up to be built with position independend executable support # not set up to be built with position independend executable support
#!BuildIgnore: gcc-PIE #!BuildIgnore: gcc-PIE
@ -168,7 +168,7 @@ An event tracer for Erlang programs.
Summary: Erlang Java Interface Summary: Erlang Java Interface
Group: Development/Libraries/Java Group: Development/Libraries/Java
Requires: %{name} = %{version} Requires: %{name} = %{version}
Requires: java >= 1.5.0 Requires: java >= 1.6.0
%description jinterface %description jinterface
JInterface module for accessing erlang from Java JInterface module for accessing erlang from Java
@ -317,10 +317,10 @@ sed -i 's|SSL_DYNAMIC_ONLY=no|SSL_DYNAMIC_ONLY=yes|' erts/configure
sed -i 's|WX_LIBS=`$WX_CONFIG_WITH_ARGS --libs`|WX_LIBS="`$WX_CONFIG_WITH_ARGS --libs` -lGLU"|' lib/wx/configure || return 1 sed -i 's|WX_LIBS=`$WX_CONFIG_WITH_ARGS --libs`|WX_LIBS="`$WX_CONFIG_WITH_ARGS --libs` -lGLU"|' lib/wx/configure || return 1
%build %build
# we need build only 1.5 target for java # we need build only 1.6 target for java
# for SLE only # for SLE only
%if 0%{?sles_version} >= 10 || 0%{?suse_version} >= 1110 %if 0%{?sles_version} >= 10 || 0%{?suse_version} >= 1110
export JAVAC="javac -source 1.5 -target 1.5" export JAVAC="javac -source 1.6 -target 1.6"
%endif %endif
%if 0%{?suse_version} == 1100 || 0%{?fedora_version} == 9 %if 0%{?suse_version} == 1100 || 0%{?fedora_version} == 9
export CFLAGS="-fno-strict-aliasing" export CFLAGS="-fno-strict-aliasing"