Hello community,

here is the log from the commit of package erlang for openSUSE:Factory checked 
in at 2013-02-17 16:56:43
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/erlang (Old)
 and      /work/SRC/openSUSE:Factory/.erlang.new (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "erlang", Maintainer is "[email protected]"

Changes:
--------
--- /work/SRC/openSUSE:Factory/erlang/erlang.changes    2013-01-10 
10:57:17.000000000 +0100
+++ /work/SRC/openSUSE:Factory/.erlang.new/erlang.changes       2013-02-17 
16:58:11.000000000 +0100
@@ -1,0 +2,20 @@
+Thu Feb  7 18:07:06 UTC 2013 - [email protected]
+
+- Add macros.erlang with some RPM macros for erlang packaging
+
+-------------------------------------------------------------------
+Mon Feb  4 10:54:07 UTC 2013 - [email protected]
+
+- update to R15B03-1 release:
+  + integrated fix for a bug in ssl that affected accept calls
+    with timeouts
+  + ERL_CRASH_DUMP_SECONDS only needs to be set when using heart,
+    all other invocations of the Erlang VM will crashdump on fatal
+    errors as they did in R15B02
+  + systems using heart still have to define a maximum time for
+    crashdumps using the ERL_CRASH_DUMP_SECONDS environment
+    variable
+- dropped otp-R15B03-fix_ssl_accept_timeout.patch
+  (fixed in release)
+
+-------------------------------------------------------------------

Old:
----
  otp-R15B03-fix_ssl_accept_timeout.patch
  otp_doc_html_R15B03.tar.gz
  otp_doc_man_R15B03.tar.gz
  otp_src_R15B03.tar.gz

New:
----
  macros.erlang
  otp_doc_html_R15B03-1.tar.gz
  otp_doc_man_R15B03-1.tar.gz
  otp_src_R15B03-1.tar.gz

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

Other differences:
------------------
++++++ erlang.spec ++++++
--- /var/tmp/diff_new_pack.ZL1X44/_old  2013-02-17 16:58:21.000000000 +0100
+++ /var/tmp/diff_new_pack.ZL1X44/_new  2013-02-17 16:58:21.000000000 +0100
@@ -17,27 +17,28 @@
 
 
 Name:           erlang
-Version:        R15B03
+%define otp_base_version R15B03
+%define otp_version %{otp_base_version}-1
+Version:        R15B03_1
 Release:        0
 Summary:        General-purpose programming language and runtime environment
 License:        ErlPL-1.1
 Group:          Development/Languages/Other
 Url:            http://www.erlang.org
-Source:         otp_src_%{version}.tar.gz
-#Source:        http://www.erlang.org/download/otp_src_%{version}.tar.gz
-Source1:        otp_doc_html_%{version}.tar.gz
-#Source1:       http://www.erlang.org/download/otp_doc_html_%{version}.tar.gz
-Source2:        otp_doc_man_%{version}.tar.gz
-#Source2:       http://www.erlang.org/download/otp_doc_man_%{version}.tar.gz
+Source:         otp_src_%{otp_version}.tar.gz
+#Source:        http://www.erlang.org/download/otp_src_%{otp_version}.tar.gz
+Source1:        otp_doc_html_%{otp_version}.tar.gz
+#Source1:       
http://www.erlang.org/download/otp_doc_html_%{otp_version}.tar.gz
+Source2:        otp_doc_man_%{otp_version}.tar.gz
+#Source2:       
http://www.erlang.org/download/otp_doc_man_%{otp_version}.tar.gz
 Source3:        %{name}-rpmlintrc
 Source4:        epmd.init
 Source5:        erlang.sysconfig
+Source6:        macros.erlang
 # PATCH-MISSING-TAG -- See 
http://en.opensuse.org/openSUSE:Packaging_Patches_guidelines
 Patch0:         otp-R15B02-rpath.patch
 # PATCH-MISSING-TAG -- See 
http://en.opensuse.org/openSUSE:Packaging_Patches_guidelines
 Patch1:         erlang-ppc.patch 
-# PATCH-FIX-UPSTREAM -- See 
http://erlang.org/pipermail/erlang-bugs/2012-November/003214.html
-Patch2:         otp-R15B03-fix_ssl_accept_timeout.patch
 # PATCH-FIX-UPSTREAM fix-armv7hl.patch - [email protected] -- this 
makes erlang build at Factory:ARM for armv7hl
 Patch3:         fix-armv7hl.patch
 # autoconf is required only by fix-armv7hl.patch
@@ -190,10 +191,9 @@
 A Graphics System used to write platform independent user interfaces.
 
 %prep
-%setup -q -n otp_src_%{version}
+%setup -q -n otp_src_%{otp_base_version}
 %patch0 -p1 -b .rpath
 %patch1 -p1
-%patch2 -p1
 %ifarch %arm
 %patch3 -p1
 autoreconf -si ./erts
@@ -296,6 +296,7 @@
 install -d -m 0750        %{buildroot}%{epmd_home}
 install -D -m 0755 %{S:4} %{buildroot}/etc/init.d/epmd
 install -D -m 0644 %{S:5} 
%{buildroot}/var/adm/fillup-templates/sysconfig.erlang
+install -D -m 0644 %{S:6} %{buildroot}%{_sysconfdir}/rpm/macros.erlang
 
 %pre
 /usr/sbin/groupadd -r epmd &>/dev/null || :
@@ -382,6 +383,7 @@
 %dir %attr(-,epmd,epmd) %{epmd_home}
 /etc/init.d/epmd
 /var/adm/fillup-templates/sysconfig.erlang
+%config %{_sysconfdir}/rpm/macros.erlang
 
 %files debugger
 %defattr(-,root,root)

++++++ macros.erlang ++++++
# macros.erlang
#

# suse-style macros
%erlang_dir    %{_libdir}/erlang
%erlang_libdir %{_libdir}/erlang/lib

%__rebar       /usr/bin/rebar
%rebar_compile CFLAGS="${CFLAGS:-%optflags}" \
               CXXFLAGS="${CXXFLAGS:-%optflags}" \
               FFLAGS="${FFLAGS:-%optflags}" %{__rebar} compile -v

%__erl         /usr/bin/erl
%erlang_app_vsn()  $(%{__erl} -noshell -eval 
'{ok,[{_,_,C}]}=file:consult("%{1}"), io:format(proplists:get_value(vsn,C)), 
halt().')
%erlang_app_name() $(%{__erl} -noshell -eval 
'{ok,[{_,N,_}]}=file:consult("%{1}"), io:format(N), halt().')

# fedora compat
%_erldir       %{erlang_dir}
%_erllibdir    %{erlang_libdir}

%__rebar_compile %{rebar_compile}

-- 
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to